4 #ifndef STJTRGDISABLETOWER_H
5 #define STJTRGDISABLETOWER_H
16 , _badTowerIdSet(&badTowerId, &badTowerId + 1)
17 , _runNumber(-1), _eventId(-1) { }
20 , _badTowerIdSet(badTowerIds, badTowerIds + nbadTowerIds)
21 , _runNumber(-1), _eventId(-1) { }
24 int id() {
return _src->id(); }
26 int runNumber() {
return _src->runNumber(); }
27 int eventId() {
return _src->eventId(); }
28 bool hard()
const {
return _src->hard(); }
29 bool soft()
const {
return _src->soft(); }
30 bool passed()
const {
return _src->passed(); }
31 double prescale() {
return _src->prescale(); }
32 double vertexZ() {
return _src->vertexZ(); }
34 virtual std::vector<int> towers() {
return std::vector<int>(); }
35 virtual std::vector<int> towerDsmAdc() {
return std::vector<int>(); }
36 virtual std::vector<unsigned int> towerAdc() {
return std::vector<unsigned int>(); }
37 virtual std::vector<double> towerEnergy() {
return std::vector<double>(); }
38 virtual std::vector<double> towerEt() {
return std::vector<double>(); }
40 virtual std::vector<int> jetPatches() {
return std::vector<int>(); }
41 virtual std::vector<int> jetPatchDsmAdc() {
return std::vector<int>(); }
42 virtual std::vector<unsigned int> jetPatchAdc() {
return std::vector<unsigned int>(); }
43 virtual std::vector<double> jetPatchEnergy() {
return std::vector<double>(); }
44 virtual std::vector<double> jetPatchEt() {
return std::vector<double>(); }
51 std::set<int> _badTowerIdSet;
53 void readIfNewEvent()
const;
57 bool isNewEvent()
const;
58 virtual void read()
const = 0;
60 void readNewEvent()
const;
62 mutable int _runNumber;
70 #endif // STJTRGDISABLETOWER_H