ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/PhotonCiCMod.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/PhotonCiCMod.h (file contents):
Revision 1.4 by fabstoec, Sun Jul 3 11:04:50 2011 UTC vs.
Revision 1.5 by fabstoec, Wed Jul 6 13:59:40 2011 UTC

# Line 57 | Line 57 | namespace mithep
57  
58        void                SetIsData (Bool_t b) { fIsData = b;};
59  
60 <      double findHiggsPt();
60 >      void                AddEnCorrPerRun( UInt_t sRun, UInt_t eRun,
61 >                                           Double_t corr_EB_hR9,
62 >                                           Double_t corr_EB_lR9,
63 >                                           Double_t corr_EE_hR9,
64 >                                           Double_t corr_EE_lR9) {
65 >        fDataEnCorr_EB_hR9.push_back(corr_EB_hR9);
66 >        fDataEnCorr_EB_lR9.push_back(corr_EB_lR9);
67 >        fDataEnCorr_EE_hR9.push_back(corr_EE_hR9);
68 >        fDataEnCorr_EE_lR9.push_back(corr_EE_lR9);
69 >
70 >        fRunStart.push_back(sRun);
71 >        fRunEnd.push_back(eRun);
72 >      };
73 >
74 >      void                SetMCSmearFactors(Double_t _EB_hR9, Double_t _EB_lR9, Double_t _EE_hR9, Double_t _EE_lR9) {
75 >        fMCSmear_EB_hR9 = _EB_hR9;
76 >        fMCSmear_EB_lR9 = _EB_lR9;
77 >        fMCSmear_EE_hR9 = _EE_hR9;
78 >        fMCSmear_EE_lR9 = _EE_lR9;
79 >      };
80 >
81 >      void findHiggsPtAndZ(Float_t&, Float_t&);
82  
83      protected:
84        void                Process();
# Line 86 | Line 107 | namespace mithep
107  
108        const BeamSpotCol *fBeamspot;
109      
110 <      Double_t fDataEnCorr_EB_hR9;
111 <      Double_t fDataEnCorr_EB_lR9;
112 <      Double_t fDataEnCorr_EE_hR9;
113 <      Double_t fDataEnCorr_EE_lR9;
110 >      std::vector<Double_t> fDataEnCorr_EB_hR9;
111 >      std::vector<Double_t> fDataEnCorr_EB_lR9;
112 >      std::vector<Double_t> fDataEnCorr_EE_hR9;
113 >      std::vector<Double_t> fDataEnCorr_EE_lR9;
114 >
115 >      std::vector<UInt_t> fRunStart;
116 >      std::vector<UInt_t> fRunEnd;
117  
118        Double_t fMCSmear_EB_hR9;
119        Double_t fMCSmear_EB_lR9;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines