StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
StPicoEvent Class Reference

Stores global information about the event. More...

#include <StPicoEvent.h>

Inheritance diagram for StPicoEvent:

Public Member Functions

 StPicoEvent ()
 Default constructor.
 
 StPicoEvent (const StPicoEvent &event)
 Copy constructor.
 
virtual ~StPicoEvent ()
 Destructor.
 
virtual void Print (const Char_t *option="") const
 Print some event information.
 
Int_t runId () const
 Return run ID.
 
Int_t eventId () const
 Return event ID.
 
Int_t fillId () const
 Return fill ID.
 
Float_t bField () const
 Return magnetic field.
 
Int_t time () const
 Return time stamp.
 
TVector3 primaryVertex () const
 Return primary vertex position.
 
TVector3 primaryVertexError () const
 Return primary vertex position error.
 
Float_t ranking () const
 Return primary vertex ranking.
 
UShort_t nBEMCMatch () const
 Return number of tracks that matched BEMC.
 
UShort_t nBTOFMatch () const
 Return number of tracks that matched TOF.
 
std::vector< unsigned int > triggerIds () const
 Return trigger list of the current event.
 
bool isTrigger (unsigned int) const
 
Int_t refMultPos () const
 Return RefMult estimated via positive tracks (-0.5<eta<0.5)
 
Int_t refMultNeg () const
 Return RefMult estimated via negative tracks (-0.5<eta<0.5)
 
Int_t refMultFtpcEast () const
 Return RefMult estimated via positive tracks in the east FTPC.
 
Int_t refMultFtpcWest () const
 Return RefMult estimated via positive tracks in the west FTPC.
 
Int_t refMult () const
 Return RefMult (-0.5<eta<0.5)
 
Int_t refMultFtpc () const
 Return RefMult measured in FTPC.
 
Int_t refMult2PosEast () const
 Return RefMult estimated via positive tracks (-1<eta<-0.5)
 
Int_t refMult2NegEast () const
 Return RefMult estimated via negative tracks (-1<eta<-0.5)
 
Int_t refMult2PosWest () const
 Return RefMult estimated via positive tracks (0.5<eta<1)
 
Int_t refMult2NegWest () const
 Return RefMult estimated via negative tracks (0.5<eta<1)
 
Int_t refMult3PosEast () const
 
Int_t refMult3NegEast () const
 
Int_t refMult3PosWest () const
 
Int_t refMult3NegWest () const
 
Int_t refMult4PosEast () const
 
Int_t refMult4NegEast () const
 
Int_t refMult4PosWest () const
 
Int_t refMult4NegWest () const
 
Int_t refMultHalfPosEast () const
 
Int_t refMultHalfNegEast () const
 
Int_t refMultHalfPosWest () const
 
Int_t refMultHalfNegWest () const
 
Int_t refMult2East () const
 Return RefMult2 value estimated by east TPC (-1<eta<0.5)
 
Int_t refMult2West () const
 Return RefMult2 value estimated by west TPC (0.5<eta<1)
 
Int_t refMult2 () const
 Return RefMult measured in 0.5<|RefMult|<1.
 
Int_t refMultHalfEast () const
 Return RefMult measured in the east TPC.
 
Int_t refMultHalfWest () const
 Return RefMult measured in the west TPC.
 
Int_t refMult3East () const
 
Int_t refMult3West () const
 
Int_t refMult3 () const
 
Int_t refMult4East () const
 
Int_t refMult4West () const
 
Int_t refMult4 () const
 
Int_t grefMult () const
 Return gRefMult (RefMult by global tracks in |gRefMult|<0.5)
 
UShort_t numberOfGlobalTracks () const
 Return total number of global tracks that were reconstructed in the event.
 
UShort_t btofTrayMultiplicity () const
 Return number of hits in TOF trays.
 
Int_t numberOfPxlInnerHits () const
 Return number of hits in the inner PXL detector.
 
Int_t numberOfPxlOuterHits () const
 Return number of hits in the outer PXL detector.
 
Int_t numberOfIstHits () const
 Return number of hits in the IST.
 
Int_t numberOfSsdHits () const
 Return number of hits in SSD.
 
UShort_t etofHitMultiplicity () const
 Return number of hits in ETOF modules.
 
UShort_t etofDigiMultiplicity () const
 Return number of digis in ETOF modules.
 
bool eTofGoodEventFlag (UShort_t iSector, UShort_t iModule, UShort_t iCounter, UShort_t iGet4) const
 Return goodEventFlag for a specific eTOF Get4.
 
bool eTofGoodEventFlag (UShort_t iDet) const
 Return goodEventFlag by array entry.
 
bool eTofPulserStatus (UShort_t iSector, UShort_t iModule, UShort_t iCounter) const
 Return pulser status for a specific eTOF counter (true if both pulsers present)
 
bool eTofPulserStatus (UShort_t iDet) const
 Return pulser ststus by array entry.
 
UShort_t numberOfPrimaryTracks () const
 Return number of primary tracks.
 
UShort_t fxtMult () const
 Return FXT multiplicity (corresponds to the number of primary tracks)
 
Int_t nVpdHitsEast () const
 Return number of hits in the east VPD.
 
Int_t nVpdHitsWest () const
 Return number of hits in the west VPD.
 
Int_t nTofT0 () const
 Return number of TOF tracks used for T0 calibration.
 
Float_t vzVpd () const
 Return z position of the primary vertex estimated by VPD.
 
Int_t nTofT0Can () const
 Return number of particles before T0 outlier rejection.
 
Double_t tStart () const
 Return event start time in nano seconds.
 
Double_t tCanFirst () const
 Return hit time in nano seconds for the earliest candidate particle in the T0 calculation.
 
Double_t tCanLast () const
 Return last candidate particle in T0 calculation.
 
Int_t nVpdEGoodHits () const
 Return total number of in-time VPDE hits.
 
Int_t nVpdWGoodHits () const
 Return total number of in-time VPDW hits.
 
Double_t earliestVpdEHit () const
 Return earliest VPDE hit compared to start time.
 
Double_t earliestVpdWHit () const
 Return earliest VPDW hit compared to start time.
 
Double_t closestVpdEHit () const
 Return closest VPDE hit to start time.
 
Double_t closestVpdWHit () const
 Return closest VPDW hit to start time.
 
Double_t latestVpdEHit () const
 Return furthest VPDE hit compared to start time.
 
Double_t latestVpdWHit () const
 Return furthest VPDW hit compared to start time.
 
Float_t ZDCx () const
 Return ZDC coincidence rate.
 
Float_t BBCx () const
 Return BBC coincidence rate.
 
Float_t backgroundRate () const
 Return background rate.
 
Float_t bbcBlueBackgroundRate () const
 Return "blue"-beam background rate.
 
Float_t bbcYellowBackgroundRate () const
 Return "yellow"-beam background rate.
 
Float_t bbcEastRate () const
 Return east BBC rate.
 
Float_t bbcWestRate () const
 Return west BBC rate.
 
Float_t zdcEastRate () const
 Return east ZDC rate.
 
Float_t zdcWestRate () const
 Return west ZDC rate.
 
Float_t zdcUnAttenuatedEast () const
 Return unattenuated ZDC east.
 
Float_t zdcUnAttenuatedWest () const
 Return unattenuated ZDC west.
 
Float_t ZdcSumAdcEast () const
 Return sum of east ADC from ZDC.
 
Float_t ZdcSumAdcWest () const
 Return sum of west ADC from ZDC.
 
Float_t ZdcSmdEastHorizontal (int i) const
 Return ADC of horizontal east ZDC.
 
Float_t ZdcSmdEastVertical (int i) const
 Return ADC of vertical east ZDC.
 
Float_t ZdcSmdWestHorizontal (int i) const
 Return ADC of horizontal west ZDC.
 
Float_t ZdcSmdWestVertical (int i) const
 Return ADC of vertical west ZDC.
 
UShort_t bbcAdcEast (const Int_t i) const
 Return ADC of east BBC i-th channel.
 
UShort_t bbcAdcWest (const Int_t i) const
 Return ADC of west BBC i-th channel.
 
Int_t highTowerThreshold (const Int_t i) const
 Return hith tower threshold.
 
Int_t jetPatchThreshold (const Int_t i) const
 Return jet patch threshold.
 
Int_t year () const
 Return year.
 
Int_t day () const
 Return day number.
 
Int_t bunchId () const
 Return bunch crossing number.
 
void setRunId (Int_t id)
 Set run ID.
 
void setEventId (Int_t id)
 Set event ID.
 
void setFillId (Int_t id)
 Set fill ID.
 
void setFillId (Float_t id)
 Set fill ID.
 
void setBField (Double_t bField)
 Set magnetic field.
 
void setMagneticField (Double_t bField)
 Set magnetic field.
 
void setTime (Int_t time)
 Set time stamp.
 
void setPrimaryVertexPosition (Float_t x, Float_t y, Float_t z)
 Set primary vertex position (x,y,z)
 
void setPrimaryVertexPosition (TVector3 vtxPos)
 Set primary vertex position (3-vector)
 
void setPrimaryVertexPositionError (Float_t x, Float_t y, Float_t z)
 Set primary vertex position error (ex,ey,ez)
 
void setPrimaryVertexPositionError (TVector3 vtxPosErr)
 Set primary vertex position error (3-vector)
 
void setPrimaryVertexRanking (Float_t ranking)
 Set primary vertex ranking.
 
void setNumberOfBEMCMatch (Int_t n)
 Set number of BEMC-matched tracks.
 
void setNumberOfBTOFMatch (Int_t n)
 
void setETofHitMultiplicity (UShort_t mult)
 Set total number of hits in ETOF modules.
 
void setETofDigiMultiplicity (UShort_t mult)
 Set total number of digis in ETOF modules.
 
void setETofGoodEventFlag (bool flag, UShort_t iSector, UShort_t iModule, UShort_t iCounter, UShort_t iGet4)
 Set goodEventFlag for a specific eTOF counter.
 
void setETofGoodEventFlag (std::vector< bool > flagVec)
 Full setter goodEventFlag all specific eTOF Get4. Used to copy over MuDst data.
 
void setETofHasPulsersFlag (std::vector< bool > pulserVec)
 Full setter pulserStatusFlag all specific eTOF counter. Used to copy over MuDst data.
 
void setNumberOfPrimaryTracks (UShort_t mult)
 Set number of primary tracks.
 
void setTriggerId (UInt_t id)
 Set trigger id.
 
void setTriggerIds (std::vector< unsigned int > ids)
 Set trigger id (pass STL vector with trigger IDs)
 
void setRefMultFtpcEast (UShort_t mult)
 Set east RefMult (-1<eta<0.5) estimated by FTPC.
 
void setRefMultFtpcWest (UShort_t mult)
 Set west RefMult (-1<eta<0.5) estimated by FTPC.
 
void setRefMultNeg (UShort_t mult)
 Set RefMult negative (|eta|<0.5)
 
void setRefMultPos (UShort_t mult)
 Set RefMult positive (|eta|<0.5)
 
void setRefMult2NegEast (UShort_t mult)
 Set negative RefMult2 east ( -1<eta<-0.5 )
 
void setRefMult2PosEast (UShort_t mult)
 Set positive RefMult2 east ( -1<eta<-0.5 )
 
void setRefMult2NegWest (UShort_t mult)
 Set negative RefMult2 west ( 0.5<eta<1 )
 
void setRefMult2PosWest (UShort_t mult)
 Set positive RefMult2 west ( 0.5<eta<1 )
 
void setRefMult3NegEast (UShort_t mult)
 
void setRefMult3PosEast (UShort_t mult)
 
void setRefMult3NegWest (UShort_t mult)
 
void setRefMult3PosWest (UShort_t mult)
 
void setRefMult4NegEast (UShort_t mult)
 
void setRefMult4PosEast (UShort_t mult)
 
void setRefMult4NegWest (UShort_t mult)
 
void setRefMult4PosWest (UShort_t mult)
 
void setRefMultHalfNegEast (UShort_t mult)
 TPC refMultHalf neg (eta<0)
 
void setRefMultHalfPosEast (UShort_t mult)
 TPC refMultHalf pos (eta<0)
 
void setRefMultHalfNegWest (UShort_t mult)
 TPC refMultHalf neg (eta>0)
 
void setRefMultHalfPosWest (UShort_t mult)
 TPC refMultHalf pos (eta>0)
 
void setGRefMult (UShort_t mult)
 Set RefMult estimated by global tracks.
 
void setNumberOfGlobalTracks (UShort_t mult)
 Set number of global tracks reconstructed in the event.
 
void setbTofTrayMultiplicity (UShort_t mult)
 Set total number of hits in TOF trays.
 
void setNHitsHFT (Int_t layer, UShort_t word)
 Set number of hits in i-th HFT layers (PXL, PXL, IST, SSD)
 
void setNVpdHitsEast (UShort_t nHits)
 Set number of hits in the east VPD.
 
void setNVpdHitsWest (UShort_t nHits)
 Set number of hits in the west VPD.
 
void setNTofT0 (Int_t t0)
 Set number of T0 particles in BTOF self calibration.
 
void setVzVpd (Float_t vpdVz)
 Set Vz of the primary vertex reconstructed by VPD.
 
void setNTofT0Can (Int_t t0Can)
 Set number of particles before T0 outlier rejection.
 
void setTStart (Double_t startTime)
 Set event start time.
 
void setTCanFirst (Double_t tFirst)
 Set time of earliest candidate particle in T0 calculation.
 
void setTCanLast (Double_t tLast)
 Set time of last candidate particle in T0 calculation.
 
void setNVpdEGoodHits (Int_t vpdEGoodHits)
 Set total number of in-time VPDE hits.
 
void setNVpdWGoodHits (Int_t vpdWGoodHits)
 Set total number of in-time VPDW hits.
 
void setEarliestVpdEHit (Double_t earliestVpdEHit)
 Set earliest VPDE hit compared to start time.
 
void setEarliestVpdWHit (Double_t earliestVpdWHit)
 Set earliest VPDW hit compared to start time.
 
void setClosestVpdEHit (Double_t closestVpdEHit)
 Set closest VPDE hit to start time.
 
void setClosestVpdWHit (Double_t closestVpdWHit)
 Set closest VPDW hit to start time.
 
void setLatestVpdEHit (Double_t latestVpdEHit)
 Set furthest VPDE hit compared to start time.
 
void setLatestVpdWHit (Double_t latestVpdWHit)
 Set furthest VPDW hit compared to start time.
 
void setZDCx (Float_t zdcCoinRate)
 Set ZDC coincidence rate.
 
void setBBCx (Float_t bbcCoinRate)
 Set BBC coincidence rate.
 
void setBackgroundRate (Float_t bckgRate)
 Set background rate.
 
void setBbcBlueBackgroundRate (Float_t bbcBlueBckgRate)
 Set "blue"-beam background rate.
 
void setBbcYellowBackgroundRate (Float_t bbcYellowBckgRate)
 Set "yellow"-beam background rate.
 
void setBbcEastRate (Float_t bbcEastRate)
 Set east BBC rate.
 
void setBbcWestRate (Float_t bbcWestRate)
 Set west BBC rate.
 
void setZdcEastRate (Float_t zdcEastRate)
 Set east ZDC rate.
 
void setZdcWestRate (Float_t zdcWestRate)
 Set west ZDC rate.
 
void setZdcSumAdcEast (Float_t zdcSumAdcEast)
 Set sum of east ZDC ADC.
 
void setZdcSumAdcWest (Float_t zdcSumAdcWest)
 Set sum of west ZDC ADC.
 
void setZdcSmdEastHorizontal (Int_t strip, Float_t zdcSmdEastHorizontal)
 Set ZDC for the east horizontal ZDC i-th strip.
 
void setZdcSmdEastVertical (Int_t strip, Float_t zdcSmdEastVertical)
 Set ZDC for the east vertical ZDC i-th strip.
 
void setZdcSmdWestHorizontal (Int_t strip, Float_t zdcSmdWestHorizontal)
 Set ZDC for the west horizontal ZDC i-th strip.
 
void setZdcSmdWestVertical (Int_t strip, Float_t zdcSmdWestVertical)
 Set ZDC for the west vertical ZDC i-th strip.
 
void setZdcUnAttenuated (Int_t side, Float_t adc)
 Set unattenuated ZDC signal. Side: 0 - east, 1 - west.
 
void setZdcUnAttenuatedEast (Float_t adc)
 Set unattenuated east ZDC signal.
 
void setZdcUnAttenuatedWest (Float_t adc)
 Set unattenuated west ZDC signal.
 
void setBbcAdcEast (Int_t iPMT, Float_t bbcAdcEast)
 Set i-th PMT of east BBC.
 
void setBbcAdcWest (Int_t iPMT, Float_t bbcAdcWest)
 Set i-th PMT of east BBC.
 
void setHighTowerThreshold (const Int_t i, const Int_t th)
 Set threshold for the high tower.
 
void setJetPatchThreshold (const Int_t i, const Int_t th)
 Set threshold for jet patch.
 
void setBunchId (Int_t id)
 Set bunch crossing ID.
 

Protected Attributes

Int_t mRunId
 Run number (or runId)
 
Int_t mEventId
 Event ID.
 
UShort_t mFillId
 Fill number.
 
Float_t mBField
 Magnetic field strength.
 
Int_t mTime
 
Float_t mPrimaryVertexX
 Primary vertex position X.
 
Float_t mPrimaryVertexY
 Primary vertex position Y.
 
Float_t mPrimaryVertexZ
 Primary vertex position Z.
 
Float_t mPrimaryVertexErrorX
 Primary vertex position error X.
 
Float_t mPrimaryVertexErrorY
 Primary vertex position error Y.
 
Float_t mPrimaryVertexErrorZ
 Primary vertex position error Z.
 
Float_t mRanking
 Primary vertex ranking.
 
UShort_t mNBEMCMatch
 Number of BEMC-matched tracks.
 
UShort_t mNBTOFMatch
 Number of TOF-matched tracks.
 
std::vector< unsigned int > mTriggerIds
 List of triggers that were fired in the current event.
 
UShort_t mRefMultFtpcEast
 RefMult for east TPC.
 
UShort_t mRefMultFtpcWest
 RefMult for west TPC.
 
UShort_t mRefMultNeg
 RefMult estimated via negative tracks (-0.5<eta<0.5)
 
UShort_t mRefMultPos
 RefMult estimated via positive tracks (-0.5<eta<0.5)
 
UShort_t mRefMult2NegEast
 TPC refMult2 neg (-1<eta<-0.5)
 
UShort_t mRefMult2PosEast
 TPC refMult2 pos (-1<eta<-0.5)
 
UShort_t mRefMult2NegWest
 TPC refMult2 neg (0.5<eta<1.0)
 
UShort_t mRefMult2PosWest
 TPC refMult2 pos (0.5<eta<1.0)
 
UShort_t mRefMult3NegEast
 
UShort_t mRefMult3PosEast
 
UShort_t mRefMult3NegWest
 
UShort_t mRefMult3PosWest
 
UShort_t mRefMult4NegEast
 
UShort_t mRefMult4PosEast
 
UShort_t mRefMult4NegWest
 
UShort_t mRefMult4PosWest
 
UShort_t mRefMultHalfNegEast
 TPC refMultHalf neg (eta<0)
 
UShort_t mRefMultHalfPosEast
 TPC refMultHalf pos (eta<0)
 
UShort_t mRefMultHalfNegWest
 
UShort_t mRefMultHalfPosWest
 TPC refMultHalf pos (eta>0)
 
UShort_t mGRefMult
 RefMult estimated by global tracks.
 
UShort_t mNumberOfGlobalTracks
 Total number of global tracks reconstructed in the event.
 
UShort_t mbTofTrayMultiplicity
 Total hit multiplicity in TOF trays.
 
UShort_t mNHitsHFT [4]
 Number of hits int HFT (in each of 4 layers)
 
UChar_t mNVpdHitsEast
 Number of hits in east VPD.
 
UChar_t mNVpdHitsWest
 Number of hits in west VPD.
 
UShort_t mNTofT0
 Number of T0 particles in BTOF self calibration.
 
Float_t mVzVpd
 Vz estimated via VPD.
 
UShort_t mNTofT0Can
 Number of particles before T0 outlier rejection.
 
Int_t mTStart
 Event start time in ps.
 
Int_t mTCanFirst
 Earliest candidate particle in T0 calculation.
 
Int_t mTCanLast
 Last candidate particle in T0 calculation.
 
UChar_t mNVpdEGoodHits
 Total number of in-time VPDE hits.
 
UChar_t mNVpdWGoodHits
 Total number of in-time VPDW hits.
 
Int_t mEarliestVpdEHit
 Earliest VPDE hit compared to start time.
 
Int_t mEarliestVpdWHit
 Earliest VPDW hit compared to start time.
 
Int_t mClosestVpdEHit
 Closest VPDE hit to start time.
 
Int_t mClosestVpdWHit
 Closest VPDW hit to start time.
 
Int_t mLatestVpdEHit
 Furthest VPDE hit compared to start time.
 
Int_t mLatestVpdWHit
 Furthest VPDW hit compared to start time.
 
UInt_t mZDCx
 ZDC coincidence rate.
 
UInt_t mBBCx
 BBC coincidence rate.
 
Float_t mBackgroundRate
 Background rate.
 
Float_t mBbcBlueBackgroundRate
 "Blue" beam rate measured in BBC
 
Float_t mBbcYellowBackgroundRate
 "Yellow" beam rate measured in BBC
 
Float_t mBbcEastRate
 East BBC rate.
 
Float_t mBbcWestRate
 West BBC rate.
 
Float_t mZdcEastRate
 East ZDC rate.
 
Float_t mZdcWestRate
 West ZDC rate.
 
UShort_t mZdcSumAdcEast
 Sum of ADC in east ZDC.
 
UShort_t mZdcSumAdcWest
 Sum of ADC in west ZDC.
 
UShort_t mZdcSmdEastHorizontal [8]
 ADC measured in 8 east horizontal ZDC strips.
 
UShort_t mZdcSmdEastVertical [8]
 ADC measured in 8 east vertical ZDC strips.
 
UShort_t mZdcSmdWestHorizontal [8]
 ADC measured in 8 west horizontal ZDC strips.
 
UShort_t mZdcSmdWestVertical [8]
 ADC measured in 8 west vertical ZDC strips.
 
UShort_t mBbcAdcEast [24]
 ADC measured in each of 24 tiles in east BBC.
 
UShort_t mBbcAdcWest [24]
 ADC measured in each of 24 tiles in west BBC.
 
UChar_t mHighTowerThreshold [4]
 Online HT thresholds.
 
UChar_t mJetPatchThreshold [4]
 Online JP thresholds BEMC only.
 
UChar_t mBunchCrossId
 Number of bunch crossing.
 
UShort_t mETofHitMultiplicity
 Total hit multiplicity in ETOF modules.
 
UShort_t mETofDigiMultiplicity
 Total digi multiplicity in ETOF modules.
 
bool mETofGoodEventFlag [1728]
 Flag to mark if the event is good for physics analysis for each Get4. A Get4 is considered good in each event when there are zero missmatch flags set. Get4 efficiency should be constant between good events. As additional sanity check one can request that both pulsers were present for any given event and counter. Best performance to be expected with zero status bits and both pulsers. Here: CounterNr = 9*(sector-13) + 3*(module-1) + counter. Get4Nr = 3*3*16*(sector-13)+ 3*16*(module -1) + 16*(counter -1) + Get4.
 
bool mETofHasPulsersFlag [108]
 
UShort_t mNumberOfPrimaryTracks
 Number of primary tracks.
 
UShort_t mZdcUnAttenuated [2]
 ZDC unattenuated: 0 - east, 1 - west.
 

Detailed Description

Stores global information about the event.

The StPicoEvent class keeps variables that characterize event. Most of the members are copied from StMuEvent.

Definition at line 24 of file StPicoEvent.h.

Member Function Documentation

Bool_t StPicoEvent::isTrigger ( unsigned int  id) const

Check if the trigger is in the list of triggers that were fired in the current event

Definition at line 191 of file StPicoEvent.cxx.

References mTriggerIds.

Member Data Documentation

Int_t StPicoEvent::mTime
protected

To set timestamp for St_db_Maker. This is what StMuDstMaker used to GetEvtHddr()->SetGMTime(cast into unsigned int). Peifeng Liu

Definition at line 447 of file StPicoEvent.h.

Referenced by setTime(), StPicoEvent(), and time().


The documentation for this class was generated from the following files: