1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: MVASystematicsMod.h,v 1.1 2011/11/18 19:10:43 fabstoec Exp $
|
3 |
//
|
4 |
// MVASystematicsMod
|
5 |
//
|
6 |
// This module compues photon eff from Z->mumugamma
|
7 |
//
|
8 |
// Authors: F,.Stoeckli
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITHGG_MODS_MVASYSTEMATICSMOD_H
|
12 |
#define MITHGG_MODS_MVASYSTEMATICSMOD_H
|
13 |
|
14 |
#include "MitAna/TreeMod/interface/BaseMod.h"
|
15 |
#include "MitAna/DataTree/interface/CollectionsFwd.h"
|
16 |
#include "MitAna/DataTree/interface/PileupInfoCol.h"
|
17 |
#include "MitAna/DataCont/interface/Types.h"
|
18 |
#include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
|
19 |
#include "MitAna/DataTree/interface/MCParticleCol.h"
|
20 |
|
21 |
class TH1D;
|
22 |
class TH2D;
|
23 |
class TNtuple;
|
24 |
class MCEventInfo;
|
25 |
class PileupEnergyDensityCol;
|
26 |
class PFCandidateCol;
|
27 |
class Vertex;
|
28 |
class BaseVertex;
|
29 |
class BeamSpotCol;
|
30 |
|
31 |
class TRandom3;
|
32 |
|
33 |
namespace mithep
|
34 |
{
|
35 |
class MVASystematicsMod : public BaseMod
|
36 |
{
|
37 |
public:
|
38 |
MVASystematicsMod(const char *name = "MVASystematicsMod",
|
39 |
const char *title = "Photon Efficiency Analysis");
|
40 |
|
41 |
|
42 |
// setting all the input Names
|
43 |
void SetIsData(bool b) { fIsData = b; }
|
44 |
void SetTupleName(const char* c) { fTupleName = c; }
|
45 |
void FindHiggsPtAndY(Float_t& pt, Float_t& Y, Float_t& mass);
|
46 |
|
47 |
protected:
|
48 |
|
49 |
void Begin();
|
50 |
void Process();
|
51 |
void SlaveBegin();
|
52 |
void SlaveTerminate();
|
53 |
void Terminate();
|
54 |
|
55 |
// Names for the input Collections
|
56 |
TString fMCParticleName;
|
57 |
|
58 |
const MCParticleCol *fMCParticles;
|
59 |
// is it Data or MC?
|
60 |
Bool_t fIsData;
|
61 |
|
62 |
TString fTupleName;
|
63 |
|
64 |
// The output Ntuple
|
65 |
TNtuple* hMVAtuple;
|
66 |
ClassDef(MVASystematicsMod, 1)
|
67 |
};
|
68 |
}
|
69 |
#endif
|