ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/HKFactorProducer.h
Revision: 1.2
Committed: Tue Apr 7 15:37:09 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b, Mit_009a, Mit_009
Changes since 1.1: +18 -26 lines
Log Message:
Cleanup

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: HKFactorProducer.h,v 1.1 2009/04/06 10:43:58 ceballos Exp $
3 //
4 // HKFactorProducer
5 //
6 // Produces the k factors from LO to NNLO.
7 //
8 // Authors: G. Gomez-Ceballos
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPHYSICS_MODS_HKFACTORPRODUCER_H
12 #define MITPHYSICS_MODS_HKFACTORPRODUCER_H
13
14 #include "MitAna/TreeMod/interface/BaseMod.h"
15 #include "MitAna/DataTree/interface/MCEventInfo.h"
16 #include "MitPhysics/Mods/interface/HWWKFactorList.h"
17
18 class TH1D;
19 class TH2D;
20
21 namespace mithep
22 {
23 class HKFactorProducer : public BaseMod
24 {
25 public:
26 HKFactorProducer(const char *name="HKFactorProducer",
27 const char *title="KFactor information module");
28 ~HKFactorProducer();
29
30 void SetProcessID(Int_t d) { fProcessID = d; }
31 void SetInputFilename(const char *s) { fInputFileName = s; }
32 void SetMCBosonsName(const char *s) { fMCBosonsName = s; }
33 void SetMCEventInfoName(const char *s) { fMCEvInfoName = s; }
34
35 protected:
36 void Process();
37 void SlaveBegin();
38
39 Int_t fProcessID; //process id (from pythia)
40 TString fInputFileName; //input file name
41 TString fMCBosonsName; //boson collection input name
42 TString fMCEvInfoName; //event info branch name
43 HWWKfactorList *fPt_histo; //!histogram with weights read from input file
44 const MCEventInfo *fMCEventInfo; //!event info branch pointer
45 TH1D *hDHKFactor[10]; //!output histograms
46
47 ClassDef(HKFactorProducer, 1) // Module to produce k factors
48 };
49 }
50 #endif