StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgTree.h
1 // -*- mode: c++;-*-
2 // $Id: StjTrgTree.h,v 1.6 2008/09/21 19:11:47 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTRGTREE_H
5 #define STJTRGTREE_H
6 
7 #include "StjTrg.h"
8 
9 class StjTrgReader;
10 
11 class StjTrgTree : public StjTrg {
12 
13 public:
14  StjTrgTree(StjTrgReader* reader)
15  : _reader(reader) { }
16  virtual ~StjTrgTree() { }
17 
18  int id();
19 
20  int runNumber();
21  int eventId();
22  bool hard() const;
23  bool soft() const;
24  bool passed() const;
25  double prescale();
26  double vertexZ();
27  std::vector<int> towers();
28  std::vector<int> towerDsmAdc();
29  std::vector<unsigned int> towerAdc();
30  std::vector<double> towerEnergy();
31  std::vector<double> towerEt();
32 
33  std::vector<int> jetPatches();
34  std::vector<int> jetPatchDsmAdc();
35  std::vector<unsigned int> jetPatchAdc();
36  std::vector<double> jetPatchEnergy();
37  std::vector<double> jetPatchEt();
38 
39 private:
40 
41  StjTrgReader* _reader;
42 
43  ClassDef(StjTrgTree, 1)
44 
45 };
46 
47 #endif // STJTRGTREE_H
Definition: StjTrg.h:11