#include <Validation/RecoVertex/src/V0Validator.cc>
Classes | |
struct | V0Couple |
Public Types | |
enum | V0Type { KSHORT, LAMBDA } |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | doEfficiencies (const TrackingVertexCollection &gen_vertices, V0Type t, int parent_particle_id, int first_daughter_id, int second_daughter_id, const reco::VertexCompositeCandidateCollection &collection, const reco::SimToRecoCollection &simtorecoCollection) |
void | doFakeRates (const reco::VertexCompositeCandidateCollection &collection, const reco::RecoToSimCollection &recotosimCollection, V0Type t, int particle_pdgid, int misreconstructed_particle_pdgid) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Validation/RecoVertex/interface/V0Validator.h
Description: Creates validation histograms for RecoVertex/V0Producer
Implementation: <Notes on="" implementation>="">
Description: Creates validation histograms for RecoVertex/V0Producer
Implementation: <Notes on="" implementation>="">
Definition at line 79 of file V0Validator.h.
enum V0Validator::V0Type |
Enumerator | |
---|---|
KSHORT | |
LAMBDA |
Definition at line 83 of file V0Validator.h.
|
explicit |
Definition at line 27 of file V0Validator.cc.
|
override |
Definition at line 43 of file V0Validator.cc.
|
overrideprivate |
Definition at line 382 of file V0Validator.cc.
References gather_cfg::cout, doEfficiencies(), doFakeRates(), edm::EventSetup::get(), edm::Event::getByToken(), edm::HandleBase::isValid(), v0validator_cfi::lambdaCollection, edm::Handle< T >::product(), recoRecoToSimCollectionToken_, recoSimToRecoCollectionToken_, recoVertexCompositeCandidateCollection_k0s_Token_, recoVertexCompositeCandidateCollection_lambda_Token_, trackingVertexCollection_Token_, and vec_recoVertex_Token_.
Referenced by V0Validator::V0Couple::operator==().
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 45 of file V0Validator.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), candidateEffVsEta_denom_, candidateEffVsEta_num_, candidateEffVsPt_denom_, candidateEffVsPt_num_, candidateEffVsR_denom_, candidateEffVsR_num_, candidateFakeDauRadDist_, candidateFakeVsEta_denom_, candidateFakeVsEta_num_, candidateFakeVsPt_denom_, candidateFakeVsPt_num_, candidateFakeVsR_denom_, candidateFakeVsR_num_, candidateMassAll, candidateStatus_, candidateTkEffVsEta_num_, candidateTkEffVsPt_num_, candidateTkEffVsR_num_, candidateTkFakeVsEta_num_, candidateTkFakeVsPt_num_, candidateTkFakeVsR_num_, dqm::dqmstoreimpl::DQMStore::IBooker::cd(), dirName, fakeCandidateMass_, goodCandidateMass, KSHORT, LAMBDA, nCandidates_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by V0Validator::V0Couple::operator==().
|
private |
Definition at line 296 of file V0Validator.cc.
References funct::abs(), edm::AssociationMap< Tag >::begin(), candidateEffVsEta_denom_, candidateEffVsEta_num_, candidateEffVsPt_denom_, candidateEffVsPt_num_, candidateEffVsR_denom_, candidateEffVsR_num_, edm::AssociationMap< Tag >::empty(), edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), EgammaValidation_cff::pdgId, source, and mathSSE::sqrt().
Referenced by analyze(), and V0Validator::V0Couple::operator==().
|
private |
Definition at line 172 of file V0Validator.cc.
References funct::abs(), candidateFakeDauRadDist_, candidateFakeVsEta_denom_, candidateFakeVsEta_num_, candidateFakeVsPt_denom_, candidateFakeVsPt_num_, candidateFakeVsR_denom_, candidateFakeVsR_num_, candidateMassAll, candidateStatus_, candidateTkFakeVsEta_num_, candidateTkFakeVsPt_num_, candidateTkFakeVsR_num_, HLT_2018_cff::distance, edm::AssociationMap< Tag >::end(), fakeCandidateMass_, edm::AssociationMap< Tag >::find(), goodCandidateMass, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), EgHLTOffHistBins_cfi::mass, nCandidates_, mathSSE::sqrt(), and HLT_2018_cff::track.
Referenced by analyze(), and V0Validator::V0Couple::operator==().
|
private |
Definition at line 132 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 116 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 133 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 117 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 131 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 115 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 138 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 129 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 122 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 130 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 123 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 128 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 121 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 139 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 136 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 119 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 120 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 118 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 125 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 126 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 124 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 143 of file V0Validator.h.
Referenced by bookHistograms(), and core.JSONAnalyzer.JSONAnalyzer::write().
|
private |
Definition at line 137 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 140 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 135 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 144 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 145 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 148 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 148 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 142 of file V0Validator.h.
|
private |
Definition at line 146 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 147 of file V0Validator.h.
Referenced by analyze().