1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: GenRelValMod.h,v 1.2 2008/07/25 12:41:41 loizides Exp $
|
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 MITANA_VALIDATION_GENRELVAL_H
|
12 |
#define MITANA_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 fMCPartName; //name of particle collection
|
33 |
MCParticleCol *fParticles; //!particle branch
|
34 |
std::ofstream *ofile; //!output text file
|
35 |
|
36 |
ClassDef(GenRelValMod,1) // GenParticle validation module
|
37 |
};
|
38 |
}
|
39 |
#endif
|