9 #ifndef TOWER_TO_JET_INDEX_H
10 #define TOWER_TO_JET_INDEX_H
12 #ifndef StEnumerations_hh
13 #define StEnumerations_hh
15 #define kUnknownIdentifier 0
16 #define kTpcIdentifier 1
17 #define kBarrelEmcTowerIdentifier 9
18 #define kEndcapEmcTowerIdentifier 13
21 kUnknownId = kUnknownIdentifier,
22 kTpcId = kTpcIdentifier,
23 kBarrelEmcTowerId = kBarrelEmcTowerIdentifier,
24 kEndcapEmcTowerId = kEndcapEmcTowerIdentifier,
27 #endif // StEnumerations_hh
29 #include "TLorentzVector.h"
36 , mDetectorId(kUnknownId)
44 int jetIndex ()
const {
return mJetIndex ; }
45 int towerId ()
const {
return mTowerId ; }
46 int detectorId()
const {
return mDetectorId; }
47 int adc ()
const {
return mAdc ; }
48 float pedestal ()
const {
return mPedestal ; }
49 float rms ()
const {
return mRms ; }
50 int status ()
const {
return mStatus ; }
52 void setJetIndex (
int jetIndex ) { mJetIndex = jetIndex ; }
53 void setTowerId (
int towerId ) { mTowerId = towerId ; }
54 void setDetectorId(
int detectorId) { mDetectorId = detectorId; }
55 void setAdc (
int adc ) { mAdc = adc ; }
56 void setPedestal (
float pedestal) { mPedestal = pedestal ; }
57 void setRms (
float rms ) { mRms = rms ; }
58 void setStatus (
int status ) { mStatus = status ; }
72 #endif // TOWER_TO_JET_INDEX_H