ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/Validation/interface/GenRelValMod.h
Revision: 1.2
Committed: Fri Jul 25 12:41:41 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.1: +3 -3 lines
Log Message:
Updated validation to use MCParticles

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: GenRelValMod.h,v 1.1 2008/07/10 14:56:27 loizides Exp $
3 loizides 1.1 //
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 loizides 1.2 TString fMCPartName; //name of particle collection
33     MCParticleCol *fParticles; //!particle branch
34 loizides 1.1 std::ofstream *ofile; //!output text file
35    
36     ClassDef(GenRelValMod,1) // GenParticle validation module
37     };
38     }
39     #endif