Classes | |
struct | DoubleArmPlotGroup |
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 | |
DoubleArmPlotGroup | double_arm_plots_ |
edm::ESGetToken< LHCInfo, LHCInfoRcd > | lhcInfoESToken_ |
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 = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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 36 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
explicit |
Definition at line 190 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 205 of file CTPPSProtonReconstructionSimulationValidator.cc.
References edm::RefVector< C, T, F >::begin(), reco::ForwardProton::contributingLocalTracks(), double_arm_plots_, CTPPSProtonReconstructionSimulationValidator::DoubleArmPlotGroup::fill(), fillPlots(), edm::EventSetup::getData(), edm::HepMCProduct::GetEvent(), patZpeak::handle, heavyIonCSV_trainingSettings::idx, iEvent, lhcInfoESToken_, reco::ForwardProton::lhcSector(), reco::ForwardProton::method(), reco::ForwardProton::multiRP, profile_2016_postTS2_cff::rpId, reco::ForwardProton::sector45, reco::ForwardProton::sector56, reco::ForwardProton::singleRP, reco::ForwardProton::time(), reco::ForwardProton::timeError(), tokenHepMCAfterSmearing_, tokenHepMCBeforeSmearing_, tokenRecoProtonsMultiRP_, tokenRecoProtonsSingleRP_, reco::ForwardProton::validFit(), and extraflags_cff::vtx.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 391 of file CTPPSProtonReconstructionSimulationValidator.cc.
References double_arm_plots_, AlcaSiPixelAliHarvester0T_cff::method, outputFile_, plots_, and CTPPSProtonReconstructionSimulationValidator::DoubleArmPlotGroup::write().
|
private |
Definition at line 349 of file CTPPSProtonReconstructionSimulationValidator.cc.
References reco::ForwardProton::calculateT(), LHCInfo::energy(), heavyIonCSV_trainingSettings::idx, plots_, mathSSE::sqrt(), reco::ForwardProton::t(), reco::ForwardProton::thetaX(), reco::ForwardProton::thetaY(), reco::ForwardProton::vertex(), extraflags_cff::vtx, and reco::ForwardProton::xi().
Referenced by analyze().
|
private |
Definition at line 181 of file CTPPSProtonReconstructionSimulationValidator.cc.
|
private |
Definition at line 59 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 61 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by endJob().
|
private |
Definition at line 149 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by endJob(), and fillPlots().
|
private |
Definition at line 54 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file CTPPSProtonReconstructionSimulationValidator.cc.
Referenced by analyze().