Public Member Functions | |
EEmcTTMMaker (const char *self="ttmmk", class StMuDstMaker *mumaker=NULL, class StEEmcDbMaker *dbmaker=NULL) | |
virtual | ~EEmcTTMMaker () |
the destructor | |
virtual Int_t | Init () |
initialize maker | |
virtual Int_t | Make () |
process one event | |
virtual void | Clear (Option_t *option="") |
virtual Int_t | Finish () |
cleans up at the end | |
void | ResetZPositionsArray () |
clears z positions array | |
void | AddZPosition (const TString name, const double zpos) |
Int_t | GetMaxCTBSum () const |
gets maximum CTB sum allowed | |
void | SetMaxCTBSum (Int_t v) |
sets maximum CTB sum allowed | |
Int_t | GetMinTrackHits () const |
gets minimum number of hits/track required | |
void | SetMinTrackHits (Int_t v) |
sets minimum number of hits/track required | |
Double_t | GetMinTrackLength () const |
gets minimum track length required | |
void | SetMinTrackLength (Double_t v) |
sets minimum track length required | |
Double_t | GetMinTrackPt () const |
gets minimum track pT required | |
void | SetMinTrackPt (Double_t v) |
sets minimum track pT required | |
Double_t | GetMinTrackEta () const |
gets minimum pseudorapidity at the origin required | |
void | SetMinTrackEta (Double_t v) |
sets minimum pseudorapidity at the origin required | |
Double_t | GetMaxTrackEta () const |
gets minimum pseudorapidity at the origin required | |
void | SetMaxTrackEta (Double_t v) |
sets minimum pseudorapidity at the origin required | |
Double_t | GetDeltaPhiCut () const |
gets delta phi cut see Track matching parameters | |
void | SetDeltaPhiCut (Double_t v=1.0) |
sets delta phi cut see Track matching parameters | |
Double_t | GetDeltaEtaCut () const |
gets delta eta cut see Track matching parameters | |
void | SetDeltaEtaCut (Double_t v=1.0) |
sets delta eta cut see Track matching parameters | |
void | SetFileName (const char *string) |
set output file name | |
void | WriteTree (const bool f) |
decide whether write out matches to a tree | |
ULong_t | GetNMatched () const |
returns number of matched tracks | |
TList * | GetTracks () |
returns a list of accepted StMuTracks objects | |
TList * | GetTowers () |
returns a list of accepted EEmcTower objects | |
TList * | GetMatchList () |
returns a list of matches (EEmcTTMatch objects) | |
ostream & | Summary (ostream &out) const |
prints matching cuts and statistics summary | |
virtual const char * | GetCVS () const |
Displayed on session exit, leave it as-is please ... | |
Static Public Attributes | |
const Int_t | kDefMaxCTBsum = 1000 |
default value for the maximum CTB sum allowed | |
const Int_t | kDefMinTrackHits = 5 |
default value for the minimum TPC hits/track allowed | |
const Double_t | kDefMinTrackLength = 20.0 |
default value for the minimum track length allowed | |
const Double_t | kDefMinTrackPt = 0.1 |
default value for the minimum track pT allowed | |
const Double_t | kDefMinTrackEta = 0.0 |
default value for the minimum track pseudorapidity at origin allowed | |
const Double_t | kDefMaxTrackEta = 2.2 |
default value for the maximum track pseudorapidity at origin allowed | |
const Double_t | kDefDeltaPhiCut = 0.7 |
default value for the maximum distance in phi from the tower center | |
const Double_t | kDefDeltaEtaCut = 0.7 |
default value for the maximum distance in eta from the tower center | |
Protected Member Functions | |
void | ResetStats () |
resets the collected statistics | |
Bool_t | AcceptTrack (const StMuTrack *track) |
whether accept the track or not | |
Bool_t | MatchTrack (const double dphi, const double deta, const double phihw, const double etahw) |
whether track matches or not |
This a MuDST based class to match TPC tracks to EEMC towers. Its main result is a list of towers with associated tracks (list of EEmcTTMatch objects)
Since cint in root/root4star does not allow to pass function pointers (that would be ideal for user defineable EEmcTTMMaker::AcceptTrack and EEmcTTMMaker::MatchTrack) we're stuck with FORTRAN++
|
the TTM constructor
|
|
whether accept the track or not default criterion of track acceptance
|
|
adds a z position to z positions array
|
|
clears maker
|
|
whether track matches or not default criterion whether a track matches a tower or not
|
|
prints matching cuts and statistics summary
|