ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/DilepSelMod.h
Revision: 1.3
Committed: Mon Jun 15 15:00:22 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: 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, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b
Changes since 1.2: +1 -2 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: DilepSelMod.h,v 1.2 2009/06/12 12:40:52 loizides Exp $
3 //
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 void SetIgnoreElCharge(Bool_t b) { fIgnoreElCharge = b; }
29 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 Bool_t fIgnoreElCharge; //=true then ignore electron charge for z mass cut
44 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