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
|