19 #if defined (__TFG__VERSION__)
34 virtual void Print(
const Char_t *option =
"")
const;
70 #if defined (__TFG__VERSION__)
71 virtual Bool_t IsGoodTrigger();
94 Int_t refMult3PosEast()
const {
return (Int_t)mRefMult3PosEast; }
95 Int_t refMult3NegEast()
const {
return (Int_t)mRefMult3NegEast; }
96 Int_t refMult3PosWest()
const {
return (Int_t)mRefMult3PosWest; }
97 Int_t refMult3NegWest()
const {
return (Int_t)mRefMult3NegWest; }
98 Int_t refMult4PosEast()
const {
return (Int_t)mRefMult4PosEast; }
99 Int_t refMult4NegEast()
const {
return (Int_t)mRefMult4NegEast; }
100 Int_t refMult4PosWest()
const {
return (Int_t)mRefMult4PosWest; }
101 Int_t refMult4NegWest()
const {
return (Int_t)mRefMult4NegWest; }
105 Int_t refMultHalfNegWest()
const {
return (Int_t)mRefMultHalfNegWest; }
117 Int_t refMult3East()
const {
return (Int_t)(mRefMult3PosEast + mRefMult3NegEast); }
118 Int_t refMult3West()
const {
return (Int_t)(mRefMult3PosWest + mRefMult3NegWest); }
119 Int_t refMult3()
const
120 {
return (Int_t)(mRefMult3PosEast + mRefMult3NegEast + mRefMult3PosWest + mRefMult3NegWest); }
121 Int_t refMult4East()
const {
return (Int_t)(mRefMult4PosEast + mRefMult4NegEast); }
122 Int_t refMult4West()
const {
return (Int_t)(mRefMult4PosWest + mRefMult4NegWest); }
123 Int_t refMult4()
const
124 {
return (Int_t)(mRefMult4PosEast + mRefMult4NegEast + mRefMult4PosWest + mRefMult4NegWest); }
145 bool eTofGoodEventFlag( UShort_t iSector, UShort_t iModule, UShort_t iCounter , UShort_t iGet4)
const;
149 bool eTofPulserStatus( UShort_t iSector, UShort_t iModule, UShort_t iCounter )
const;
280 void setNumberOfBTOFMatch(Int_t n) {
mNBTOFMatch = (UShort_t)n; }
286 void setETofGoodEventFlag(
bool flag, UShort_t iSector, UShort_t iModule, UShort_t iCounter, UShort_t iGet4 ) {
mETofGoodEventFlag[ 3*3*16*(iSector-1) + 3*16*(iModule-1) + 16*(iCounter-1) + (iGet4-1)] = flag; }
316 void setRefMult3NegEast(UShort_t mult) { mRefMult3NegEast = (UShort_t)mult; }
317 void setRefMult3PosEast(UShort_t mult) { mRefMult3PosEast = (UShort_t)mult; }
318 void setRefMult3NegWest(UShort_t mult) { mRefMult3NegWest = (UShort_t)mult; }
319 void setRefMult3PosWest(UShort_t mult) { mRefMult3PosWest = (UShort_t)mult; }
320 void setRefMult4NegEast(UShort_t mult) { mRefMult4NegEast = (UShort_t)mult; }
321 void setRefMult4PosEast(UShort_t mult) { mRefMult4PosEast = (UShort_t)mult; }
322 void setRefMult4NegWest(UShort_t mult) { mRefMult4NegWest = (UShort_t)mult; }
323 void setRefMult4PosWest(UShort_t mult) { mRefMult4PosWest = (UShort_t)mult; }
410 {
if ( side == 0 || side == 1 ) {
mZdcUnAttenuated[side] = (UShort_t)adc; } }
431 #if defined (__TFG__VERSION__)
432 TString mProductionVersion;
462 #if defined (__TFG__VERSION__)
463 Float16_t mPrimaryVertexCorr[3];
492 UShort_t mRefMult3NegEast;
493 UShort_t mRefMult3PosEast;
494 UShort_t mRefMult3NegWest;
495 UShort_t mRefMult3PosWest;
496 UShort_t mRefMult4NegEast;
497 UShort_t mRefMult4PosEast;
498 UShort_t mRefMult4NegWest;
499 UShort_t mRefMult4PosWest;
505 UShort_t mRefMultHalfNegWest;
556 #if defined (__TFG__VERSION__)
620 bool mETofHasPulsersFlag[108];
628 #if defined (__TFG__VERSION__)
Int_t nTofT0() const
Return number of TOF tracks used for T0 calibration.
Int_t mEarliestVpdEHit
Earliest VPDE hit compared to start time.
Int_t numberOfPxlInnerHits() const
Return number of hits in the inner PXL detector.
Float_t zdcEastRate() const
Return east ZDC rate.
std::vector< unsigned int > mTriggerIds
List of triggers that were fired in the current event.
void setEventId(Int_t id)
Set event ID.
UShort_t btofTrayMultiplicity() const
Return number of hits in TOF trays.
UShort_t bbcAdcWest(const Int_t i) const
Return ADC of west BBC i-th channel.
Int_t nVpdEGoodHits() const
Return total number of in-time VPDE hits.
Float_t ranking() const
Return primary vertex ranking.
UShort_t mZdcSmdWestHorizontal[8]
ADC measured in 8 west horizontal ZDC strips.
void setBBCx(Float_t bbcCoinRate)
Set BBC coincidence rate.
void setPrimaryVertexPositionError(TVector3 vtxPosErr)
Set primary vertex position error (3-vector)
UShort_t mBbcAdcWest[24]
ADC measured in each of 24 tiles in west BBC.
UShort_t mNTofT0Can
Number of particles before T0 outlier rejection.
UShort_t numberOfGlobalTracks() const
Return total number of global tracks that were reconstructed in the event.
Int_t runId() const
Return run ID.
UShort_t bbcAdcEast(const Int_t i) const
Return ADC of east BBC i-th channel.
UShort_t mRefMultHalfNegEast
TPC refMultHalf neg (eta<0)
Int_t refMultNeg() const
Return RefMult estimated via negative tracks (-0.5<eta<0.5)
void setBbcYellowBackgroundRate(Float_t bbcYellowBckgRate)
Set "yellow"-beam background rate.
virtual void Print(const Char_t *option="") const
Print some event information.
UShort_t mETofDigiMultiplicity
Total digi multiplicity in ETOF modules.
void setZdcSmdEastVertical(Int_t strip, Float_t zdcSmdEastVertical)
Set ZDC for the east vertical ZDC i-th strip.
UShort_t nBTOFMatch() const
Return number of tracks that matched TOF.
UShort_t mZdcSmdWestVertical[8]
ADC measured in 8 west vertical ZDC strips.
Float_t mPrimaryVertexZ
Primary vertex position Z.
void setRefMult2NegWest(UShort_t mult)
Set negative RefMult2 west ( 0.5<eta<1 )
void setNumberOfPrimaryTracks(UShort_t mult)
Set number of primary tracks.
void setTriggerIds(std::vector< unsigned int > ids)
Set trigger id (pass STL vector with trigger IDs)
UShort_t mGRefMult
RefMult estimated by global tracks.
Float_t mBbcWestRate
West BBC rate.
void setRefMultPos(UShort_t mult)
Set RefMult positive (|eta|<0.5)
Int_t refMult2NegWest() const
Return RefMult estimated via negative tracks (0.5<eta<1)
Int_t eventId() const
Return event ID.
void setBackgroundRate(Float_t bckgRate)
Set background rate.
void setMagneticField(Double_t bField)
Set magnetic field.
Double_t earliestVpdEHit() const
Return earliest VPDE hit compared to start time.
void setZdcUnAttenuatedEast(Float_t adc)
Set unattenuated east ZDC signal.
Int_t mTCanLast
Last candidate particle in T0 calculation.
void setBField(Double_t bField)
Set magnetic field.
Int_t fillId() const
Return fill ID.
void setNVpdWGoodHits(Int_t vpdWGoodHits)
Set total number of in-time VPDW hits.
Float_t ZDCx() const
Return ZDC coincidence rate.
void setNumberOfGlobalTracks(UShort_t mult)
Set number of global tracks reconstructed in the event.
Int_t numberOfPxlOuterHits() const
Return number of hits in the outer PXL detector.
void setBbcWestRate(Float_t bbcWestRate)
Set west BBC rate.
Float_t bbcWestRate() const
Return west BBC rate.
UShort_t mNHitsHFT[4]
Number of hits int HFT (in each of 4 layers)
Int_t mEarliestVpdWHit
Earliest VPDW hit compared to start time.
Float_t mPrimaryVertexX
Primary vertex position X.
UChar_t mJetPatchThreshold[4]
Online JP thresholds BEMC only.
Float_t ZdcSmdEastHorizontal(int i) const
Return ADC of horizontal east ZDC.
void setClosestVpdEHit(Double_t closestVpdEHit)
Set closest VPDE hit to start time.
void setFillId(Int_t id)
Set fill ID.
Int_t nVpdHitsWest() const
Return number of hits in the west VPD.
void setRefMult2PosWest(UShort_t mult)
Set positive RefMult2 west ( 0.5<eta<1 )
bool mETofGoodEventFlag[1728]
Flag to mark if the event is good for physics analysis for each Get4. A Get4 is considered good in ea...
Float_t mRanking
Primary vertex ranking.
Double_t closestVpdWHit() const
Return closest VPDW hit to start time.
Float_t ZdcSmdWestVertical(int i) const
Return ADC of vertical west ZDC.
Int_t refMultFtpcWest() const
Return RefMult estimated via positive tracks in the west FTPC.
Float_t bbcEastRate() const
Return east BBC rate.
void setTriggerId(UInt_t id)
Set trigger id.
UShort_t mRefMult2NegWest
TPC refMult2 neg (0.5<eta<1.0)
void setZdcSumAdcEast(Float_t zdcSumAdcEast)
Set sum of east ZDC ADC.
Float_t zdcUnAttenuatedWest() const
Return unattenuated ZDC west.
Float_t bField() const
Return magnetic field.
UShort_t numberOfPrimaryTracks() const
Return number of primary tracks.
void setRefMult2NegEast(UShort_t mult)
Set negative RefMult2 east ( -1<eta<-0.5 )
Int_t year() const
Return year.
void setETofHasPulsersFlag(std::vector< bool > pulserVec)
Full setter pulserStatusFlag all specific eTOF counter. Used to copy over MuDst data.
void setZdcUnAttenuatedWest(Float_t adc)
Set unattenuated west ZDC signal.
bool isTrigger(unsigned int) const
Int_t highTowerThreshold(const Int_t i) const
Return hith tower threshold.
UShort_t mZdcSumAdcEast
Sum of ADC in east ZDC.
void setETofDigiMultiplicity(UShort_t mult)
Set total number of digis in ETOF modules.
Double_t closestVpdEHit() const
Return closest VPDE hit to start time.
UShort_t mZdcSmdEastVertical[8]
ADC measured in 8 east vertical ZDC strips.
Double_t tCanFirst() const
Return hit time in nano seconds for the earliest candidate particle in the T0 calculation.
Float_t mPrimaryVertexErrorX
Primary vertex position error X.
void setRefMultHalfNegWest(UShort_t mult)
TPC refMultHalf neg (eta>0)
void setClosestVpdWHit(Double_t closestVpdWHit)
Set closest VPDW hit to start time.
UShort_t mRefMultHalfPosEast
TPC refMultHalf pos (eta<0)
void setRefMultFtpcEast(UShort_t mult)
Set east RefMult (-1<eta<0.5) estimated by FTPC.
void setBbcAdcWest(Int_t iPMT, Float_t bbcAdcWest)
Set i-th PMT of east BBC.
Int_t mLatestVpdWHit
Furthest VPDW hit compared to start time.
Int_t mTCanFirst
Earliest candidate particle in T0 calculation.
UShort_t mRefMultFtpcEast
RefMult for east TPC.
UShort_t nBEMCMatch() const
Return number of tracks that matched BEMC.
UShort_t mBbcAdcEast[24]
ADC measured in each of 24 tiles in east BBC.
Int_t refMult2PosWest() const
Return RefMult estimated via positive tracks (0.5<eta<1)
void setFillId(Float_t id)
Set fill ID.
void setZdcSmdEastHorizontal(Int_t strip, Float_t zdcSmdEastHorizontal)
Set ZDC for the east horizontal ZDC i-th strip.
void setRefMultHalfNegEast(UShort_t mult)
TPC refMultHalf neg (eta<0)
UShort_t mZdcSumAdcWest
Sum of ADC in west ZDC.
void setTStart(Double_t startTime)
Set event start time.
void setPrimaryVertexRanking(Float_t ranking)
Set primary vertex ranking.
Float_t mPrimaryVertexErrorZ
Primary vertex position error Z.
void setNVpdEGoodHits(Int_t vpdEGoodHits)
Set total number of in-time VPDE hits.
Float_t mBField
Magnetic field strength.
void setPrimaryVertexPositionError(Float_t x, Float_t y, Float_t z)
Set primary vertex position error (ex,ey,ez)
UChar_t mNVpdHitsWest
Number of hits in west VPD.
void setRunId(Int_t id)
Set run ID.
Float_t backgroundRate() const
Return background rate.
Int_t jetPatchThreshold(const Int_t i) const
Return jet patch threshold.
TVector3 primaryVertexError() const
Return primary vertex position error.
void setNTofT0Can(Int_t t0Can)
Set number of particles before T0 outlier rejection.
UShort_t mZdcSmdEastHorizontal[8]
ADC measured in 8 east horizontal ZDC strips.
Float_t zdcUnAttenuatedEast() const
Return unattenuated ZDC east.
Int_t mRunId
Run number (or runId)
void setHighTowerThreshold(const Int_t i, const Int_t th)
Set threshold for the high tower.
void setPrimaryVertexPosition(TVector3 vtxPos)
Set primary vertex position (3-vector)
void setZdcWestRate(Float_t zdcWestRate)
Set west ZDC rate.
UShort_t mRefMultHalfPosWest
TPC refMultHalf pos (eta>0)
void setBbcAdcEast(Int_t iPMT, Float_t bbcAdcEast)
Set i-th PMT of east BBC.
Int_t refMult2() const
Return RefMult measured in 0.5<|RefMult|<1.
bool eTofGoodEventFlag(UShort_t iDet) const
Return goodEventFlag by array entry.
UInt_t mZDCx
ZDC coincidence rate.
Float_t mZdcWestRate
West ZDC rate.
void setZdcSmdWestVertical(Int_t strip, Float_t zdcSmdWestVertical)
Set ZDC for the west vertical ZDC i-th strip.
Int_t refMultFtpcEast() const
Return RefMult estimated via positive tracks in the east FTPC.
void setTime(Int_t time)
Set time stamp.
void setRefMultHalfPosWest(UShort_t mult)
TPC refMultHalf pos (eta>0)
void setRefMultNeg(UShort_t mult)
Set RefMult negative (|eta|<0.5)
Int_t refMultFtpc() const
Return RefMult measured in FTPC.
void setTCanFirst(Double_t tFirst)
Set time of earliest candidate particle in T0 calculation.
Double_t latestVpdWHit() const
Return furthest VPDW hit compared to start time.
Float_t BBCx() const
Return BBC coincidence rate.
void setNHitsHFT(Int_t layer, UShort_t word)
Set number of hits in i-th HFT layers (PXL, PXL, IST, SSD)
Int_t nTofT0Can() const
Return number of particles before T0 outlier rejection.
Int_t nVpdWGoodHits() const
Return total number of in-time VPDW hits.
Float_t mZdcEastRate
East ZDC rate.
void setNTofT0(Int_t t0)
Set number of T0 particles in BTOF self calibration.
void setRefMultHalfPosEast(UShort_t mult)
TPC refMultHalf pos (eta<0)
UChar_t mHighTowerThreshold[4]
Online HT thresholds.
void setRefMultFtpcWest(UShort_t mult)
Set west RefMult (-1<eta<0.5) estimated by FTPC.
void setBunchId(Int_t id)
Set bunch crossing ID.
void setVzVpd(Float_t vpdVz)
Set Vz of the primary vertex reconstructed by VPD.
Int_t nVpdHitsEast() const
Return number of hits in the east VPD.
virtual ~StPicoEvent()
Destructor.
Int_t refMult2East() const
Return RefMult2 value estimated by east TPC (-1<eta<0.5)
Float_t vzVpd() const
Return z position of the primary vertex estimated by VPD.
void setRefMult2PosEast(UShort_t mult)
Set positive RefMult2 east ( -1<eta<-0.5 )
Float_t mBbcYellowBackgroundRate
"Yellow" beam rate measured in BBC
Float_t ZdcSumAdcEast() const
Return sum of east ADC from ZDC.
bool eTofPulserStatus(UShort_t iDet) const
Return pulser ststus by array entry.
UShort_t mRefMultFtpcWest
RefMult for west TPC.
UShort_t mETofHitMultiplicity
Total hit multiplicity in ETOF modules.
Int_t refMult2PosEast() const
Return RefMult estimated via positive tracks (-1<eta<-0.5)
void setZdcSmdWestHorizontal(Int_t strip, Float_t zdcSmdWestHorizontal)
Set ZDC for the west horizontal ZDC i-th strip.
Float_t mPrimaryVertexErrorY
Primary vertex position error Y.
Int_t day() const
Return day number.
Double_t tCanLast() const
Return last candidate particle in T0 calculation.
void setETofGoodEventFlag(bool flag, UShort_t iSector, UShort_t iModule, UShort_t iCounter, UShort_t iGet4)
Set goodEventFlag for a specific eTOF counter.
UShort_t mRefMult2PosEast
TPC refMult2 pos (-1<eta<-0.5)
void setZdcUnAttenuated(Int_t side, Float_t adc)
Set unattenuated ZDC signal. Side: 0 - east, 1 - west.
UShort_t mNTofT0
Number of T0 particles in BTOF self calibration.
Int_t refMult() const
Return RefMult (-0.5<eta<0.5)
Int_t bunchId() const
Return bunch crossing number.
void setEarliestVpdEHit(Double_t earliestVpdEHit)
Set earliest VPDE hit compared to start time.
Int_t mClosestVpdWHit
Closest VPDW hit to start time.
Int_t mLatestVpdEHit
Furthest VPDE hit compared to start time.
void setBbcBlueBackgroundRate(Float_t bbcBlueBckgRate)
Set "blue"-beam background rate.
Double_t latestVpdEHit() const
Return furthest VPDE hit compared to start time.
Int_t mClosestVpdEHit
Closest VPDE hit to start time.
void setGRefMult(UShort_t mult)
Set RefMult estimated by global tracks.
void setEarliestVpdWHit(Double_t earliestVpdWHit)
Set earliest VPDW hit compared to start time.
void setbTofTrayMultiplicity(UShort_t mult)
Set total number of hits in TOF trays.
void setZdcSumAdcWest(Float_t zdcSumAdcWest)
Set sum of west ZDC ADC.
void setZDCx(Float_t zdcCoinRate)
Set ZDC coincidence rate.
UShort_t mNBEMCMatch
Number of BEMC-matched tracks.
UChar_t mBunchCrossId
Number of bunch crossing.
Float_t zdcWestRate() const
Return west ZDC rate.
Int_t grefMult() const
Return gRefMult (RefMult by global tracks in |gRefMult|<0.5)
Float_t ZdcSmdEastVertical(int i) const
Return ADC of vertical east ZDC.
void setNVpdHitsWest(UShort_t nHits)
Set number of hits in the west VPD.
Int_t numberOfSsdHits() const
Return number of hits in SSD.
Float_t bbcYellowBackgroundRate() const
Return "yellow"-beam background rate.
Stores global information about the event.
void setPrimaryVertexPosition(Float_t x, Float_t y, Float_t z)
Set primary vertex position (x,y,z)
void setZdcEastRate(Float_t zdcEastRate)
Set east ZDC rate.
void setLatestVpdWHit(Double_t latestVpdWHit)
Set furthest VPDW hit compared to start time.
void setNumberOfBEMCMatch(Int_t n)
Set number of BEMC-matched tracks.
Int_t numberOfIstHits() const
Return number of hits in the IST.
UShort_t mRefMult2NegEast
TPC refMult2 neg (-1<eta<-0.5)
UShort_t fxtMult() const
Return FXT multiplicity (corresponds to the number of primary tracks)
std::vector< unsigned int > triggerIds() const
Return trigger list of the current event.
UShort_t mbTofTrayMultiplicity
Total hit multiplicity in TOF trays.
UShort_t etofHitMultiplicity() const
Return number of hits in ETOF modules.
UShort_t mRefMult2PosWest
TPC refMult2 pos (0.5<eta<1.0)
Float_t bbcBlueBackgroundRate() const
Return "blue"-beam background rate.
void setETofHitMultiplicity(UShort_t mult)
Set total number of hits in ETOF modules.
void setBbcEastRate(Float_t bbcEastRate)
Set east BBC rate.
Float_t mBbcBlueBackgroundRate
"Blue" beam rate measured in BBC
Int_t refMult2West() const
Return RefMult2 value estimated by west TPC (0.5<eta<1)
Float_t mVzVpd
Vz estimated via VPD.
Int_t mTStart
Event start time in ps.
Float_t mBbcEastRate
East BBC rate.
Int_t time() const
Return time stamp.
UShort_t mRefMultNeg
RefMult estimated via negative tracks (-0.5<eta<0.5)
UChar_t mNVpdHitsEast
Number of hits in east VPD.
Int_t refMult2NegEast() const
Return RefMult estimated via negative tracks (-1<eta<-0.5)
Double_t tStart() const
Return event start time in nano seconds.
UShort_t mNBTOFMatch
Number of TOF-matched tracks.
UShort_t etofDigiMultiplicity() const
Return number of digis in ETOF modules.
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)
UShort_t mNumberOfPrimaryTracks
Number of primary tracks.
UChar_t mNVpdEGoodHits
Total number of in-time VPDE hits.
void setTCanLast(Double_t tLast)
Set time of last candidate particle in T0 calculation.
Double_t earliestVpdWHit() const
Return earliest VPDW hit compared to start time.
TVector3 primaryVertex() const
Return primary vertex position.
Float_t mPrimaryVertexY
Primary vertex position Y.
UShort_t mNumberOfGlobalTracks
Total number of global tracks reconstructed in the event.
void setNVpdHitsEast(UShort_t nHits)
Set number of hits in the east VPD.
void setJetPatchThreshold(const Int_t i, const Int_t th)
Set threshold for jet patch.
UShort_t mZdcUnAttenuated[2]
ZDC unattenuated: 0 - east, 1 - west.
UChar_t mNVpdWGoodHits
Total number of in-time VPDW hits.
bool eTofGoodEventFlag(UShort_t iSector, UShort_t iModule, UShort_t iCounter, UShort_t iGet4) const
Return goodEventFlag for a specific eTOF Get4.
Int_t refMultHalfEast() const
Return RefMult measured in the east TPC.
Float_t ZdcSumAdcWest() const
Return sum of west ADC from ZDC.
void setLatestVpdEHit(Double_t latestVpdEHit)
Set furthest VPDE hit compared to start time.
Int_t refMultHalfWest() const
Return RefMult measured in the west TPC.
UShort_t mRefMultPos
RefMult estimated via positive tracks (-0.5<eta<0.5)
Int_t refMultPos() const
Return RefMult estimated via positive tracks (-0.5<eta<0.5)
Float_t ZdcSmdWestHorizontal(int i) const
Return ADC of horizontal west ZDC.
UInt_t mBBCx
BBC coincidence rate.
StPicoEvent()
Default constructor.
Float_t mBackgroundRate
Background rate.
UShort_t mFillId
Fill number.