This class is used to check number of muon candidates in each event. It runs both on StEvent and MuDst. The events containing the required number of muon candidates, ususally two, are retained in the offline reconstruction. Otherwise, the events are discarded to save prodction time since they do not contain interested physics process. More...
#include <StMtdEvtFilterMaker.h>
Public Types | |
typedef vector< int > | IntVec |
Public Member Functions | |
StMtdEvtFilterMaker (const Char_t *name="StMtdEvtFilterMaker") | |
Int_t | Init () |
Int_t | InitRun (const Int_t runNumber) |
Int_t | Make () |
void | setSaveHistos (const bool save) |
bool | isRejectEvent () |
int | shouldHaveRejectEvent () |
bool | isMuonCandidate (StTrack *track) |
bool | isMuonCandidate (StMuTrack *track) |
void | setMinTrackPt (const double min) |
void | setMinLeadTrackPt (const double min) |
void | setMinNHitsFit (const int min) |
void | setMinNHitsDedx (const int min) |
void | setMinFitHitsFraction (const double min) |
void | setMaxDca (const double max) |
void | setMaxDeltaZ (const double max) |
void | setMinMuonCandidates (const int min) |
void | setNsigmaPiCut (const double min, const double max) |
virtual const char * | GetCVS () const |
This class is used to check number of muon candidates in each event. It runs both on StEvent and MuDst. The events containing the required number of muon candidates, ususally two, are retained in the offline reconstruction. Otherwise, the events are discarded to save prodction time since they do not contain interested physics process.
Definition at line 27 of file StMtdEvtFilterMaker.h.
bool StMtdEvtFilterMaker::isMuonCandidate | ( | StMuTrack * | track | ) |
check if the StMuTrack a muon candidate
Definition at line 441 of file StMtdEvtFilterMaker.cxx.
bool StMtdEvtFilterMaker::isMuonCandidate | ( | StTrack * | track | ) |
check if the StTrack a muon candidate
Definition at line 397 of file StMtdEvtFilterMaker.cxx.
bool StMtdEvtFilterMaker::isRejectEvent | ( | ) |
check if this event should be discarded, namely it does not contain a j/psi candidate
Definition at line 203 of file StMtdEvtFilterMaker.cxx.
Referenced by Make().
Int_t StMtdEvtFilterMaker::Make | ( | ) | [virtual] |
The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true
This is the ONLY place calling the InitRun() routine.
check privilege to skip event
Reimplemented from StMaker.
Definition at line 152 of file StMtdEvtFilterMaker.cxx.
References StMaker::AddData(), isRejectEvent(), and shouldHaveRejectEvent().
int StMtdEvtFilterMaker::shouldHaveRejectEvent | ( | ) |
check whether this event should have been discarded, had it not contain MTD triggers other than the di-muon trigger
Definition at line 214 of file StMtdEvtFilterMaker.cxx.
Referenced by Make().