StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjeTreeWriter.h
1 // -*- mode: c++;-*-
2 // $Id: StjeTreeWriter.h,v 1.2 2010/04/24 04:15:35 pibero Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTREEWRITER_H
5 #define STJTREEWRITER_H
6 
7 #include <TObject.h>
8 
9 class StJets;
10 class StProtoJet;
11 class StFourPMaker;
12 class AbstractFourVec;
13 
14 class TTree;
15 
16 #include <list>
17 #include <vector>
18 
19 class StjeTreeWriter : public TObject {
20 
21 public:
22 
23  StjeTreeWriter() { }
24  virtual ~StjeTreeWriter() { }
25 
26  virtual void Init() { }
27  virtual void Finish() { }
28 
29  virtual void addJetFinder(StFourPMaker* fourPMaker, const std::vector<const AbstractFourVec*>* particleList, std::list<StProtoJet>* protoJetList, const char* name, StJets* stjets = 0) = 0;
30 
31  virtual void fillJetTreeHeader(int iAnalyzer) = 0;
32  virtual void fillJetTree(int iAnalyzer, int iVertex) = 0;
33  virtual TTree* jetTree() const = 0;
34 };
35 
36 #endif // STJTREEWRITER_H
37 
Definition: StJets.h:24