#include <Validation/RecoVertex/src/V0Validator.cc>
Classes | |
struct | V0Couple |
Public Types | |
enum | V0Type { KSHORT, LAMBDA } |
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::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 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 80 of file V0Validator.h.
enum V0Validator::V0Type |
Enumerator | |
---|---|
KSHORT | |
LAMBDA |
Definition at line 84 of file V0Validator.h.
|
explicit |
Definition at line 28 of file V0Validator.cc.
|
override |
Definition at line 50 of file V0Validator.cc.
|
overrideprivate |
Definition at line 425 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 52 of file V0Validator.cc.
References 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_, DQMStore::IBooker::cd(), dirName, fakeCandidateMass_, goodCandidateMass, KSHORT, LAMBDA, nCandidates_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by V0Validator::V0Couple::operator==().
|
private |
Definition at line 326 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(), common_cff::pdgId, source, and mathSSE::sqrt().
Referenced by analyze(), and V0Validator::V0Couple::operator==().
|
private |
Definition at line 199 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_, SoftLeptonByDistance_cfi::distance, edm::AssociationMap< Tag >::end(), fakeCandidateMass_, edm::AssociationMap< Tag >::find(), goodCandidateMass, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), ResonanceBuilder::mass, nCandidates_, mathSSE::sqrt(), and HiIsolationCommonParameters_cff::track.
Referenced by analyze(), and V0Validator::V0Couple::operator==().
|
private |
Definition at line 140 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 124 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 141 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 125 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 139 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 123 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 146 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 137 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 138 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 131 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 129 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 147 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 144 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 127 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 128 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 126 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 133 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 134 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 132 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 151 of file V0Validator.h.
Referenced by bookHistograms(), and core.JSONAnalyzer.JSONAnalyzer::write().
|
private |
Definition at line 145 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 148 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 143 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 152 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 153 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 157 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 157 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 150 of file V0Validator.h.
|
private |
Definition at line 154 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 155 of file V0Validator.h.
Referenced by analyze().