StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrgJPWriter.h
1 // -*- mode: c++;-*-
2 // $Id: StjTrgJPWriter.h,v 1.4 2008/09/21 19:11:40 tai Exp $
3 #ifndef STJTRGJPWRITER_H
4 #define STJTRGJPWRITER_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 StjTrgJPWriter : public StjTrgWriter {
18 
19 public:
20 
21  StjTrgJPWriter(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 ~StjTrgJPWriter() { }
28 
29 private:
30 
31  virtual void createBranch_trgSpecific(TTree* tree);
32  virtual void fillBranch_trgSpecific();
33 
34  Int_t _nJetPatches;
35  Int_t _jetPatchId[12];
36  Int_t _jetPatchDsmAdc[12];
37  UInt_t _jetPatchAdc[12];
38  Double_t _jetPatchEnergy[12];
39  Double_t _jetPatchEt[12];
40 
41  StjTrg* _trg;
42  ClassDef(StjTrgJPWriter, 1)
43 
44 };
45 
46 #endif // STJTRGJPWRITER_H
Definition: StjTrg.h:11