12 #include "TClonesArray.h"
15 #include "StPicoArrays.h"
44 #if defined (__TFG__VERSION__)
47 virtual Bool_t IsGoodTrigger()
const;
56 static void set(TClonesArray**);
60 static TClonesArray*
picoArray(Int_t type) {
return picoArrays[type]; }
104 static UInt_t
numberOfTracks() {
return picoArrays[StPicoArrays::Track]->GetEntriesFast(); }
110 static UInt_t
numberOfBTowHits() {
return picoArrays[StPicoArrays::BTowHit]->GetEntriesFast(); }
112 static UInt_t
numberOfBTofHits() {
return picoArrays[StPicoArrays::BTofHit]->GetEntriesFast(); }
114 static UInt_t
numberOfMtdHits() {
return picoArrays[StPicoArrays::MtdHit]->GetEntriesFast(); }
116 static UInt_t
numberOfBbcHits() {
return picoArrays[StPicoArrays::BbcHit]->GetEntriesFast(); }
118 static UInt_t
numberOfEpdHits() {
return picoArrays[StPicoArrays::EpdHit]->GetEntriesFast(); }
120 static UInt_t
numberOfFmsHits() {
return picoArrays[StPicoArrays::FmsHit]->GetEntriesFast(); }
134 static UInt_t
numberOfETofHits() {
return picoArrays[StPicoArrays::ETofHit]->GetEntriesFast(); }
140 static UInt_t
numberOfMcTracks() {
return picoArrays[StPicoArrays::McTrack]->GetEntriesFast(); }
177 #if defined (__TFG__VERSION__)
178 static StPicoDst *instance() {
return fgPicoDst;}
184 static TClonesArray** picoArrays;
186 #if defined (__TFG__VERSION__)
static void printTrackCovMatrices()
Print track covariance matrix info.
static StPicoMcTrack * mcTrack(Int_t i)
Return pointer to i-th MC track.
static StPicoMtdHit * mtdHit(Int_t i)
Return pointer to i-th mtd hit.
static StPicoETofHit * etofHit(Int_t i)
Return pointer to i-th etof hit.
static void printBEmcSmdEHits()
Print BEMC SMD eta info.
static UInt_t numberOfFmsHits()
Return number of FMS hits.
static void unset()
Reset the pointers to the TClonesArrays to 0.
Holds information about MTD-matched track.
static UInt_t numberOfBTowHits()
Return number of BTow hits.
static UInt_t numberOfEmcTriggers()
Return number of Emc triggers.
static void printMtdPidTraits()
Print MTD PID trait info.
static UInt_t numberOfMtdHits()
Return number of MTD hits.
Holds information about Monte Carlo vertex.
Holds information about BEMC tower.
static StPicoBbcHit * bbcHit(Int_t i)
Return pointer to i-th bbc hit.
static TClonesArray * picoArray(Int_t type)
Return pointer to the n-th TClonesArray.
static void printETofHits()
Print ETOF hit info.
static UInt_t numberOfBTofPidTraits()
Return number of BTof PID traits.
static StPicoBTowHit * btowHit(Int_t i)
Return pointer to i-th btow hit.
static StPicoBEmcSmdPHit * bemcSmdPHit(Int_t i)
Return pointer to i-th BEMC SMD phi hit.
static void printMcTracks()
Print MC track info.
static void printETofPidTraits()
Print ETOF PID trait info.
static void printFmsHits()
Print FMS hit info.
Class storing MTD trigger information including VPD, QT, MT101, TF201.
Holds BEMC SmdEta hit information.
static UInt_t numberOfETofPidTraits()
Return number of ETOF PID traits.
static StPicoEpdHit * epdHit(Int_t i)
Return pointer to i-th epd hit.
Holds information about FMS hit.
Holds EMC trigger information.
Hold information about eTOF-matched tracks.
static StPicoEvent * event()
Return pointer to current StPicoEvent (class holding the event wise information)
static StPicoETofPidTraits * etofPidTraits(Int_t i)
Return pointer to i-th etof pidTraits.
Holds information about track parameters.
static StPicoBEmcPidTraits * bemcPidTraits(Int_t i)
Return pointer to i-th emc pidTraits.
static UInt_t numberOfEpdHits()
Return number of EPD hits.
static StPicoBEmcSmdEHit * bemcSmdEHit(Int_t i)
Return pointer to i-th BEMC SMD eta hit.
static void printBTowHits()
Print BTOW hit info.
static UInt_t numberOfETofHits()
Return number of ETof hits.
static StPicoMtdPidTraits * mtdPidTraits(Int_t i)
Return pointer to i-th mtd pidTraits.
static UInt_t numberOfTracks()
Return number of tracks.
static void set(TClonesArray **)
Set the pointers to the TClonesArrays.
static void printBTofPidTraits()
Print BTOF PID trait info.
static StPicoTrackCovMatrix * trackCovMatrix(Int_t i)
Return pointer to i-th track covariance matrix.
static void printBEmcSmdPHits()
Print BEMC SMD phi info.
Stores BTOF hit information.
Main class that keeps TClonesArrays with main classes.
static UInt_t numberOfBbcHits()
Return number of BBC hits.
Keep information about Barrel ElectroMagnetic Calorimeter (BEMC) matched tracks.
static StPicoEmcTrigger * emcTrigger(Int_t i)
Return pointer to i-th trigger data.
static StPicoBTofHit * btofHit(Int_t i)
Return pointer to i-th btof hit.
static StPicoMtdTrigger * mtdTrigger(Int_t i)
Return pointer to i-th MTD trigger data.
static UInt_t numberOfMtdPidTraits()
Return number of MTD traits.
Holds information about Monte Carlo track parameters.
static StPicoTrack * track(Int_t i)
Return pointer to i-th track.
Holds information about the hit from MTD.
static void printBEmcPidTraits()
Print BEMC PID trait info.
static StPicoMcVertex * mcVertex(Int_t i)
Return pointer to i-th MC vertex.
static void printTracks()
Print track info.
static void printBTofHits()
Print BTOF hit info.
static UInt_t numberOfBEmcSmdEHits()
Return number of BEMC SMD eta hits.
Stores eTOF hit information.
Holds BEMC SmdPhi hit information.
static UInt_t numberOfBEmcSmdPHits()
Return number of BEMC SMD phi hits.
Stores global information about the event.
StPicoDst()
Default constructor.
static UInt_t numberOfTrackCovMatrices()
Return number of track covariance matrices.
static void printTriggers()
Print trigger.
static StPicoFmsHit * fmsHit(Int_t i)
Return pointer to i-th fms hit.
static void printMcVertices()
Print MC vertex info.
static UInt_t numberOfBTofHits()
Return number of BTof hits.
static UInt_t numberOfMcVertices()
Return number of MC vertices.
void print() const
Print information.
static UInt_t numberOfMtdTriggers()
Return number of MTD triggers.
static void printMtdHits()
Print MTD hit info.
static UInt_t numberOfBEmcPidTraits()
Return number of BEMC PID traits.
static StPicoBTofPidTraits * btofPidTraits(Int_t i)
Return pointer to i-th btof pidTraits.
static UInt_t numberOfMcTracks()
Return number of MC tracks.