CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
JetCorrectorDemo Class Reference
Inheritance diagram for JetCorrectorDemo:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Types

typedef reco::Particle::LorentzVector LorentzVector
 
- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 JetCorrectorDemo (const edm::ParameterSet &)
 
 ~JetCorrectorDemo () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 

Private Attributes

edm::Service< TFileServicefs
 
bool mDebug
 
double mEtaMax
 
double mEtaMin
 
TH2F * mJECvsEta
 
TH2F * mJECvsPt
 
edm::EDGetTokenT< reco::JetCorrectormJetCorrector
 
int mNGraphPoints
 
int mNHistoPoints
 
std::string mPayloadName
 
edm::ESGetToken< JetCorrectorParametersCollection, JetCorrectionsRecordmPayloadToken
 
double mPtMax
 
double mPtMin
 
TRandom * mRandom
 
TGraph * mUncCorPt [100]
 
std::string mUncertaintyFile
 
std::string mUncertaintyTag
 
TGraph * mUncEta [100]
 
bool mUseCondDB
 
std::vector< double > mVEta
 
TGraphErrors * mVGraphCorPt [100]
 
TGraphErrors * mVGraphEta [100]
 
TGraphErrors * mVGraphPt [100]
 
std::vector< double > mVPt
 
double veta [100][1000]
 
double vex_eta [100][1000]
 
double vex_pt [100][1000]
 
double vjec_eta [100][1000]
 
double vjec_pt [100][1000]
 
double vjecUnc_eta [100][1000]
 
double vjecUnc_pt [100][1000]
 
double vpt [100][1000]
 
double vptcor [100][1000]
 
double vUnc_eta [100][1000]
 
double vUnc_pt [100][1000]
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 28 of file JetCorrectorDemo.cc.

Member Typedef Documentation

◆ LorentzVector

Definition at line 32 of file JetCorrectorDemo.cc.

Constructor & Destructor Documentation

◆ JetCorrectorDemo()

JetCorrectorDemo::JetCorrectorDemo ( const edm::ParameterSet iConfig)
explicit

Definition at line 59 of file JetCorrectorDemo.cc.

References edm::EDConsumerBase::esConsumes(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileService::kSharedResource, mDebug, mEtaMax, mEtaMin, mJetCorrector, mNGraphPoints, mNHistoPoints, mPayloadName, mPayloadToken, mPtMax, mPtMin, mUncertaintyFile, mUncertaintyTag, mUseCondDB, mVEta, mVPt, and AlCaHLTBitMon_QueryRunRegistry::string.

59  {
60  mJetCorrector = consumes<reco::JetCorrector>(iConfig.getParameter<edm::InputTag>("JetCorrector"));
61  mPayloadName = iConfig.getParameter<std::string>("PayloadName");
62  mUncertaintyTag = iConfig.getParameter<std::string>("UncertaintyTag");
63  mUncertaintyFile = iConfig.getParameter<std::string>("UncertaintyFile");
64  mNHistoPoints = iConfig.getParameter<int>("NHistoPoints");
65  mNGraphPoints = iConfig.getParameter<int>("NGraphPoints");
66  mEtaMin = iConfig.getParameter<double>("EtaMin");
67  mEtaMax = iConfig.getParameter<double>("EtaMax");
68  mPtMin = iConfig.getParameter<double>("PtMin");
69  mPtMax = iConfig.getParameter<double>("PtMax");
70  mVEta = iConfig.getParameter<std::vector<double> >("VEta");
71  mVPt = iConfig.getParameter<std::vector<double> >("VPt");
72  mDebug = iConfig.getUntrackedParameter<bool>("Debug", false);
73  mUseCondDB = iConfig.getUntrackedParameter<bool>("UseCondDB", false);
74  if (mUseCondDB) {
76  }
77  usesResource(TFileService::kSharedResource);
78 }
static const std::string kSharedResource
Definition: TFileService.h:76
std::string mPayloadName
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< double > mVEta
std::string mUncertaintyTag
T getUntrackedParameter(std::string const &, T const &) const
std::string mUncertaintyFile
std::vector< double > mVPt
edm::ESGetToken< JetCorrectorParametersCollection, JetCorrectionsRecord > mPayloadToken
edm::EDGetTokenT< reco::JetCorrector > mJetCorrector

◆ ~JetCorrectorDemo()

JetCorrectorDemo::~JetCorrectorDemo ( )
override

Definition at line 80 of file JetCorrectorDemo.cc.

80 {}

Member Function Documentation

◆ analyze()

void JetCorrectorDemo::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 82 of file JetCorrectorDemo.cc.

References pfClustersFromHGC3DClusters_cfi::corrector, gather_cfg::cout, HLT_2022v12_cff::dEta, MillePedeFileConverter_cfg::e, PVValHelper::eta, edm::FileInPath::fullPath(), edm::EventSetup::getData(), mps_fire::i, LEDCalibrationChannels::ieta, iEvent, jetMETDQMOfflineSource_cff::jec, mDebug, mEtaMax, mEtaMin, mJECvsEta, mJECvsPt, mJetCorrector, mNGraphPoints, mNHistoPoints, mPayloadToken, mPtMax, mPtMin, mRandom, mUncertaintyFile, mUncertaintyTag, mUseCondDB, mVEta, mVPt, funct::pow(), jetsAK4_CHS_cff::rawPt, createJobs::tmp, veta, vex_eta, vex_pt, vjec_eta, vjec_pt, vjecUnc_eta, vjecUnc_pt, vpt, vptcor, vUnc_eta, and vUnc_pt.

82  {
84  iEvent.getByToken(mJetCorrector, corrector);
85  std::unique_ptr<JetCorrectionUncertainty> jecUnc;
86  if (!mUncertaintyTag.empty()) {
87  if (mUseCondDB) {
88  const JetCorrectorParametersCollection &JetCorParColl = iSetup.getData(mPayloadToken);
89  JetCorrectorParameters const &JetCorPar = JetCorParColl[mUncertaintyTag];
90  jecUnc = std::make_unique<JetCorrectionUncertainty>(JetCorPar);
91  std::cout << "Configured Uncertainty from CondDB" << std::endl;
92  } else {
93  edm::FileInPath fip("CondFormats/JetMETObjects/data/" + mUncertaintyFile + ".txt");
94  jecUnc = std::make_unique<JetCorrectionUncertainty>(fip.fullPath());
95  }
96  }
97  double jec, rawPt, corPt, eta, unc;
98  TLorentzVector P4;
99  double dEta = (mEtaMax - mEtaMin) / mNGraphPoints;
100  for (int i = 0; i < mNHistoPoints; i++) {
101  rawPt = mRandom->Uniform(mPtMin, mPtMax);
102  eta = mRandom->Uniform(mEtaMin, mEtaMax);
103  P4.SetPtEtaPhiE(rawPt, eta, 0, 0);
104  LorentzVector rawP4(P4.Px(), P4.Py(), P4.Pz(), P4.E());
105  jec = corrector->correction(rawP4);
106  mJECvsEta->Fill(eta, jec);
107  mJECvsPt->Fill(rawPt, jec);
108  }
109  //--------- Pt Graphs ------------------
110  for (unsigned ieta = 0; ieta < mVEta.size(); ieta++) {
111  double rPt = pow((3500. / TMath::CosH(mVEta[ieta])) / mPtMin, 1. / mNGraphPoints);
112  for (int i = 0; i < mNGraphPoints; i++) {
113  rawPt = mPtMin * pow(rPt, i);
114  eta = mVEta[ieta];
115  vpt[ieta][i] = rawPt;
116  P4.SetPtEtaPhiE(rawPt, eta, 0, 0);
117  LorentzVector rawP4(P4.Px(), P4.Py(), P4.Pz(), P4.E());
118  jec = corrector->correction(rawP4); // the jec is a function of the raw pt
119  vjec_eta[ieta][i] = jec;
120  vptcor[ieta][i] = rawPt * jec;
121  unc = 0.0;
122  if (!mUncertaintyTag.empty()) {
123  jecUnc->setJetEta(eta);
124  jecUnc->setJetPt(rawPt * jec); // the uncertainty is a function of the corrected pt
125  unc = jecUnc->getUncertainty(true);
126  }
127  vjecUnc_eta[ieta][i] = unc * jec;
128  vUnc_eta[ieta][i] = unc;
129  vex_eta[ieta][i] = 0.0;
130  if (mDebug)
131  std::cout << rawPt << " " << eta << " " << jec << " " << rawPt * jec << " " << unc << std::endl;
132  }
133  }
134  //--------- Eta Graphs -------------------
135  for (unsigned ipt = 0; ipt < mVPt.size(); ipt++) {
136  for (int i = 0; i < mNGraphPoints; i++) {
137  eta = mEtaMin + i * dEta;
138  corPt = mVPt[ipt];
139  veta[ipt][i] = eta;
140  //---------- find the raw pt -----------
141  double e = 1.0;
142  int nLoop(0);
143  rawPt = corPt;
144  while (e > 0.0001 && nLoop < 10) {
145  P4.SetPtEtaPhiE(rawPt, eta, 0, 0);
146  LorentzVector rawP4(P4.Px(), P4.Py(), P4.Pz(), P4.E());
147  jec = corrector->correction(rawP4);
148  double tmp = rawPt * jec;
149  e = fabs(tmp - corPt) / corPt;
150  if (jec > 0)
151  rawPt = corPt / jec;
152  nLoop++;
153  }
154  //--------- calculate the jec for the rawPt --------
155  P4.SetPtEtaPhiE(rawPt, eta, 0, 0);
156  LorentzVector rawP4(P4.Px(), P4.Py(), P4.Pz(), P4.E());
157  jec = corrector->correction(rawP4); // the jec is a function of the raw pt
158  vjec_pt[ipt][i] = jec;
159  unc = 0.0;
160  if (!mUncertaintyTag.empty()) {
161  jecUnc->setJetEta(eta);
162  jecUnc->setJetPt(corPt); // the uncertainty is a function of the corrected pt
163  unc = jecUnc->getUncertainty(true);
164  }
165  vjecUnc_pt[ipt][i] = unc * jec;
166  vUnc_pt[ipt][i] = unc;
167  vex_pt[ipt][i] = 0.0;
168  if (mDebug)
169  std::cout << rawPt << " " << eta << " " << jec << " " << rawPt * jec << " " << unc << std::endl;
170  }
171  }
172 }
double vptcor[100][1000]
double vex_pt[100][1000]
double veta[100][1000]
std::vector< double > mVEta
double vjec_pt[100][1000]
std::string mUncertaintyTag
double vUnc_eta[100][1000]
double vex_eta[100][1000]
int iEvent
Definition: GenABIO.cc:224
std::string mUncertaintyFile
math::XYZTLorentzVector LorentzVector
bool getData(T &iHolder) const
Definition: EventSetup.h:122
double vjecUnc_eta[100][1000]
double vpt[100][1000]
double vjec_eta[100][1000]
std::vector< double > mVPt
double vjecUnc_pt[100][1000]
double vUnc_pt[100][1000]
tmp
align.sh
Definition: createJobs.py:716
edm::ESGetToken< JetCorrectorParametersCollection, JetCorrectionsRecord > mPayloadToken
edm::EDGetTokenT< reco::JetCorrector > mJetCorrector
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ beginJob()

void JetCorrectorDemo::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 174 of file JetCorrectorDemo.cc.

References Exception, fs, TFileService::make(), mEtaMax, mEtaMin, mJECvsEta, mJECvsPt, mNGraphPoints, mPtMax, mPtMin, mRandom, mVEta, and mVPt.

174  {
175  if (mNGraphPoints > 1000)
176  throw cms::Exception("JetCorrectorDemo", "Too many graph points !!! Maximum is 1000 !!!");
177  if (mVEta.size() > 100)
178  throw cms::Exception("JetCorrectorDemo", "Too many eta values !!! Maximum is 100 !!!");
179  if (mVPt.size() > 100)
180  throw cms::Exception("JetCorrectorDemo", "Too many pt values !!! Maximum is 100 !!!");
181  mJECvsEta = fs->make<TH2F>("JECvsEta", "JECvsEta", 200, mEtaMin, mEtaMax, 100, 0, 5);
182  mJECvsPt = fs->make<TH2F>("JECvsPt", "JECvsPt", 200, mPtMin, mPtMax, 100, 0, 5);
183  mRandom = new TRandom();
184  mRandom->SetSeed(0);
185 }
std::vector< double > mVEta
edm::Service< TFileService > fs
std::vector< double > mVPt
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64

◆ endJob()

void JetCorrectorDemo::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 187 of file JetCorrectorDemo.cc.

References fs, LEDCalibrationChannels::ieta, TFileService::make(), mNGraphPoints, mUncCorPt, mUncEta, mVEta, mVGraphCorPt, mVGraphEta, mVGraphPt, mVPt, Skims_PA_cff::name, veta, vex_eta, vex_pt, vjec_eta, vjec_pt, vjecUnc_eta, vjecUnc_pt, vpt, vptcor, vUnc_eta, and vUnc_pt.

187  {
188  char name[1000];
189  for (unsigned ipt = 0; ipt < mVPt.size(); ipt++) {
190  mVGraphEta[ipt] = fs->make<TGraphErrors>(mNGraphPoints, veta[ipt], vjec_pt[ipt], vex_pt[ipt], vjecUnc_pt[ipt]);
191  sprintf(name, "JEC_vs_Eta_CorPt%1.1f", mVPt[ipt]);
192  mVGraphEta[ipt]->SetName(name);
193  mUncEta[ipt] = fs->make<TGraph>(mNGraphPoints, veta[ipt], vUnc_pt[ipt]);
194  sprintf(name, "UNC_vs_Eta_CorPt%1.1f", mVPt[ipt]);
195  mUncEta[ipt]->SetName(name);
196  }
197  for (unsigned ieta = 0; ieta < mVEta.size(); ieta++) {
198  mVGraphPt[ieta] =
200  sprintf(name, "JEC_vs_RawPt_eta%1.1f", mVEta[ieta]);
201  mVGraphPt[ieta]->SetName(name);
202  mVGraphCorPt[ieta] =
204  sprintf(name, "JEC_vs_CorPt_eta%1.1f", mVEta[ieta]);
205  mVGraphCorPt[ieta]->SetName(name);
207  sprintf(name, "UNC_vs_CorPt_eta%1.1f", mVEta[ieta]);
208  mUncCorPt[ieta]->SetName(name);
209  }
210 }
double vptcor[100][1000]
double vex_pt[100][1000]
double veta[100][1000]
std::vector< double > mVEta
edm::Service< TFileService > fs
TGraph * mUncEta[100]
double vjec_pt[100][1000]
double vUnc_eta[100][1000]
TGraph * mUncCorPt[100]
TGraphErrors * mVGraphPt[100]
TGraphErrors * mVGraphCorPt[100]
double vex_eta[100][1000]
double vjecUnc_eta[100][1000]
double vpt[100][1000]
double vjec_eta[100][1000]
std::vector< double > mVPt
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
double vjecUnc_pt[100][1000]
double vUnc_pt[100][1000]
TGraphErrors * mVGraphEta[100]

Member Data Documentation

◆ fs

edm::Service<TFileService> JetCorrectorDemo::fs
private

Definition at line 49 of file JetCorrectorDemo.cc.

Referenced by beginJob(), and endJob().

◆ mDebug

bool JetCorrectorDemo::mDebug
private

Definition at line 42 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mEtaMax

double JetCorrectorDemo::mEtaMax
private

Definition at line 44 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), and JetCorrectorDemo().

◆ mEtaMin

double JetCorrectorDemo::mEtaMin
private

Definition at line 44 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), and JetCorrectorDemo().

◆ mJECvsEta

TH2F* JetCorrectorDemo::mJECvsEta
private

Definition at line 50 of file JetCorrectorDemo.cc.

Referenced by analyze(), and beginJob().

◆ mJECvsPt

TH2F * JetCorrectorDemo::mJECvsPt
private

Definition at line 50 of file JetCorrectorDemo.cc.

Referenced by analyze(), and beginJob().

◆ mJetCorrector

edm::EDGetTokenT<reco::JetCorrector> JetCorrectorDemo::mJetCorrector
private

Definition at line 39 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mNGraphPoints

int JetCorrectorDemo::mNGraphPoints
private

Definition at line 43 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().

◆ mNHistoPoints

int JetCorrectorDemo::mNHistoPoints
private

Definition at line 43 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mPayloadName

std::string JetCorrectorDemo::mPayloadName
private

Definition at line 40 of file JetCorrectorDemo.cc.

Referenced by JetCorrectorDemo().

◆ mPayloadToken

edm::ESGetToken<JetCorrectorParametersCollection, JetCorrectionsRecord> JetCorrectorDemo::mPayloadToken
private

Definition at line 41 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mPtMax

double JetCorrectorDemo::mPtMax
private

Definition at line 44 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), and JetCorrectorDemo().

◆ mPtMin

double JetCorrectorDemo::mPtMin
private

Definition at line 44 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), and JetCorrectorDemo().

◆ mRandom

TRandom* JetCorrectorDemo::mRandom
private

Definition at line 53 of file JetCorrectorDemo.cc.

Referenced by analyze(), and beginJob().

◆ mUncCorPt

TGraph * JetCorrectorDemo::mUncCorPt[100]
private

Definition at line 52 of file JetCorrectorDemo.cc.

Referenced by endJob().

◆ mUncertaintyFile

std::string JetCorrectorDemo::mUncertaintyFile
private

Definition at line 40 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mUncertaintyTag

std::string JetCorrectorDemo::mUncertaintyTag
private

Definition at line 40 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mUncEta

TGraph* JetCorrectorDemo::mUncEta[100]
private

Definition at line 52 of file JetCorrectorDemo.cc.

Referenced by endJob().

◆ mUseCondDB

bool JetCorrectorDemo::mUseCondDB
private

Definition at line 42 of file JetCorrectorDemo.cc.

Referenced by analyze(), and JetCorrectorDemo().

◆ mVEta

std::vector<double> JetCorrectorDemo::mVEta
private

Definition at line 45 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().

◆ mVGraphCorPt

TGraphErrors * JetCorrectorDemo::mVGraphCorPt[100]
private

Definition at line 51 of file JetCorrectorDemo.cc.

Referenced by endJob().

◆ mVGraphEta

TGraphErrors* JetCorrectorDemo::mVGraphEta[100]
private

Definition at line 51 of file JetCorrectorDemo.cc.

Referenced by endJob().

◆ mVGraphPt

TGraphErrors * JetCorrectorDemo::mVGraphPt[100]
private

Definition at line 51 of file JetCorrectorDemo.cc.

Referenced by endJob().

◆ mVPt

std::vector<double> JetCorrectorDemo::mVPt
private

Definition at line 45 of file JetCorrectorDemo.cc.

Referenced by analyze(), beginJob(), endJob(), and JetCorrectorDemo().

◆ veta

double JetCorrectorDemo::veta[100][1000]
private

Definition at line 46 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vex_eta

double JetCorrectorDemo::vex_eta[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vex_pt

double JetCorrectorDemo::vex_pt[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vjec_eta

double JetCorrectorDemo::vjec_eta[100][1000]
private

Definition at line 46 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vjec_pt

double JetCorrectorDemo::vjec_pt[100][1000]
private

Definition at line 46 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vjecUnc_eta

double JetCorrectorDemo::vjecUnc_eta[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vjecUnc_pt

double JetCorrectorDemo::vjecUnc_pt[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vpt

double JetCorrectorDemo::vpt[100][1000]
private

Definition at line 46 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vptcor

double JetCorrectorDemo::vptcor[100][1000]
private

Definition at line 46 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vUnc_eta

double JetCorrectorDemo::vUnc_eta[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().

◆ vUnc_pt

double JetCorrectorDemo::vUnc_pt[100][1000]
private

Definition at line 47 of file JetCorrectorDemo.cc.

Referenced by analyze(), and endJob().