6 #include "StPicoMessMgr.h"
7 #include "StPicoEvent.h"
8 #include "StPicoTrack.h"
9 #include "StPicoEmcTrigger.h"
10 #include "StPicoBTowHit.h"
11 #include "StPicoBTofHit.h"
12 #include "StPicoMtdHit.h"
13 #include "StPicoFmsHit.h"
14 #include "StPicoBEmcPidTraits.h"
15 #include "StPicoBTofPidTraits.h"
16 #include "StPicoMtdPidTraits.h"
17 #include "StPicoTrackCovMatrix.h"
18 #include "StPicoBEmcSmdEHit.h"
19 #include "StPicoBEmcSmdPHit.h"
20 #include "StPicoETofHit.h"
21 #include "StPicoETofPidTraits.h"
22 #include "StPicoMcVertex.h"
23 #include "StPicoMcTrack.h"
24 #include "StPicoDst.h"
26 TClonesArray** StPicoDst::picoArrays = 0;
35 picoArrays = thePicoArrays;
40 LOG_INFO <<
"\n=========== Event header =============\n\n";
42 LOG_INFO <<
"=====================================\n\n";
48 LOG_INFO <<
"No tracks found!" << endm;
52 LOG_INFO <<
"\n+++++++++ track list ( " <<
numberOfTracks() <<
" entries )\n\n";
54 LOG_INFO <<
"+++ track " << iTrk <<
"\n";
65 LOG_INFO <<
"No MC vertices found!" << endm;
69 LOG_INFO <<
"\n+++++++++ vertex list ( " <<
numberOfMcTracks() <<
" entries )\n\n";
71 LOG_INFO <<
"+++ vertex " << iVtx <<
"\n";
82 LOG_INFO <<
"No MC tracks found!" << endm;
86 LOG_INFO <<
"\n+++++++++ track list ( " <<
numberOfMcTracks() <<
" entries )\n\n";
88 LOG_INFO <<
"+++ track " << iTrk <<
"\n";
99 LOG_INFO <<
"=== EMC triggers ===" <<
"\n";
102 LOG_INFO <<
"No triggers found!" << endm;
108 LOG_INFO <<
"+++ trigger " << iEntry <<
"\n";
120 LOG_INFO <<
"No BTowHit found!" << endm;
124 LOG_INFO <<
"\n+++++++++ BTowHit list ( " <<
numberOfBTowHits() <<
" entries )\n\n";
126 LOG_INFO <<
"+++ btowHit " << iEntry <<
"\n";
138 LOG_INFO <<
"No BTofHit found!" << endm;
142 LOG_INFO <<
"\n+++++++++ BTof list ( " <<
numberOfBTofHits() <<
" entries )\n\n";
144 LOG_INFO <<
"+++ btofHit " << iEntry <<
"\n";
156 LOG_INFO <<
"No MtdHit found!" << endm;
160 LOG_INFO <<
"\n+++++++++ Mtd list ( " <<
numberOfMtdHits() <<
" entries )\n\n";
162 LOG_INFO <<
"+++ mtdHit " << iEntry <<
"\n";
174 LOG_INFO <<
"No FmsHit found!" << endm;
178 LOG_INFO <<
"\n+++++++++ Fms list ( " <<
numberOfFmsHits() <<
" entries )\n\n";
180 LOG_INFO <<
"+++ fmsHit " << iEntry <<
"\n";
192 LOG_INFO <<
"No BEMC pidTraits found!" << endm;
198 LOG_INFO <<
"+++ BEmcPidTraits " << iEntry <<
"\n";
210 LOG_INFO <<
"No BTof pidTraits found!" << endm;
216 LOG_INFO <<
"+++ EmcPidTraits " << iEntry <<
"\n";
228 LOG_INFO <<
"No MTD pidTraits found!" << endm;
234 LOG_INFO <<
"+++ mtdPidTraits " << iEntry <<
"\n";
246 LOG_INFO <<
"No TrackCovMatrix found!" << endm;
252 LOG_INFO <<
"+++ trackCovMatrix " << iEntry <<
"\n";
264 LOG_INFO <<
"No BEmc SmdE hits found!" << endm;
270 LOG_INFO <<
"+++ BEmcSmdEHit " << iEntry <<
"\n";
282 LOG_INFO <<
"No BEmc SmdP hits found!" << endm;
288 LOG_INFO <<
"+++ BEmcSmdPHit " << iEntry <<
"\n";
300 LOG_INFO <<
"No ETofHit found!" << endm;
304 LOG_INFO <<
"\n+++++++++ ETof list ( " <<
numberOfETofHits() <<
" entries )\n\n";
306 LOG_INFO <<
"+++ etofHit " << iEntry <<
"\n";
318 LOG_INFO <<
"No ETof pidTraits found!" << endm;
324 LOG_INFO <<
"+++ ETofPidTraits " << iEntry <<
"\n";
static void printTrackCovMatrices()
Print track covariance matrix info.
static StPicoMcTrack * mcTrack(Int_t i)
Return pointer to i-th MC track.
virtual void Print(const Char_t *option="") const
Print eTOF PID traits information.
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.
static UInt_t numberOfBTowHits()
Return number of BTow hits.
static UInt_t numberOfEmcTriggers()
Return number of Emc triggers.
virtual void Print(const Char_t *option="") const
Print MTD PID traits information.
virtual void Print(const Char_t *option="") const
Print some event information.
virtual void Print(const Char_t *option="") const
Print BEMC SmdEta hit information.
static void printMtdPidTraits()
Print MTD PID trait info.
static UInt_t numberOfMtdHits()
Return number of MTD hits.
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.
virtual void Print(const Char_t *option="") const
Print hit information.
virtual void Print(const Char_t *option="") const
Print TOF PID traits information.
static UInt_t numberOfETofPidTraits()
Return number of ETOF PID traits.
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.
virtual void Print(Char_t const *option="") const
Print option.
virtual void Print(const Char_t *option="") const
Print tower information.
static StPicoBEmcPidTraits * bemcPidTraits(Int_t i)
Return pointer to i-th emc pidTraits.
static StPicoBEmcSmdEHit * bemcSmdEHit(Int_t i)
Return pointer to i-th BEMC SMD eta hit.
static void printBTowHits()
Print BTOW hit info.
virtual void Print(const Char_t *option="") const
Print MC vertex parameters.
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.
virtual void Print(const Char_t *option="") const
Prints FMS hit information.
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.
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.
virtual void Print(const Char_t *option="") const
Print BEMC SmdPhi hit information.
static UInt_t numberOfMtdPidTraits()
Return number of MTD traits.
virtual void Print(const Char_t *option="") const
Print MC track parameters.
static StPicoTrack * track(Int_t i)
Return pointer to i-th track.
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.
static UInt_t numberOfBEmcSmdPHits()
Return number of BEMC SMD phi hits.
virtual void Print(const Char_t *option="") const
Print the stored information.
virtual void Print(const Char_t *option="") const
Print hit information.
virtual void Print(const Char_t *option="") const
Print BEMC PID traits information.
static UInt_t numberOfTrackCovMatrices()
Return number of track covariance matrices.
static void printTriggers()
Print trigger.
virtual void Print(const Char_t *option="") const
Print track parameters.
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 void printMtdHits()
Print MTD hit info.
static UInt_t numberOfBEmcPidTraits()
Return number of BEMC PID traits.
virtual void Print(const Char_t *option="") const
Print EMC trigger information.
static StPicoBTofPidTraits * btofPidTraits(Int_t i)
Return pointer to i-th btof pidTraits.
static UInt_t numberOfMcTracks()
Return number of MC tracks.