Revision: | 1.4 |
Committed: | Tue Oct 12 01:59:36 2010 UTC (14 years, 6 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, HEAD |
Changes since 1.3: | +3 -3 lines |
Log Message: | some updates |
# | User | Rev | Content |
---|---|---|---|
1 | loizides | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | ceballos | 1.4 | // $Id: DilepSelMod.h,v 1.3 2009/06/15 15:00:22 loizides Exp $ |
3 | loizides | 1.1 | // |
4 | // DilepSelMod | ||
5 | // | ||
6 | // This module will select a specific event if a dilepton pair can be formed among the | ||
7 | // possible combinations from the input collection that fulfills given criteria. | ||
8 | // | ||
9 | // Authors: C.Loizides | ||
10 | //-------------------------------------------------------------------------------------------------- | ||
11 | |||
12 | #ifndef MITPHYSICS_SELMODS_DILEPSELMOD_H | ||
13 | #define MITPHYSICS_SELMODS_DILEPSELMOD_H | ||
14 | |||
15 | #include "MitAna/TreeMod/interface/BaseMod.h" | ||
16 | |||
17 | class TH1D; | ||
18 | |||
19 | namespace mithep | ||
20 | { | ||
21 | class DilepSelMod : public BaseMod | ||
22 | { | ||
23 | public: | ||
24 | DilepSelMod(const char *name="DilepSelMod", | ||
25 | const char *title="Dilepton selection module"); | ||
26 | |||
27 | void SetCleanLeptonsName(const char *n) { fCleanLeptonsName = n; } | ||
28 | ceballos | 1.4 | void SetIgnoreCharge(Bool_t b) { fIgnoreCharge = b; } |
29 | loizides | 1.1 | void SetMaxZMass(Double_t m) { fMaxZMass = m; } |
30 | void SetMinDilMass(Double_t m) { fDilMinMass = m; } | ||
31 | void SetMinPt(Double_t pt) { fMinPt = pt; } | ||
32 | void SetMinZMass(Double_t m) { fMinZMass = m; } | ||
33 | |||
34 | protected: | ||
35 | void Process(); | ||
36 | void SlaveBegin(); | ||
37 | |||
38 | TString fCleanLeptonsName; //clean leptons name (input) | ||
39 | Double_t fMinPt; //minimum pt for leptons | ||
40 | Double_t fDilMinMass; //minimum dilepton mass | ||
41 | Double_t fMinZMass; //minimum Z mass | ||
42 | Double_t fMaxZMass; //maximum Z mass | ||
43 | ceballos | 1.4 | Bool_t fIgnoreCharge; //=true then ignore lepton charge for dilepton mass cut |
44 | loizides | 1.1 | TH1D *fNAccCounters; //!history of cuts |
45 | TH1D *fAllDiLepMass; //!dilepton mass for all dilepton pairs | ||
46 | TH1D *fDiElMass; //!dielectron mass | ||
47 | TH1D *fDiMuMass; //!dimuon mass | ||
48 | TH1D *fElMuMass; //!electron-muon mass | ||
49 | TH1D *fAllDiLepMassAcc; //!accepted dilepton mass for all dilepton pairs | ||
50 | TH1D *fDiElMassAcc; //!accepted dielectron mass | ||
51 | TH1D *fDiMuMassAcc; //!accepted dimuon mass | ||
52 | TH1D *fElMuMassAcc; //!accepted electron-muon mass | ||
53 | TH1D *fNLeptons; //!number of leptons | ||
54 | TH1D *fNGPairs; //!number of good pairs | ||
55 | TH1D *fNZPairs; //!number of bad (Z) pairs | ||
56 | |||
57 | ClassDef(DilepSelMod,1) // Dilepton selection module | ||
58 | }; | ||
59 | } | ||
60 | #endif |