StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgHTWriter.h
1 // -*- mode: c++;-*-
2 // $Id: StjTrgHTWriter.h,v 1.4 2008/09/21 19:11:40 tai Exp $
3 #ifndef STJTRGHTWRITER_H
4 #define STJTRGHTWRITER_H
5 
6 #include "StjTrgWriter.h"
7 
8 #include <Rtypes.h>
9 
10 class TDirectory;
11 class TTree;
12 
13 #include <string>
14 
15 class StjTrg;
16 
17 class StjTrgHTWriter : public StjTrgWriter {
18 
19 public:
20 
21  StjTrgHTWriter(const char *treeName, const char* treeTitle,
22  TDirectory* file, StjTrg* trg,
23  StjTrgPassCondition* fillCondition)
24  : StjTrgWriter(treeName, treeTitle, file, trg, fillCondition)
25  , _trg(trg)
26  { }
27  virtual ~StjTrgHTWriter() { }
28 
29 private:
30 
31  virtual void createBranch_trgSpecific(TTree* tree);
32  virtual void fillBranch_trgSpecific();
33 
34  Int_t _nTowers;
35  Int_t _towerId[4800];
36  Int_t _towerDsmAdc[4800];
37  UInt_t _towerAdc[4800];
38  Double_t _towerEnergy[4800];
39  Double_t _towerEt[4800];
40 
41  StjTrg* _trg;
42  ClassDef(StjTrgHTWriter, 1)
43 
44 };
45 
46 #endif // STJTRGHTWRITER_H
Definition: StjTrg.h:11