ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitConversions/Mods/interface/Conversions.h
Revision: 1.3
Committed: Wed Dec 16 18:10:38 2009 UTC (15 years, 4 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -1 lines
Log Message:
updated MitConversions

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.3 // $Id: Conversions.h,v 1.2 2009/01/12 10:26:47 bendavid Exp $
3 bendavid 1.1 //
4     // DiMuonResonance
5     //
6     // This is an analysis module which allows to study the properties of dimuon resonances. The
7     // implementation is reasonably general to at least allow the study of Jpsis and Upsilons without
8     // any code change.
9     //
10     // Authors: C.Paus
11     //--------------------------------------------------------------------------------------------------
12     #ifndef MODS_CONVERSIONS_H
13     #define MODS_CONVERSIONS_H
14    
15     #include <TH2F.h>
16     #include <TStopwatch.h>
17    
18 bendavid 1.2 #include "MitAna/TreeMod/interface/BaseMod.h"
19 bendavid 1.3 #include "MitAna/DataTree/interface/CollectionsFwd.h"
20 bendavid 1.1 #include "MitAna/DataTree/interface/Collections.h"
21    
22     class TH1F;
23    
24     namespace mithep
25     {
26 bendavid 1.2 class Conversions : public BaseMod
27 bendavid 1.1 {
28     public:
29     Conversions(const char *name = "Conversions",
30     const char *title = "Analysis Module of photon conversions");
31     ~Conversions() {}
32    
33     // Standard entry points allowing data processing
34     void Begin ();
35     void Process ();
36     void SlaveBegin ();
37     void SlaveTerminate();
38     void Terminate ();
39     Bool_t PassCuts(const Photon* p);
40     Bool_t PassConvCuts(const Conversion* p);
41     Bool_t PassElectronCuts(const Electron* p);
42     Bool_t PassSimCuts(const MCParticle* p);
43    
44     protected:
45 bendavid 1.2 const TrackCol *fTracks; //! point to track branch
46     const TrackCol *fGsfTracks; //! point to track branch
47     const TrackCol *fInOutTracks; //!
48     const TrackCol *fOutInTracks; //!
49     const ElectronCol *fElectrons; //! point to electron branch
50     const PhotonCol *fPhotons; //! point to photon branch
51     const MCParticleCol *fMCParticles; //!
52 bendavid 1.1
53     TString fMCPartName; // name of particle collection
54     TString fTrackName; // name of track collection
55     TString fConvElectronName; // name of electron collection
56     TString fPhotonName; // name of photon collection
57     TStopwatch fTimer;
58    
59     TH1F *hConversionRadius; //! Conversion radius
60     TH2F *hConversionRPhi; //! conversion position in R-phi plane
61     TH1F *hGammaPt; //! photon pt
62     TH1F *hGammaEta; //! photon eta
63     TH1F *hGammaMass; //! photon mass
64     TH1F *hConvProb; //! conversion vertex fit probability
65     TH1F *hConvEOverP; //! conversion E over P
66     TH1F *hElectronPt; //! pt of conversion electrons
67     TH1F *hElectronEta; //! eta of conversion electrons
68     TH1F *hEPairMass; //! invariant mass of electron track pair
69     TH1F *hEPairDeltaPhi; //! angle between electron momentum vectors
70     TH1F *hGenNumDaughters; //!
71     TH1F *hGenDaughterPt; //!
72     TH1F *hGenDecayRadius; //!
73     TH1F *hSimPt; //!
74     TH1F *hSimConvRadius; //!
75     TH2F *hSimConvPosition; //!
76     TH1F *hTrackD0; //!
77     TH1F *hTrackSimMatchType; //!
78     TH1F *hParentSimMatchType; //!
79     TH1F *hSimMatchedConvRadius; //!
80     TH1F *hSimMatchedConvProb; //!
81     TH1F *hSimMatchedEPairMass; //!
82     TH1F *hSimMatchedEPairDeltaPhi; //!
83     TH1F *hSimMatchedSimConvRadius; //!
84     TH1F *hSimMatchedConvResolution; //!
85     TH1F *hSimMatchedConvPhiRes; //!
86     TH1F *hSimMatchedConvEOverP; //!
87     TH1F *hSimMatchedElectronPt; //!
88    
89    
90    
91    
92     ClassDef(Conversions,1)
93     };
94     }
95     #endif