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

# User Rev Content
1 loizides 1.2 //--------------------------------------------------------------------------------------------------
2 ceballos 1.4 // $Id: HKFactorProducer.h,v 1.3 2009/12/06 14:59:43 ceballos Exp $
3 ceballos 1.1 //
4     // HKFactorProducer
5     //
6 loizides 1.2 // Produces the k factors from LO to NNLO.
7 ceballos 1.1 //
8     // Authors: G. Gomez-Ceballos
9 loizides 1.2 //--------------------------------------------------------------------------------------------------
10 ceballos 1.1
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 loizides 1.2 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 ceballos 1.3 void SetIsData(Bool_t b) { fIsData = b; }
35 ceballos 1.1
36     protected:
37 loizides 1.2 void Process();
38     void SlaveBegin();
39 ceballos 1.1
40 loizides 1.2 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 ceballos 1.4 Bool_t fIsData; //=true then it does nothing (def=0)
45 loizides 1.2 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 ceballos 1.1
49 loizides 1.2 ClassDef(HKFactorProducer, 1) // Module to produce k factors
50 ceballos 1.1 };
51     }
52     #endif