StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgMock.hh
1 // -*- mode: c++;-*-
2 // $Id: StjTrgMock.hh,v 1.4 2008/11/03 23:07:18 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTRGMOCK_H
5 #define STJTRGMOCK_H
6 
7 #include "StjTrg.h"
8 
9 class StjTrgMock : public StjTrg {
10 
11 public:
12  StjTrgMock() { }
13  virtual ~StjTrgMock() { }
14 
15  int id() { return _id; }
16 
17  int runNumber() { return _runNumber; }
18  int eventId() { return _eventId; }
19  bool hard() const { return _hard; }
20  bool soft() const { return _soft; }
21  bool passed() const { return _passed; }
22  double prescale() { return _prescale; }
23  double vertexZ() { return _vertexZ; }
24 
25  std::vector<int> towers() { return _towers; }
26  std::vector<int> towerDsmAdc() { return _towerDsmAdc; }
27  std::vector<unsigned int> towerAdc() { return _towerAdc; }
28  std::vector<double> towerEnergy() { return _towerEnergy; }
29  std::vector<double> towerEt() { return _towerEt; }
30 
31 
32  std::vector<int> jetPatches() { return _jetPatches; }
33  std::vector<int> jetPatchDsmAdc() { return _jetPatchDsmAdc; }
34  std::vector<unsigned int> jetPatchAdc() { return _jetPatchAdc; }
35  std::vector<double> jetPatchEnergy() { return _jetPatchEnergy; }
36  std::vector<double> jetPatchEt() { return _jetPatchEt; }
37 
38  int _id;
39 
40  int _runNumber;
41  int _eventId;
42  bool _hard;
43  bool _soft;
44  bool _passed;
45  double _prescale;
46  double _vertexZ;
47 
48  std::vector<int> _towers;
49  std::vector<int> _towerDsmAdc;
50  std::vector<unsigned int> _towerAdc;
51  std::vector<double> _towerEnergy;
52  std::vector<double> _towerEt;
53 
54  std::vector<int> _jetPatches;
55  std::vector<int> _jetPatchDsmAdc;
56  std::vector<unsigned int> _jetPatchAdc;
57  std::vector<double> _jetPatchEnergy;
58  std::vector<double> _jetPatchEt;
59 
60 private:
61 
62  ClassDef(StjTrgMock, 1)
63 
64 };
65 
66 #endif // STJTRGMOCK_H
Definition: StjTrg.h:11