ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/Validation/interface/TracksValMod.h
Revision: 1.1
Committed: Tue Mar 17 15:44:07 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Log Message:
Test mods

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: TracksMod.h,v 1.4 2008/12/10 17:25:17 loizides Exp $
3     //
4     //
5     // Authors: C.Loizides
6     //--------------------------------------------------------------------------------------------------
7    
8     #ifndef MITANA_VALIDATION_TRACKSVALMOD_H
9     #define MITANA_VALIDATION_TRACKSVALMOD_H
10    
11     #include "MitAna/TreeMod/interface/BaseMod.h"
12     #include "MitAna/DataTree/interface/Collections.h"
13    
14     class TH1D;
15    
16     namespace mithep
17     {
18     class TracksValMod : public BaseMod
19     {
20     public:
21     TracksValMod(const char *name="TracksValMod",
22     const char *title="Tracks analysis module");
23     ~TracksValMod() {}
24    
25     const char *GetTrackName() const { return fTrackName; }
26     void SetTrackName(const char *n) { fTrackName=n; }
27    
28     protected:
29     void Process();
30     void SlaveBegin();
31     void SlaveTerminate();
32    
33     TString fTrackName; //branch name of Track collection
34     const TrackCol *fTracks; //!pointer to Tracks branch
35     TH1D *fHs[100]; //!histograms
36    
37     ClassDef(TracksValMod, 1) // Tracks analysis module
38     };
39     }
40     #endif