ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TreeMod/interface/AnaFwkMod.h
Revision: 1.4
Committed: Mon Mar 9 17:07:05 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.3: +19 -9 lines
Log Message:
Begin of allevent processing. Not finished yet but it compiles.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.4 // $Id: AnaFwkMod.h,v 1.3 2008/12/10 14:20:26 loizides Exp $
3 loizides 1.1 //
4     // AnaFwkMod
5     //
6     // This module collects interesting global information, like the overall number of processed
7     // events and puts this information into the OutputList.
8     //
9     // Authors: C.Loizides
10     //--------------------------------------------------------------------------------------------------
11    
12     #ifndef MITANA_TREEEMOD_ANAFWKMOD_H
13     #define MITANA_TREEEMOD_ANAFWKMOD_H
14    
15     #include "MitAna/TreeMod/interface/BaseMod.h"
16     #include "MitAna/DataTree/interface/Collections.h"
17    
18 loizides 1.4 class TTree;
19 loizides 1.1 class TH1D;
20     class TStopwatch;
21    
22     namespace mithep
23     {
24     class AnaFwkMod : public BaseMod
25     {
26     public:
27     AnaFwkMod(const char *name="AnaFwkMod",
28     const char *title="Analysis framework module");
29    
30     protected:
31 loizides 1.4 TString fAllHeadTreeName; //
32     TString fAllHeadBrName; //
33     TStopwatch *fSWtotal; //!stop watch for overall timing
34     TStopwatch *fSWevent; //!stop watch per n events
35     EventHeaderArr fAllHeaders; //!pointer to array of all event headers
36     TTree *fAllHeadTree; //!all event headers tree in current file
37     EventHeader *fAllEventHeader; //!all event header
38     Bool_t fReload; //!reload tree after file changed
39     Int_t fCurEnt; //!
40    
41     void BeginRun();
42     Bool_t Notify();
43     void CopyAllEventHeaders();
44     void Process();
45     void SlaveBegin();
46     void SlaveTerminate();
47 loizides 1.1
48 loizides 1.4 ClassDef(AnaFwkMod, 1) // Analysis framework module
49 loizides 1.1 };
50     }
51     #endif