StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgDisableTowerHT.h
1 // -*- mode: c++;-*-
2 // $Id: StjTrgDisableTowerHT.h,v 1.2 2009/04/28 02:37:32 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTRGDISABLETOWERHT_H
5 #define STJTRGDISABLETOWERHT_H
6 
7 #include "StjTrgDisableTower.h"
8 
10 
11 public:
12  StjTrgDisableTowerHT(StjTrg* src, int badTowerId)
13  : StjTrgDisableTower(src, badTowerId) { }
14  StjTrgDisableTowerHT(StjTrg* src, int nbadTowerIds, int* badTowerIds)
15  : StjTrgDisableTower(src, nbadTowerIds, badTowerIds) { }
16  virtual ~StjTrgDisableTowerHT() { }
17 
18  bool soft() const;
19 
20  std::vector<int> towers();
21  std::vector<int> towerDsmAdc();
22  std::vector<unsigned int> towerAdc();
23  std::vector<double> towerEnergy();
24  std::vector<double> towerEt();
25 
26 private:
27 
28  void read() const;
29 
30  mutable bool _passed;
31  mutable std::vector<int> _towers;
32  mutable std::vector<int> _towerDsmAdc;
33  mutable std::vector<unsigned int> _towerAdc;
34  mutable std::vector<double> _towerEnergy;
35  mutable std::vector<double> _towerEt;
36 
37  ClassDef(StjTrgDisableTowerHT, 1)
38 
39 };
40 
41 #endif // STJTRGDISABLETOWERHT_H
Definition: StjTrg.h:11