FlyoDoc_2011 Pisa 2011 by GmP --- 011
Public Member Functions | Public Attributes

AnaKlambda Class Reference

#include <anaklambda.h>

Inheritance diagram for AnaKlambda:
Analisi

List of all members.

Public Member Functions

 AnaKlambda ()
int Fisica ()
void print_scale ()

Public Attributes

gvet Versk
gvet vlam
double mas_lambda
double mas_protone
double mas_pim
qvet Pprot
qvet Ppim
qvet Plam
int np
float charge
float pxlam
float pylam
float pzlam
float momlam
float elam
float masqlam
float pxpim
float pypim
float pzpim
float mompim
float epim
float pxprt
float pyprt
float pzprt
float momprt
float eprt
float xlam
float ylam
float zlam
float dlam

Detailed Description

Lambda-> protone pim

Author:
gmp

Definition at line 33 of file anaklambda.h.


Constructor & Destructor Documentation

AnaKlambda::AnaKlambda ( )

Il costruttore della procedura di prova per lambda analisi

Definition at line 28 of file anaklambda.cpp.

{
    tipo=27;
    nfit=1;
    titol="Lamda->protone pim " ;
    nome="Klambda";
    mas_lambda= ptr_Lambda->Get_Massa();
    mas_pim=ptr_Pip->Get_Massa();
    mas_protone= ptr_Protone->Get_Massa();


    Gout<<"\n Attivato il fit di "<<titol;

}

Member Function Documentation

int AnaKlambda::Fisica ( ) [virtual]

Il fit per la procedura di prova per pi nu nu analisiPprot.setvn ( Trkstraw->Traccia[0].P0,mas_protone );

Reimplemented from Analisi.

Definition at line 51 of file anaklambda.cpp.

{
    count_call++;

    np=0;

    pxlam=pylam=pzlam=momlam=0.;
    pxpim=pypim=pzpim=mompim=0.;
    pxprt=pyprt=pzprt=momprt=0.;
    epim =elam= eprt=0.;


    //taglio sul vertice generato
    if ( evento_.Gen.zv < 10000  || evento_.Gen.zv > 17000 )
    {
        counter[0]++;
        return -1;
    }
                
                count_decay++;

 //***********************************************
    //   da fare 
//*************************************************
    count_wnt++;
    np=1;
    return 1;

}
void AnaKlambda::print_scale ( ) [virtual]

Stampa il summary del fit.

Reimplemented from Analisi.

Definition at line 81 of file anaklambda.cpp.

{
    Gout<<"\n -----> "<<titol<<" Analysis Summary <-------\n";
    Gout<<"\n Fit entries          "<<count_call;
                Gout<<"\n Good decays          "<<count_decay << " (in the fiducial region)";
    for ( int i=0;i<30;i++ )
    {
        if ( counter[i]>0 )  Gout<<"\n Rejection "<<setw ( 3 ) <<i<<"         "<<counter[i];

    }

    Gout<<"\n Good events          "<<count_wnt;

    Gout<<"\n\n ======>           d o n e     <============ "<<std::endl;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables