34 #ifndef StL3EventSummary_hh
35 #define StL3EventSummary_hh
38 #include "StContainers.h"
39 #include "StDaqLib/L3/L3_Banks.hh"
52 int numberOfProcessedEvents()
const;
53 int numberOfReconstructedEvents()
const;
54 unsigned int numberOfTracks()
const;
55 unsigned int numberOfAlgorithms()
const;
57 int unbiasedTriggerPreScale()
const;
59 bool unbiasedTrigger()
const;
60 bool zVertexTrigger()
const;
62 unsigned int l0TriggerWord()
const;
64 StPtrVecL3AlgorithmInfo& algorithmsAcceptingEvent();
65 const StPtrVecL3AlgorithmInfo& algorithmsAcceptingEvent()
const;
67 StSPtrVecL3AlgorithmInfo& algorithms();
68 const StSPtrVecL3AlgorithmInfo& algorithms()
const;
71 void setNumberOfTracks(
int);
72 void setCounters(
int,
int);
73 void setUnbiasedTrigger();
74 void setUnbiasedTriggerPreScale(
int);
75 void setZVertexTrigger();
76 void setL0TriggerWord(
unsigned int);
79 Int_t mNumberOfProcessedEvents;
80 Int_t mNumberReconstructedEvents;
81 UInt_t mNumberOfTracks;
82 UInt_t mNumberOfAlgorithms;
83 Bool_t mZVertexTrigger;
84 Bool_t mUnbiasedTrigger;
85 UInt_t mL0TriggerWord;
86 Int_t mUnbiasedPreScale;
87 StPtrVecL3AlgorithmInfo mL3AcceptAlgorithms;
88 StSPtrVecL3AlgorithmInfo mL3Algorithms;
95 StL3EventSummary::numberOfProcessedEvents()
const {
return mNumberOfProcessedEvents; }
98 StL3EventSummary::numberOfReconstructedEvents()
const {
return mNumberReconstructedEvents; }
101 StL3EventSummary::numberOfTracks()
const {
return mNumberOfTracks; }
104 StL3EventSummary::numberOfAlgorithms()
const {
return mNumberOfAlgorithms; }
107 StL3EventSummary::unbiasedTrigger()
const {
return mUnbiasedTrigger; }
110 StL3EventSummary::zVertexTrigger()
const {
return mZVertexTrigger; }
113 StL3EventSummary::l0TriggerWord()
const {
return mL0TriggerWord; }
115 inline StPtrVecL3AlgorithmInfo&
116 StL3EventSummary::algorithmsAcceptingEvent() {
return mL3AcceptAlgorithms; }
118 inline const StPtrVecL3AlgorithmInfo&
119 StL3EventSummary::algorithmsAcceptingEvent()
const {
return mL3AcceptAlgorithms; }
121 inline StSPtrVecL3AlgorithmInfo&
122 StL3EventSummary::algorithms() {
return mL3Algorithms; }
124 inline const StSPtrVecL3AlgorithmInfo&
125 StL3EventSummary::algorithms()
const {
return mL3Algorithms; }
128 StL3EventSummary::unbiasedTriggerPreScale()
const {
return mUnbiasedPreScale; }
131 StL3EventSummary::setCounters(
int nProcessed,
int nReconstructed) {
132 mNumberOfProcessedEvents = nProcessed;
133 mNumberReconstructedEvents = nReconstructed;
137 StL3EventSummary::setUnbiasedTrigger() { mUnbiasedTrigger =
true; }
140 StL3EventSummary::setZVertexTrigger() { mZVertexTrigger =
true; }
143 StL3EventSummary::setUnbiasedTriggerPreScale(
int preScale) { mUnbiasedPreScale = preScale; }
146 StL3EventSummary::setL0TriggerWord(
unsigned int triggerWord) { mL0TriggerWord = triggerWord; }