4 #ifndef STJTRGRAISETHRESHOLD_H
5 #define STJTRGRAISETHRESHOLD_H
14 , _runNumber(-1), _eventId(-1) { }
17 int id() {
return _src->id(); }
19 int runNumber() {
return _src->runNumber(); }
20 int eventId() {
return _src->eventId(); }
21 bool hard()
const {
return _src->hard(); }
22 virtual bool soft()
const = 0;
23 bool passed()
const {
return (_src->passed() && soft()); }
24 double prescale() {
return _src->prescale(); }
25 double vertexZ() {
return _src->vertexZ(); }
27 virtual std::vector<int> towers() {
return std::vector<int>(); }
28 virtual std::vector<int> towerDsmAdc() {
return std::vector<int>(); }
29 virtual std::vector<unsigned int> towerAdc() {
return std::vector<unsigned int>(); }
30 virtual std::vector<double> towerEnergy() {
return std::vector<double>(); }
31 virtual std::vector<double> towerEt() {
return std::vector<double>(); }
33 virtual std::vector<int> jetPatches() {
return std::vector<int>(); }
34 virtual std::vector<int> jetPatchDsmAdc() {
return std::vector<int>(); }
35 virtual std::vector<unsigned int> jetPatchAdc() {
return std::vector<unsigned int>(); }
36 virtual std::vector<double> jetPatchEnergy() {
return std::vector<double>(); }
37 virtual std::vector<double> jetPatchEt() {
return std::vector<double>(); }
44 void readIfNewEvent()
const;
48 bool isNewEvent()
const;
49 virtual void read()
const = 0;
51 void readNewEvent()
const;
53 mutable int _runNumber;
61 #endif // STJTRGRAISETHRESHOLD_H