Classes | |
struct | PlotGroup |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | endJob () override |
void | fillPlots (unsigned int meth_idx, unsigned int idx, const reco::ForwardProton &rec_pr, const HepMC::FourVector &vtx, const HepMC::FourVector &mom, const LHCInfo &lhcInfo) |
Private Attributes | |
std::string | lhcInfoLabel_ |
std::string | outputFile_ |
std::map< unsigned int, std::map< unsigned int, PlotGroup > > | plots_ |
edm::EDGetTokenT< edm::HepMCProduct > | tokenHepMCAfterSmearing_ |
edm::EDGetTokenT< edm::HepMCProduct > | tokenHepMCBeforeSmearing_ |
edm::EDGetTokenT< reco::ForwardProtonCollection > | tokenRecoProtonsMultiRP_ |
edm::EDGetTokenT< reco::ForwardProtonCollection > | tokenRecoProtonsSingleRP_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 34 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
explicit |
Definition at line 156 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 171 of file CTPPSProtonReconstructionSimulationValidator.cc.
References edm::RefVector< C, T, F >::begin(), reco::ForwardProton::contributingLocalTracks(), fillPlots(), edm::EventSetup::get(), get, edm::HepMCProduct::GetEvent(), patZpeak::handle, charmTagsComputerCvsB_cfi::idx, iEvent, lhcInfoLabel_, reco::ForwardProton::lhcSector(), reco::ForwardProton::method(), reco::ForwardProton::multiRP, year_2016_postTS2_cff::rpId, reco::ForwardProton::sector45, reco::ForwardProton::singleRP, tokenHepMCAfterSmearing_, tokenHepMCBeforeSmearing_, tokenRecoProtonsMultiRP_, tokenRecoProtonsSingleRP_, reco::ForwardProton::validFit(), and badGlobalMuonTaggersAOD_cff::vtx.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 333 of file CTPPSProtonReconstructionSimulationValidator.cc.
References AlcaSiPixelAliHarvester0T_cff::method, outputFile_, and plots_.
|
private |
Definition at line 291 of file CTPPSProtonReconstructionSimulationValidator.cc.
References reco::ForwardProton::calculateT(), LHCInfo::energy(), charmTagsComputerCvsB_cfi::idx, plots_, mathSSE::sqrt(), reco::ForwardProton::t(), reco::ForwardProton::thetaX(), reco::ForwardProton::thetaY(), reco::ForwardProton::vertex(), badGlobalMuonTaggersAOD_cff::vtx, and reco::ForwardProton::xi().
Referenced by analyze().
|
private |
Definition at line 57 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by endJob().
|
private |
Definition at line 147 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by endJob(), and fillPlots().
|
private |
Definition at line 52 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 54 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().