ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Validation/interface/TracksValMod.h
Revision: 1.1
Committed: Mon Mar 23 09:09:12 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Moved here from MitAna/Validation.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: TracksValMod.h,v 1.1 2009/03/17 15:44:07 loizides Exp $
3     //
4     //
5     // Authors: C.Loizides
6     //--------------------------------------------------------------------------------------------------
7    
8     #ifndef MITPHYSICS_VALIDATION_TRACKSVALMOD_H
9     #define MITPHYSICS_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