This class finds the MTD hits that actually fire the trigger, and mask the correponding TPC sectors for tracking in the subsequent step. It runs on both StEvent and MuDst. More...
#include <StMtdTrackingMaskMaker.h>
Public Types | |
typedef vector< int > | IntVec |
Public Member Functions | |
StMtdTrackingMaskMaker (const Char_t *name="StMtdTrackingMaskMaker") | |
Int_t | Init () |
Int_t | InitRun (const Int_t runNumber) |
void | Clear (Option_t *option="") |
User defined functions. | |
Int_t | Make () |
void | setSaveHistos (const bool save) |
UInt_t | getTrackingMask () |
void | processTriggerData () |
void | findFriedTpcSector () |
bool | isMtdHitFiredTrigger (const StMtdHit *hit) |
bool | isMtdHitFiredTrigger (const StMuMtdHit *hit) |
bool | isQTFiredTrigger (const int qt, const int pos) |
void | determineTpcTrackingMask () |
void | findTpcSectorsForTracking (const double hit_phi, const int hit_module) |
IntVec | findWestTpcSectors (const double hit_phi) |
IntVec | findEastTpcSectors (const double hit_phi) |
virtual const char * | GetCVS () const |
This class finds the MTD hits that actually fire the trigger, and mask the correponding TPC sectors for tracking in the subsequent step. It runs on both StEvent and MuDst.
Definition at line 26 of file StMtdTrackingMaskMaker.h.
vector< int > StMtdTrackingMaskMaker::findEastTpcSectors | ( | const double | hit_phi | ) |
Given the azimuthal angle of a MTD hit, find the two spatially closest TPC sectors on the east side of STAR
Definition at line 473 of file StMtdTrackingMaskMaker.cxx.
Referenced by findTpcSectorsForTracking().
void StMtdTrackingMaskMaker::findTpcSectorsForTracking | ( | const double | hit_phi, | |
const int | hit_module | |||
) |
Find the corresponding TPC sector for a given MTD hit For hits in module 1, only tracking TPC sectors on east For hits in module 5, only tracking TPC sectors on west For hits in module 2-4, tracking TPC sectors both on east and west
Definition at line 422 of file StMtdTrackingMaskMaker.cxx.
References findEastTpcSectors(), and findWestTpcSectors().
vector< int > StMtdTrackingMaskMaker::findWestTpcSectors | ( | const double | hit_phi | ) |
Given the azimuthal angle of a MTD hit, find the two spatially closest TPC sectors on the west side of STAR
Definition at line 446 of file StMtdTrackingMaskMaker.cxx.
Referenced by findTpcSectorsForTracking().
bool StMtdTrackingMaskMaker::isMtdHitFiredTrigger | ( | const StMuMtdHit * | hit | ) |
check if a MTD hit fired the trigger. This is done by looking at whether the corresponding QT board sends out the trigger signal
Definition at line 382 of file StMtdTrackingMaskMaker.cxx.
References isQTFiredTrigger().
bool StMtdTrackingMaskMaker::isMtdHitFiredTrigger | ( | const StMtdHit * | hit | ) |
check if a MTD hit fired the trigger. This is done by looking at whether the corresponding QT board sends out the trigger signal
Definition at line 370 of file StMtdTrackingMaskMaker.cxx.
References isQTFiredTrigger().
bool StMtdTrackingMaskMaker::isQTFiredTrigger | ( | const int | qt, | |
const int | pos | |||
) |
check if the QT board sends out the trigger signal
Definition at line 394 of file StMtdTrackingMaskMaker.cxx.
Referenced by isMtdHitFiredTrigger().
Int_t StMtdTrackingMaskMaker::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 124 of file StMtdTrackingMaskMaker.cxx.
void StMtdTrackingMaskMaker::processTriggerData | ( | ) |
De-code the trigger information to determine which MTD trigger hits/patches actually fire the trigger
Definition at line 265 of file StMtdTrackingMaskMaker.cxx.