#include "hgeantkineana.h"

HGeantKineAna


class description - source file - inheritance tree (.pdf)

class HGeantKineAna : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HGeantKineAna

    public:
HGeantKineAna() HGeantKineAna(Text_t* name, Text_t* title) HGeantKineAna(Text_t* name, Text_t* title, char* filename, char* evtgen) ~HGeantKineAna() Float_t calcOpeningAngleT(Float_t, Float_t, Float_t, Float_t) Float_t calcOpeningAngleV(HGeantKine*, HGeantKine*) void calcParticleAnglesT(HGeantKine*, Float_t&, Float_t&) void calcParticleAnglesV(HGeantKine*, Float_t&, Float_t&) void checkAcceptedDalitzLeptons(TObjArray&) Int_t checkForPair(TObjArray&, char*) Int_t checkRingCorrelation(HRichHitSim*, TObjArray&) HRichHitSim* checkRings(HGeantKine*) Int_t checkTrackPairs(TObjArray&, TObjArray&) static TClass* Class() void dumpKine(HGeantKine*) virtual Int_t execute() Int_t fillDalitzPairs(TObjArray&, TObjArray&) virtual Bool_t finalize() Int_t findAcceptedDalitzLeptons(TObjArray&) HGeantKine* findParent(HGeantKine*) void findPionDalitzLeptons() void findPionGammaConversionLeptons() HCategory* getDiHitMatchCat() HCategory* getGeantKineCat() HCategory* getGeantMDCCat() HCategory* getGeantMirrCat() HCategory* getHitMatchCat() Int_t getPairsForTracks(TObjArray&, TObjArray&) TObjArray* getPionGammaConversionLeptons() HCategory* getRichHitCat() Int_t getTracksForRings(TObjArray&, TObjArray&) void histoGammas(HGeantKine*, HGeantKine*) void histoKine(HGeantKine*) void histoLepton(HGeantKine*, TH2D*) void histoLeptonPair(TObjArray&, TH2D*) void iniControlHistos() void iniCounters() void iniSwitches() virtual Bool_t init() virtual TClass* IsA() const Int_t matchFoundPairwithGEANT(TObjArray&, TObjArray&) Int_t matchFoundTrackswithGEANT(TObjArray&, TObjArray&) Int_t matchGEANTwithFoundPair(TObjArray&, TObjArray&) Int_t matchGEANTwithFoundTracks(TObjArray&, TObjArray&) Bool_t reconPionFromGammaConversionLeptons(TObjArray*) void saveHistos() void setDiHitMatchCat(HCategory* cat) void setGeantKineCat(HCategory* cat) void setGeantMDCCat(HCategory* cat) void setGeantMirrCat(HCategory* cat) void setGeoPar(HParSet* p) void setHitMatchCat(HCategory* cat) void showGammasFromPi0Decays() void showLeptonsFromPi0Decays(char*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HCategory* fGeantKineCat ! HIterator* iter_kine ! HCategory* fGeantRichMirrorCat ! HIterator* iter_mirror ! HCategory* fGeantMdcCat ! HIterator* iter_mdcgeant ! HCategory* fRichPID ! HIterator* fRichIter ! HCategory* pHitMatchCat ! HIterator* pIterMatchHit ! HCategory* pDiHitMatchCat ! HIterator* pIterDiHitMatch ! HParSet* pGeoPar ! TFile* pFileOut ! TObjArray* pHistArray ! TH2D* pHistElePosMomConv ! TH1F* pHistOpenAngle ! TH2D* pHistConvEleMom ! TH2D* pHistConvPosMom ! TH2D* pHistConvGammaMom ! TH1F* pHistConvPairSource ! TH3D* pHistElePosMomThetaConv ! TH3D* pHistConvPairVertex ! TH1F* g_conv_opangle ! TH2F* deltaP_opangle ! TH1D* med_conv ! TH1D* mech_conv ! TH1D* par_conv ! TH2D* par_med_conv ! TH2D* par_mech_conv ! TH2D* mech_mom_conv ! TH1D* med_dalitz ! TH1D* mech_dalitz ! TH1D* par_dalitz ! TH2D* par_med_dalitz ! TH2D* par_mech_dalitz ! TH2D* mech_mom_dalitz ! TH1D* hidkine ! TH1D* hmedkine ! TH1D* hmechkine ! TH1D* hmomkine ! TH2D* hmomthetakine ! TH2D* hmompairkine ! TH2D* hthetapairkine ! TH1D* hparentkine ! TH3D* hvertexkine ! TH1D* hcntdistx ! TH1D* hcntdisty ! TH2D* hcntdistxy ! TH1D* hweight ! TH2D* hweightdist ! TH1D* hpi0invmass ! TH1D* hdalitzopang ! TH1D* hdalitzinvmass ! TH2D* hgammathetatheta ! TH2D* hgammamommom ! TH2D* hgammamom1theta2 ! TH2D* hgammamomtheta ! TH2D* hmomthetaallsingle ! TH2D* hmomthetareconsingle ! TH2D* hmomthetaallpair ! TH2D* hmomthetareconpair ! TH2D* hpolpol ! TH2D* hpoldiffinvmass ! TH2D* hmomdiffpoldiff ! TEventList* el ! Int_t nEvtsProcessed ! Int_t nbRings ! Int_t nbLeptons ! Int_t nbDalitzPairs ! Int_t nbDalitzSingle ! Int_t nbTracks ! Int_t nbTrackPairs ! Int_t nbgMatchedPairs ! confirmed reconstr pairs Int_t nbgMatchedTracks ! Int_t nbgMatchedGPairs ! GEANT pairs reconstructed Int_t nbgMatchedGTracks ! Bool_t kDumpIt char* pFileName ! char* pEvtGen !

Class Description

 HGeantKineAna

 this class analyses HGeantKine
 and fills histograms


HGeantKineAna(Text_t *name,Text_t *title) : HReconstructor(name,title)

HGeantKineAna(Text_t *name,Text_t *title, char* filename, char* evtgen) : HReconstructor(name,title)

HGeantKineAna()

~HGeantKineAna(void)

Bool_t init()

void iniSwitches()

void iniCounters()
nCounterProcessedNbEvents=0;

void iniControlHistos()

Bool_t reconPionFromGammaConversionLeptons(TObjArray* t)

TObjArray* getPionGammaConversionLeptons()

void findPionDalitzLeptons()

void findPionGammaConversionLeptons()

Int_t execute()
     cout<<" **** Event number "<<nEvtsProcessed<<" -----------------"<<endl;

HRichHitSim* checkRings(HGeantKine* kine)
 check whether the kine lepton was seen as a ring
 or at least as part of it.

void showGammasFromPi0Decays()

void histoGammas(HGeantKine* gamma1,HGeantKine* gamma2)

void showLeptonsFromPi0Decays(char *swt)

Int_t findAcceptedDalitzLeptons(TObjArray& dalitzleps)
 this function fills Dalitz leptons from HGEantKine in dalitzleps

void histoLepton(HGeantKine* lep,TH2D* h)

void histoLeptonPair(TObjArray& p,TH2D* h)

void checkAcceptedDalitzLeptons(TObjArray& dalitzleps)
 !!! TObjArrays are auto-expanding !!!

Int_t matchGEANTwithFoundTracks(TObjArray& Gl,TObjArray& Rt)
 Gl: GEANT leptons
 Rt: reconstructed tracks

Int_t matchFoundTrackswithGEANT(TObjArray& Gl,TObjArray& Rt)
 Gl: GEANT leptons
 Rt: reconstructed tracks

Int_t matchGEANTwithFoundPair(TObjArray& Gp,TObjArray& Rp)
 Gp: GEANT pairs
 Rp: reconstructed pairs

Int_t matchFoundPairwithGEANT(TObjArray& Gp,TObjArray& Rp)
 Gp: GEANT pairs
 Rp: reconstructed pairs

Int_t getPairsForTracks(TObjArray& tracks,TObjArray& pairs)

Int_t getTracksForRings(TObjArray& rings,TObjArray& tracks)

Int_t fillDalitzPairs(TObjArray& dalitzleps,TObjArray& dalitzpairs)

Int_t checkTrackPairs(TObjArray &t, TObjArray &p)

Int_t checkRingCorrelation(HRichHitSim* r,TObjArray& tracks)

Int_t checkForPair(TObjArray& l,char *swt)

void calcParticleAnglesV(HGeantKine *kine,Float_t &theta, Float_t &phi)
 input kine object with momentum vector
 output theta and phi of trajectory

Float_t calcOpeningAngleV(HGeantKine *kine1,HGeantKine *kine2)
input 2 kine objects
output opening angle of trajectories

void calcParticleAnglesT(HGeantKine *kine,Float_t &fpt, Float_t &fpp)
input kine object
output theta and phi of trajectory

Float_t calcOpeningAngleT(Float_t t1,Float_t p1, Float_t t2,Float_t p2)
input theta and phi of two trajectories
returns opening angle

void dumpKine(HGeantKine *kine)

void histoKine(HGeantKine *kine)

HGeantKine* findParent(HGeantKine *kine)

Bool_t finalize()
cout<<"in finalize"<<endl;
      TFile ff("largedistevtlist.root","RECREATE");
      ff.cd();
      el->Print("all");
      el->Write();
      ff.Close();

void saveHistos()



Inline Functions


         HCategory* getGeantKineCat()
               void setGeantKineCat(HCategory* cat)
         HCategory* getGeantMirrCat()
               void setGeantMirrCat(HCategory* cat)
         HCategory* getGeantMDCCat()
               void setGeantMDCCat(HCategory* cat)
         HCategory* getHitMatchCat()
               void setHitMatchCat(HCategory* cat)
         HCategory* getDiHitMatchCat()
               void setDiHitMatchCat(HCategory* cat)
               void setGeoPar(HParSet* p)
         HCategory* getRichHitCat()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 11:54:42 2007


ROOT page - Class index - Class Hierarchy - Top of the page

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.