3 #ifndef STAR_EEmcTTMMaker
4 #define STAR_EEmcTTMMaker
15 #if !defined(ST_NO_NAMESPACES)
74 virtual void Clear(Option_t *option =
"");
83 void AddZPosition(
const TString name,
const double zpos) { mZ[zpos]=name; }
130 void SetFileName(
const char *
string) { mFileName=TString(
string); mTreeOut=
true; }
147 ostream&
Summary ( ostream &out )
const ;
155 Bool_t
MatchTrack (
const double dphi,
const double deta,
const double phihw,
const double etahw);
160 Int_t mMinTrackHits ;
161 Double_t mMinTrackLength ;
162 Double_t mMinTrackPt ;
163 Double_t mMinTrackEta ;
164 Double_t mMaxTrackEta ;
189 map<double,TString> mZ;
210 static const char cvs[]=
211 "Tag $Name: $ $Id: EEmcTTMMaker.h,v 1.20 2014/08/06 11:43:02 jeromel Exp $ built " __DATE__
" " __TIME__ ;
219 ostream& operator<<(ostream &out,
const EEmcTTMMaker &ttm);
void ResetZPositionsArray()
clears z positions array
TList * GetTowers()
returns a list of accepted EEmcTower objects
void SetDeltaEtaCut(Double_t v=1.0)
sets delta eta cut see matchparams
void SetMinTrackPt(Double_t v)
sets minimum track pT required
static const Double_t kDefDeltaPhiCut
default value for the maximum distance in phi from the tower center
Double_t GetDeltaPhiCut() const
gets delta phi cut see matchparams
void SetMinTrackEta(Double_t v)
sets minimum pseudorapidity at the origin required
static const Double_t kDefMinTrackPt
default value for the minimum track pT allowed
Double_t GetMinTrackPt() const
gets minimum track pT required
Double_t GetMinTrackLength() const
gets minimum track length required
EEmcTTMMaker(const char *self="ttmmk", class StMuDstMaker *mumaker=NULL)
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
ostream & Summary(ostream &out) const
prints matching cuts and statistics summary
void ResetStats()
resets the collected statistics
void AddZPosition(const TString name, const double zpos)
TList * GetMatchList()
returns a list of matches (EEmcTTMatch objects)
virtual void Clear(Option_t *option="")
static const Double_t kDefMaxTrackEta
default value for the maximum track pseudorapidity at origin allowed
void SetMaxTrackEta(Double_t v)
sets minimum pseudorapidity at the origin required
void SetMinTrackLength(Double_t v)
sets minimum track length required
virtual Int_t Make()
process one event
void SetDeltaPhiCut(Double_t v=1.0)
sets delta phi cut see matchparams
Double_t GetMaxTrackEta() const
gets minimum pseudorapidity at the origin required
void SetMaxCTBSum(Int_t v)
sets maximum CTB sum allowed
Bool_t AcceptTrack(const StMuTrack *track)
whether accept the track or not
virtual ~EEmcTTMMaker()
the destructor
Double_t GetMinTrackEta() const
gets minimum pseudorapidity at the origin required
Bool_t MatchTrack(const double dphi, const double deta, const double phihw, const double etahw)
whether track matches or not
Double_t GetDeltaEtaCut() const
gets delta eta cut see matchparams
Int_t GetMinTrackHits() const
gets minimum number of hits/track required
void WriteTree(const bool f)
decide whether write out matches to a tree
static const Int_t kDefMaxCTBsum
default value for the maximum CTB sum allowed
ULong_t GetNMatched() const
returns number of matched tracks
void SetMinTrackHits(Int_t v)
sets minimum number of hits/track required
void SetFileName(const char *string)
set output file name
Int_t GetMaxCTBSum() const
gets maximum CTB sum allowed
static const Double_t kDefDeltaEtaCut
default value for the maximum distance in eta from the tower center
static const Double_t kDefMinTrackEta
default value for the minimum track pseudorapidity at origin allowed
Collection of trigger ids as stored in MuDst.
EEmcTower holds information about an EEMC tower 'hit'.
virtual Int_t Finish()
cleans up at the end
TList * GetTracks()
returns a list of accepted StMuTracks objects
virtual Int_t Init()
initialize maker
static const Double_t kDefMinTrackLength
default value for the minimum track length allowed
static const Int_t kDefMinTrackHits
default value for the minimum TPC hits/track allowed