ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/HKFactorProducer.h
Revision: 1.4
Committed: Mon Dec 7 11:39:50 2009 UTC (15 years, 5 months ago) by ceballos
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012g, Mit_012f, Mit_012e
Changes since 1.3: +2 -2 lines
Log Message:
small update

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: HKFactorProducer.h,v 1.3 2009/12/06 14:59:43 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 void SetIsData(Bool_t b) { fIsData = b; }
35
36 protected:
37 void Process();
38 void SlaveBegin();
39
40 Int_t fProcessID; //process id (from pythia)
41 TString fInputFileName; //input file name
42 TString fMCBosonsName; //boson collection input name
43 TString fMCEvInfoName; //event info branch name
44 Bool_t fIsData; //=true then it does nothing (def=0)
45 HWWKfactorList *fPt_histo; //!histogram with weights read from input file
46 const MCEventInfo *fMCEventInfo; //!event info branch pointer
47 TH1D *hDHKFactor[10]; //!output histograms
48
49 ClassDef(HKFactorProducer, 1) // Module to produce k factors
50 };
51 }
52 #endif