StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgSoftEtThresholdBHT.h
1 // -*- mode: c++;-*-
2 // $Id: StjTrgSoftEtThresholdBHT.h,v 1.2 2008/08/21 22:23:05 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTRGSOFTETTHRESHOLDBHT_H
5 #define STJTRGSOFTETTHRESHOLDBHT_H
6 
7 #include <StjTrgSoft.h>
8 
9 #include <StjTowerEnergyListCut.h>
10 
11 #include <vector>
12 
13 class StjBEMC;
14 
16 
17 public:
18  StjTrgSoftEtThresholdBHT(StjBEMC* bemc, double minEt);
19  virtual ~StjTrgSoftEtThresholdBHT() { }
20 
21  bool soft();
22 
23  std::vector<int> towers();
24  std::vector<int> towerDsmAdc();
25  std::vector<unsigned int> towerAdc();
26  std::vector<double> towerEnergy();
27  std::vector<double> towerEt();
28 
29 private:
30 
31  bool isNewEvent();
32  void read();
33 
34  StjBEMC* _bemc;
35  double _minEt;
36 
37  int _runNumber;
38  int _eventId;
39 
40  bool _passed;
41  std::vector<int> _towers;
42  std::vector<int> _towerDsmAdc;
43  std::vector<unsigned int> _towerAdc;
44  std::vector<double> _towerEnergy;
45  std::vector<double> _towerEt;
46 
48 
49  ClassDef(StjTrgSoftEtThresholdBHT, 1)
50 
51 };
52 
53 #endif // STJTRGSOFTETTHRESHOLDBHT_H