Revision: | 1.3 |
Committed: | Wed May 12 19:06:52 2010 UTC (14 years, 11 months ago) by ceballos |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Mit_029c, Mit_029b, Mit_029a, Mit_028a, Mit_028, Mit_027, Mit_027a, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, HEAD |
Changes since 1.2: | +3 -1 lines |
Log Message: | small additions |
# | User | Rev | Content |
---|---|---|---|
1 | loizides | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | ceballos | 1.3 | // $Id: PDFProducerMod.h,v 1.2 2010/03/13 20:50:01 ceballos Exp $ |
3 | loizides | 1.1 | // |
4 | // PDFProducerMod | ||
5 | // | ||
6 | // Computes PDFs from LHAPDF based on input from MCEventInfo. | ||
7 | // | ||
8 | // Authors: G.Gomez-Ceballos | ||
9 | //-------------------------------------------------------------------------------------------------- | ||
10 | |||
11 | #ifndef MITPHYSICS_MODS_PDFPRODUCERMOD_H | ||
12 | #define MITPHYSICS_MODS_PDFPRODUCERMOD_H | ||
13 | |||
14 | #include "MitAna/TreeMod/interface/BaseMod.h" | ||
15 | |||
16 | class TH1D; | ||
17 | class TH2D; | ||
18 | |||
19 | namespace mithep | ||
20 | { | ||
21 | class MCEventInfo; | ||
22 | class PDFProducerMod : public BaseMod | ||
23 | { | ||
24 | public: | ||
25 | PDFProducerMod(const char *name="PDFProducerMod", | ||
26 | const char *title="PDF producer module"); | ||
27 | |||
28 | void SetMCEventInfoName(const char *s) { fMCEvInfoName = s; } | ||
29 | void SetPDFName(const char *s) { fPDFName = s; } | ||
30 | void SetPrintDebug(Bool_t b) { fPrintDebug = b; } | ||
31 | ceballos | 1.2 | void SetRunPDF(Bool_t b) { fRunPDF = b; } |
32 | ceballos | 1.3 | void SetIsData(Bool_t b) { fIsData = b; } |
33 | loizides | 1.1 | |
34 | protected: | ||
35 | void Process(); | ||
36 | void SlaveBegin(); | ||
37 | |||
38 | Bool_t fPrintDebug; //=true then print debug info | ||
39 | TString fMCEvInfoName; //event info branch name | ||
40 | TString fPDFName; //PDF name | ||
41 | ceballos | 1.2 | Bool_t fRunPDF; //=true run PDFs |
42 | ceballos | 1.3 | Bool_t fIsData; //=true then it does nothing (def=0) |
43 | loizides | 1.1 | const MCEventInfo *fMCEventInfo; //!event info branch pointer |
44 | TH1D *hDPDFHisto[10]; //!output histograms | ||
45 | |||
46 | ClassDef(PDFProducerMod, 1) // Module to produce PDFs | ||
47 | }; | ||
48 | } | ||
49 | #endif |