#ifndef HPIDSINGLELEPTONEFF_H
#define HPIDSINGLELEPTONEFF_H
#include "hreconstructor.h"
class HCategory;
class HIterator;
class HPairSim;
class HPidParticleSim;
class HGeantKine;
class HPairCutPar;
class HEventHeader;
class TFile;
class TNtuple;
class HPidSingleLeptonEff: public HReconstructor
{
protected:
Int_t maxNParticle;
TFile* out;
TNtuple* simYieldEle;
TNtuple* simYieldPos;
TNtuple* effEle;
TNtuple* effPos;
TNtuple* acceEle;
TNtuple* accePos;
HCategory* pPairCat;
HIterator* pitPairCat;
HCategory* pPartCat;
HIterator* pitPartCat;
HCategory* pGeantCat;
HIterator* pitGeant;
HIterator* pitGeant1;
HEventHeader* pEvtHeader;
void checkEff(HGeantKine* kine1);
void removecloseTracks(Int_t* p);
Int_t checkSingleTrack(HPidParticleSim* part, Int_t lepTrackNb, Bool_t& isHiddenLepton);
Int_t checkTrackId (HPairSim* p,
Int_t lepTrackNb,
Int_t& whichPart,
Bool_t& isHiddenLepton);
void calculateTrackProperties(HPairSim* pair,
Float_t& th,
Float_t& ph,
Float_t& p,
Int_t whichParticle);
Bool_t isGeantTrackInAcceptance(HGeantKine* pG);
Float_t calcOpeningAngleKine(HGeantKine* kine1, HGeantKine* kine2);
Float_t transformPhi(Float_t Phi);
void bookNTuple(void);
public:
HPidSingleLeptonEff(const Char_t * file);
HPidSingleLeptonEff(const Text_t name[],const Text_t title[], const Char_t *file);
HPidSingleLeptonEff(void){;};
~HPidSingleLeptonEff(void);
void setMaxNParticle(Int_t n){ maxNParticle = n;}
virtual Int_t execute (void);
virtual Bool_t reinit (void){ return kTRUE; };
virtual Bool_t init (void);
virtual Bool_t finalize(void);
ClassDef(HPidSingleLeptonEff, 0)
};
#endif /* !HPIDSINGLELEPTONEFF_H */
Last change: Sat May 22 13:07:26 2010
Last generated: 2010-05-22 13:07
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.