1 |
ceballos |
1.1 |
//------------------------------------------------------------------------------
|
2 |
|
|
// $Id: HKFactorProducer.h,v 1.21 2009/04/03 22:42:59 ceballos Exp $
|
3 |
|
|
//
|
4 |
|
|
// HKFactorProducer
|
5 |
|
|
//
|
6 |
|
|
// Produces K Factors from LO to NNLO
|
7 |
|
|
//
|
8 |
|
|
//
|
9 |
|
|
// Authors: G. Gomez-Ceballos
|
10 |
|
|
//------------------------------------------------------------------------------
|
11 |
|
|
|
12 |
|
|
#ifndef MITPHYSICS_MODS_HKFACTORPRODUCER_H
|
13 |
|
|
#define MITPHYSICS_MODS_HKFACTORPRODUCER_H
|
14 |
|
|
|
15 |
|
|
#include "MitAna/TreeMod/interface/BaseMod.h"
|
16 |
|
|
#include "MitAna/DataTree/interface/MCEventInfo.h"
|
17 |
|
|
#include "MitPhysics/Mods/interface/HWWKFactorList.h"
|
18 |
|
|
|
19 |
|
|
class TH1D;
|
20 |
|
|
class TH2D;
|
21 |
|
|
|
22 |
|
|
namespace mithep
|
23 |
|
|
{
|
24 |
|
|
class HKFactorProducer : public BaseMod
|
25 |
|
|
{
|
26 |
|
|
public:
|
27 |
|
|
HKFactorProducer(const char *name="HKFactorProducer",
|
28 |
|
|
const char *title="KFactor information module");
|
29 |
|
|
~HKFactorProducer();
|
30 |
|
|
|
31 |
|
|
void SetDebug(Bool_t b) { fDebug = b; }
|
32 |
|
|
void SetFillHist(Bool_t b) { fFillHist = b; }
|
33 |
|
|
void SetProcessID(Int_t d) { fProcessID = d; }
|
34 |
|
|
void SetInputFilename(const char *s) { fInputFilename = s; }
|
35 |
|
|
|
36 |
|
|
void SetMCBosonsName(const char *s) { fMCBosonsName = s; }
|
37 |
|
|
void SetMCPhotonsName(const char *s) { fMCEventInfoName = s; }
|
38 |
|
|
|
39 |
|
|
protected:
|
40 |
|
|
void Process();
|
41 |
|
|
void SlaveBegin();
|
42 |
|
|
|
43 |
|
|
Bool_t fDebug;
|
44 |
|
|
Bool_t fFillHist;
|
45 |
|
|
HWWKfactorList* fPt_histo;
|
46 |
|
|
Int_t fProcessID;
|
47 |
|
|
std::string fInputFilename;
|
48 |
|
|
|
49 |
|
|
TString fMCBosonsName;
|
50 |
|
|
TString fMCEventInfoName;
|
51 |
|
|
const MCEventInfo *fMCEventInfo;
|
52 |
|
|
|
53 |
|
|
TH1D *hDHKFactor[10];
|
54 |
|
|
|
55 |
|
|
ClassDef(HKFactorProducer, 1) // Module to gather generator information
|
56 |
|
|
};
|
57 |
|
|
}
|
58 |
|
|
#endif
|