]>
Commit | Line | Data |
---|---|---|
e765eb10 | 1 | #ifndef ALICALOPHOTON_H |
2 | #define ALICALOPHOTON_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | /* $Id: $ */ | |
6 | ||
7 | //_________________________________________________________________________ | |
8 | // Class to fill two-photon invariant mass hisograms | |
9 | // to be used to extract pi0 raw yield. | |
10 | // | |
11 | //-- Author: Dmitri Peressounko (RRC "KI") | |
12 | // This class contains all (minimal) necessary information about photon to | |
13 | // calculate invarint mass distr for pi0 | |
14 | // and for tagging and isolation analysis | |
15 | ||
16 | ||
17 | #include "TLorentzVector.h" | |
18 | ||
19 | class AliCaloPhoton :public TLorentzVector{ | |
20 | ||
21 | public: | |
22 | ||
23 | AliCaloPhoton() ; | |
24 | AliCaloPhoton(Double_t px,Double_t py,Double_t pz,Double_t E) ; | |
25 | ~AliCaloPhoton(){} | |
26 | ||
27 | Bool_t IsDispOK(void)const {return fDisp;} | |
28 | Bool_t IsTOFOK(void)const {return fTof;} | |
29 | Bool_t IsCPVOK(void)const {return fCpv;} | |
30 | Bool_t IsIsolated(void)const{return fIsIsolated ;} | |
31 | Bool_t IsTagged(void) const{return fIsTagged ;} | |
32 | Double_t EMCx(void)const {return fZ;} | |
33 | Double_t EMCy(void)const {return fZ;} | |
34 | Double_t EMCz(void)const {return fZ;} | |
35 | Int_t Module(void)const{return fModule;} | |
36 | Bool_t IsPIDOK(const Int_t ipid) const ; | |
37 | Int_t DistToBad()const {return fBadDist ;} | |
38 | ||
39 | ||
40 | void SetDispBit(Bool_t chi2){fDisp = chi2 ;} | |
41 | void SetTOFBit(Bool_t tof){fTof = tof ;} | |
42 | void SetCPVBit(Bool_t cpv){fCpv = cpv; } | |
43 | void SetPCAPID(Bool_t pca){fPCA = pca;} | |
44 | void SetTrig(Bool_t trig){fTrig=trig;} | |
45 | void SetEMCx(Double_t x){fX = x ;} | |
46 | void SetEMCy(Double_t y){fY = y ;} | |
47 | void SetEMCz(Double_t z){fZ = z ;} | |
48 | void SetModule(Int_t mod){fModule = mod ;} | |
49 | void SetDistToBad(Int_t dist){fBadDist=dist;} | |
50 | void SetTagged(Bool_t bit){fIsTagged=bit;} | |
51 | void SetIsolated(Bool_t bit){fIsIsolated=bit;} | |
52 | ||
53 | private: | |
54 | Bool_t fDisp ; //Dispersion bit | |
55 | Bool_t fTof ; //TOF bit | |
56 | Bool_t fCpv ; //Charged bit | |
57 | Bool_t fPCA ; //Principal Component Analysis bit | |
58 | Bool_t fTrig ; //If this photon fired trigger | |
59 | Bool_t fIsTagged; //If it is tagged | |
60 | Bool_t fIsIsolated ; //it is isolated | |
61 | Double_t fX ; //Cluster coordinates in ALICE ref system | |
62 | Double_t fY ; //Cluster coordinates in ALICE ref system | |
63 | Double_t fZ ; //Cluster coordinates in ALICE ref system | |
64 | Int_t fModule ; //Module number | |
65 | Int_t fBadDist ; //Distance to bad module in module units | |
66 | ||
67 | ClassDef(AliCaloPhoton,1) | |
68 | ||
69 | }; | |
70 | ||
71 | #endif // #ifdef ALICALOPHOTON_H | |
72 | ||
73 |