#include "hrichpaircreator.h"

HRichPairCreator


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

class HRichPairCreator : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HRichPairCreator
<-
HRichPairCreatorSim

    protected:
void initCuts() void initHistos() public:
HRichPairCreator() HRichPairCreator(Text_t* name, Text_t* title, Char_t*) ~HRichPairCreator() static TClass* Class() HDiHitMatch* createHitDiMatch(HHitMatch*, HHitMatch*) virtual Int_t execute() Int_t fillHistosFromPairs() Int_t fillHistosFromTracklets(TObjArray*) Int_t fillHistosRingProperties(TObjArray*, Char_t*) Int_t fillInvMass(HDiHitMatch*, Int_t*, Int_t) Int_t fillOpangKICK(HDiHitMatch*, Int_t*, Int_t, const char*) Int_t fillOpangMDC(HDiHitMatch*, Int_t*, Int_t, const char*) Int_t fillOpangMETA(HDiHitMatch*, Int_t*, Int_t) Int_t fillPt_vs_Pt(HDiHitMatch*, Int_t*, Int_t) Int_t fillPt_vs_Ptot(HDiHitMatch*, Int_t*, Int_t) Int_t fillPtot_vs_Ptot(HDiHitMatch*, Int_t*, Int_t) Int_t fillRingAmplitude(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingAmplitudeTheta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingAmplitudeThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillRingHT(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingHTTheta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingHTThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillRingLocMax4(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingLocMax4Theta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingLocMax4ThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillRingPadNr(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingPadNrTheta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingPadNrThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillRingPM(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingPMTheta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingPMThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillRingRadius(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingRadiusTheta(HDiHitMatch*, Int_t*, Int_t, Char_t*) Int_t fillRingRadiusThetaSec(HDiHitMatch*, Int_t*, Int_t, Char_t*, Char_t*, Int_t, Int_t) Int_t fillTof(HDiHitMatch*, Int_t*, Int_t*, Int_t) virtual Bool_t finalize() HCategory* getHitDiMatchCat() HCategory* getHitMatchCat() virtual Bool_t init() virtual TClass* IsA() const Int_t makePairs(TObjArray*) TObjArray* selectTracklets() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t nCounterProcessedNbEvents HCategory* pHitMatchCat ! HIterator* pIterMatchHit ! HCategory* pHitDiMatchCat ! HIterator* pIterDiMatchHit ! TObjArray* pHistArray ! char* pFileName ! TFile* pFileOut ! Float_t nRichPolarLow ! Float_t nRichPolarHigh !

Class Description


HRichPairCreator(Text_t *name,Text_t *title, char* filename) : HReconstructor(name,title)

HRichPairCreator()

~HRichPairCreator(void)

Bool_t init()

void initCuts()
 local cuts ?!

void initHistos()
 get "standard" histograms from Rich Histogram Factory

Bool_t finalize()

Int_t execute()
      if (nCounterProcessedNbEvents != 0 &&
   	nCounterProcessedNbEvents%5000==0) HRichUtilFunc::saveHistos(pFileOut,pHistArray);
cout<<"begin evt"<<endl;
 select tracklets and store them in a obj array

HDiHitMatch* createHitDiMatch(HHitMatch *h1, HHitMatch *h2)
create a new HHitMatch object, input sector

TObjArray* selectTracklets()
 tracklets should not be selected here,
 but filtered via a dedicated filter task prior to this task

Int_t fillHistosFromTracklets(TObjArray* t)

Int_t makePairs(TObjArray* t)

Int_t fillHistosFromPairs()

Int_t fillHistosRingProperties(TObjArray* arr,Char_t* c1)
 use pairs selected into array to fill histograms
 c1 is a string characterising the content of the pair array
 it is passed to the name of the filled histograms

Int_t fillRingPadNr(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingPadNrTheta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingPadNrThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillRingAmplitude(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingAmplitudeTheta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingAmplitudeThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillRingRadius(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingRadiusTheta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingRadiusThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillRingLocMax4(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingLocMax4Theta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingLocMax4ThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillRingPM(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingPMTheta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingPMThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillRingHT(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingHTTheta(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title)

Int_t fillRingHTThetaSec(HDiHitMatch *h,Int_t *tup,Int_t max,Char_t* title,Char_t *title2,Int_t sec1, Int_t sec2)

Int_t fillOpangMDC(HDiHitMatch *h,Int_t *tup,Int_t max,const char *title)
 cuts on pairs

Int_t fillOpangKICK(HDiHitMatch *h,Int_t *tup,Int_t max,const char *title)
 cuts on pairs

Int_t fillOpangMETA(HDiHitMatch *h,Int_t *tup,Int_t max)
 cuts on pairs

Int_t fillInvMass(HDiHitMatch *h,Int_t *tup,Int_t max)
 this function retrieves the invariant mass from a pair
 and books it in a standard histogram from the histogram factory

Int_t fillTof(HDiHitMatch *h,Int_t *tup1, Int_t *tup2,Int_t max)
 this function retrieves the time of flight from the two
 tracks  forming a pair
 and books it in a standard histogram from the histogram factory

Int_t fillPt_vs_Pt(HDiHitMatch *h,Int_t *tup,Int_t max)
 this function retrieves the transverse momenta from a pair
 and books it in a standard histogram from the histogram factory

Int_t fillPt_vs_Ptot(HDiHitMatch *h,Int_t *tup,Int_t max)
 this function retrieves the transverse momenta from a pair
 and books it in a standard histogram from the histogram factory

Int_t fillPtot_vs_Ptot(HDiHitMatch *h,Int_t *tup,Int_t max)
 this function retrieves the transverse momenta from a pair
 and books it in a standard histogram from the histogram factory



Inline Functions


         HCategory* getHitMatchCat()
         HCategory* getHitDiMatchCat()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 12:29:00 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.