StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcPointTreeMaker.h
1 #ifndef __StEEmcPointTreeMaker_h__
2 #define __StEEmcPointTreeMaker_h__
3 
4 #include "StEEmcPointMaker.h"
5 #include <TTree.h>
6 #include "StEEmcMixEvent.h"
7 #include <TString.h>
8 #include <TFile.h>
9 
11 
12  public:
13 
14  StEEmcPointTreeMaker( const Char_t *name );
15  ~StEEmcPointTreeMaker(){ /* nada */ };
16 
17  Int_t Init();
18  Int_t Make();
19 
20  void Clear(Option_t *opts="");
21 
22  void setFilename( const Char_t *f="out.root" ){ mFilename=f; }
23 
24  Int_t Finish();
25 
26  private:
27  protected:
28 
29  TTree *mTree;
30  StEEmcMixEvent *mMixEvent;
31 
32  TString mFilename;
33  TFile *mFile;
34 
35  ClassDef(StEEmcPointTreeMaker,1);
36 
37 };
38 
39 #endif
Int_t Init()
Initialize.
Int_t Make()
Build points for this event.
Class for building points from smd clusters.
copied from muDst
void Clear(Option_t *opts="")
Clear old points.