53 #include "StTriggerDetectorCollection.h"
54 #include "StTriggerData.h"
55 #include "tables/St_dst_TrgDet_Table.h"
57 static const char rcsid[] =
"$Id: StTriggerDetectorCollection.cxx,v 2.12 2007/07/11 23:06:46 perev Exp $";
63 StTriggerDetectorCollection::StTriggerDetectorCollection(
const dst_TrgDet_st& t) :
64 mCtb(t), mMwc(t), mVpd(t), mZdc(t), mBbc(t), mEmc(t), mFpd(t) {}
66 StTriggerDetectorCollection::StTriggerDetectorCollection(
const StTriggerData& t)
68 :mCtb(t), mVpd(t), mZdc(t), mBbc(t), mEmc(t), mFpd(t), mFms(t), mMtd(t) {}
70 StTriggerDetectorCollection::~StTriggerDetectorCollection() {}
73 StTriggerDetectorCollection::bbc() {
return mBbc; }
76 StTriggerDetectorCollection::bbc()
const {
return mBbc; }
79 StTriggerDetectorCollection::ctb() {
return mCtb; }
82 StTriggerDetectorCollection::ctb()
const {
return mCtb; }
85 StTriggerDetectorCollection::mwc() {
return mMwc; }
88 StTriggerDetectorCollection::mwc()
const {
return mMwc; }
91 StTriggerDetectorCollection::vpd() {
return mVpd; }
94 StTriggerDetectorCollection::vpd()
const {
return mVpd; }
97 StTriggerDetectorCollection::zdc() {
return mZdc; }
100 StTriggerDetectorCollection::zdc()
const {
return mZdc; }
103 StTriggerDetectorCollection::emc() {
return mEmc; }
106 StTriggerDetectorCollection::emc()
const {
return mEmc; }
109 StTriggerDetectorCollection::fpd() {
return mFpd; }
112 StTriggerDetectorCollection::fpd()
const {
return mFpd; }
115 StTriggerDetectorCollection::fms() {
return mFms; }
118 StTriggerDetectorCollection::fms()
const {
return mFms; }
121 StTriggerDetectorCollection::mtd() {
return mMtd; }
124 StTriggerDetectorCollection::mtd()
const {
return mMtd; }