23 #include "StL3Trigger.h"
24 #include "StTpcHitCollection.h"
25 #include "StPrimaryVertex.h"
26 #include "StL3EventSummary.h"
28 static const char rcsid[] =
"$Id: StL3Trigger.cxx,v 2.3 2001/08/02 01:27:45 ullrich Exp $";
38 StL3Trigger::~StL3Trigger()
40 delete mL3TpcHits; mL3TpcHits = 0;
41 delete mL3EventSummary; mL3EventSummary = 0;
45 StL3Trigger::l3EventSummary() {
return mL3EventSummary; }
48 StL3Trigger::l3EventSummary()
const {
return mL3EventSummary; }
51 StL3Trigger::tpcHitCollection() {
return mL3TpcHits; }
54 StL3Trigger::tpcHitCollection()
const {
return mL3TpcHits; }
56 StSPtrVecTrackDetectorInfo&
57 StL3Trigger::trackDetectorInfo() {
return mL3TrackDetectorInfo; }
59 const StSPtrVecTrackDetectorInfo&
60 StL3Trigger::trackDetectorInfo()
const {
return mL3TrackDetectorInfo; }
63 StL3Trigger::trackNodes() {
return mL3TrackNodes; }
65 const StSPtrVecTrackNode&
66 StL3Trigger::trackNodes()
const {
return mL3TrackNodes; }
69 StL3Trigger::numberOfPrimaryVertices()
const {
return mL3PrimaryVertices.size(); }
72 StL3Trigger::primaryVertex(
unsigned int i)
74 if (i < mL3PrimaryVertices.size())
75 return mL3PrimaryVertices[i];
81 StL3Trigger::primaryVertex(
unsigned int i)
const
83 if (i < mL3PrimaryVertices.size())
84 return mL3PrimaryVertices[i];
92 if (mL3TpcHits)
delete mL3TpcHits;
100 if (mL3EventSummary)
delete mL3EventSummary;
101 mL3EventSummary = evsum;
109 mL3PrimaryVertices.push_back(vertex);