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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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<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) |
Definition at line 35 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
explicit |
Definition at line 158 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
overrideprivate |
Definition at line 169 of file CTPPSProtonReconstructionSimulationValidator.cc.
References fillPlots(), edm::EventSetup::get(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), cmsBatch::handle, training_settings::idx, lhcInfoLabel_, reco::ForwardProton::multiRP, year_2016_postTS2_cff::rpId, reco::ForwardProton::sector45, reco::ForwardProton::singleRP, tokenHepMCAfterSmearing_, tokenHepMCBeforeSmearing_, tokenRecoProtonsMultiRP_, tokenRecoProtonsSingleRP_, and extraflags_cff::vtx.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 330 of file CTPPSProtonReconstructionSimulationValidator.cc.
References DEFINE_FWK_MODULE, AlcaSiPixelAliHarvester0T_cff::method, outputFile_, and plots_.
|
private |
Definition at line 291 of file CTPPSProtonReconstructionSimulationValidator.cc.
References reco::ForwardProton::calculateT(), LHCInfo::energy(), training_settings::idx, plots_, mathSSE::sqrt(), reco::ForwardProton::t(), reco::ForwardProton::thetaX(), reco::ForwardProton::thetaY(), reco::ForwardProton::vertex(), and reco::ForwardProton::xi().
Referenced by analyze().
|
private |
Definition at line 53 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 55 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 48 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 47 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 50 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().