ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/Validation/interface/GenRelValMod.h
Revision: 1.1
Committed: Thu Jul 10 14:56:27 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added simple genparticle relval module

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id:$
3     //
4     // GenRelValMod
5     //
6     // This is an analysis module which is used to validate the genparticles filled into the tree.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef VALIDATION_GENRELVAL_H
12     #define VALIDATION_GENRELVAL_H
13    
14     #include <Riostream.h>
15     #include "MitAna/TreeMod/interface/BaseMod.h"
16     #include "MitAna/DataTree/interface/Collections.h"
17    
18     namespace mithep
19     {
20     class GenRelValMod : public BaseMod
21     {
22     public:
23     GenRelValMod(const char *name = "GenRelValMod",
24     const char *title = "Analysis Module for GenParticles validation");
25     ~GenRelValMod() {}
26    
27     void Process ();
28     void SlaveBegin ();
29     void SlaveTerminate();
30    
31     protected:
32     TString fGenPartName; //name of particle collection
33     GenParticleCol *fParticles; //!particle branch
34     std::ofstream *ofile; //!output text file
35    
36     ClassDef(GenRelValMod,1) // GenParticle validation module
37     };
38     }
39     #endif