#include <HLTDoubletDZ.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from HLTFilter | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::global::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::vector< T1 > | T1Collection |
typedef edm::Ref< T1Collection > | T1Ref |
typedef std::vector< T2 > | T2Collection |
typedef edm::Ref< T2Collection > | T2Ref |
Private Attributes | |
const bool | checkSC_ |
edm::EDGetTokenT< reco::ElectronCollection > | electronToken_ |
const edm::InputTag | inputTag1_ |
const edm::InputTag | inputTag2_ |
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | inputToken1_ |
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | inputToken2_ |
const double | maxDZ_ |
const int | min_N_ |
const double | minDR_ |
const int | minPixHitsForDZ_ |
const std::vector< edm::InputTag > | originTag1_ |
const std::vector< edm::InputTag > | originTag2_ |
const bool | same_ |
const int | triggerType1_ |
const int | triggerType2_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDFilterBase | |
typedef EDFilterBase | 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 |
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) |
Definition at line 27 of file HLTDoubletDZ.h.
|
private |
Definition at line 28 of file HLTDoubletDZ.h.
|
private |
Definition at line 29 of file HLTDoubletDZ.h.
|
private |
Definition at line 30 of file HLTDoubletDZ.h.
|
private |
Definition at line 31 of file HLTDoubletDZ.h.
|
explicit |
Definition at line 29 of file HLTDoubletDZ.cc.
|
override |
Definition at line 129 of file HLTDoubletDZ.cc.
HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoEcalCandidate >::HLTDoubletDZ | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 49 of file HLTDoubletDZ.cc.
HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoEcalCandidate >::HLTDoubletDZ | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 69 of file HLTDoubletDZ.cc.
HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoChargedCandidate >::HLTDoubletDZ | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 89 of file HLTDoubletDZ.cc.
HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoChargedCandidate >::HLTDoubletDZ | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 109 of file HLTDoubletDZ.cc.
bool HLTDoubletDZ< T1, T2 >::computeDZ | ( | edm::Event & | iEvent, |
T1Ref & | c1, | ||
T2Ref & | c2 | ||
) | const |
Definition at line 293 of file HLTDoubletDZ.cc.
References funct::abs(), reco::deltaR(), HLTDoubletDZ< T1, T2 >::maxDZ_, HLTDoubletDZ< T1, T2 >::minDR_, and reco::Candidate::vz().
Referenced by HLTDoubletDZ< T1, T2 >::hltFilter().
bool HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoChargedCandidate >::computeDZ | ( | edm::Event & | iEvent, |
T1Ref & | r1, | ||
T2Ref & | r2 | ||
) | const |
Definition at line 305 of file HLTDoubletDZ.cc.
References funct::abs(), reco::deltaR(), StorageManager_cfg::e1, HLTDoubletDZ< T1, T2 >::electronToken_, edm::Event::getByToken(), reco::Electron::gsfTrack(), edm::HandleBase::isValid(), HLTDoubletDZ< T1, T2 >::maxDZ_, HLTDoubletDZ< T1, T2 >::minDR_, HLTDoubletDZ< T1, T2 >::minPixHitsForDZ_, reco::RecoChargedCandidate::track(), and reco::LeafCandidate::vz().
bool HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoEcalCandidate >::computeDZ | ( | edm::Event & | iEvent, |
T1Ref & | r1, | ||
T2Ref & | r2 | ||
) | const |
Definition at line 333 of file HLTDoubletDZ.cc.
References funct::abs(), reco::deltaR(), HLTDoubletDZ< T1, T2 >::electronToken_, edm::Event::getByToken(), reco::Electron::gsfTrack(), edm::HandleBase::isValid(), HLTDoubletDZ< T1, T2 >::maxDZ_, HLTDoubletDZ< T1, T2 >::minDR_, HLTDoubletDZ< T1, T2 >::minPixHitsForDZ_, reco::RecoChargedCandidate::track(), and reco::LeafCandidate::vz().
bool HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoEcalCandidate >::computeDZ | ( | edm::Event & | iEvent, |
T1Ref & | r1, | ||
T2Ref & | r2 | ||
) | const |
Definition at line 361 of file HLTDoubletDZ.cc.
References funct::abs(), reco::deltaR(), StorageManager_cfg::e1, HLTDoubletDZ< T1, T2 >::electronToken_, edm::Event::getByToken(), reco::Electron::gsfTrack(), edm::HandleBase::isValid(), HLTDoubletDZ< T1, T2 >::maxDZ_, HLTDoubletDZ< T1, T2 >::minDR_, HLTDoubletDZ< T1, T2 >::minPixHitsForDZ_, and reco::LeafCandidate::vz().
bool HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoChargedCandidate >::computeDZ | ( | edm::Event & | iEvent, |
T1Ref & | r1, | ||
T2Ref & | r2 | ||
) | const |
Definition at line 390 of file HLTDoubletDZ.cc.
References funct::abs(), reco::deltaR(), HLTDoubletDZ< T1, T2 >::maxDZ_, HLTDoubletDZ< T1, T2 >::minDR_, HLTDoubletDZ< T1, T2 >::minPixHitsForDZ_, reco::RecoChargedCandidate::track(), and reco::LeafCandidate::vz().
|
static |
Definition at line 132 of file HLTDoubletDZ.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.
void HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoEcalCandidate >::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) |
Definition at line 152 of file HLTDoubletDZ.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.
void HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoEcalCandidate >::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) |
Definition at line 174 of file HLTDoubletDZ.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.
void HLTDoubletDZ< reco::RecoEcalCandidate, reco::RecoChargedCandidate >::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) |
Definition at line 196 of file HLTDoubletDZ.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.
void HLTDoubletDZ< reco::RecoChargedCandidate, reco::RecoChargedCandidate >::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) |
Definition at line 218 of file HLTDoubletDZ.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.
bool HLTDoubletDZ< T1, T2 >::getCollections | ( | edm::Event & | iEvent, |
std::vector< T1Ref > & | coll1, | ||
std::vector< T2Ref > & | coll2, | ||
trigger::TriggerFilterObjectWithRefs & | filterproduct | ||
) | const |
Definition at line 241 of file HLTDoubletDZ.cc.
References trigger::TriggerFilterObjectWithRefs::addCollectionTag(), edm::InputTag::encode(), edm::Event::getByToken(), trigger::TriggerRefsCollections::getObjects(), edm::Event::getProvenance(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, HLT_2018_cff::InputTag, HLTDoubletDZ< T1, T2 >::inputToken1_, HLTDoubletDZ< T1, T2 >::inputToken2_, instance, label, edm::Provenance::moduleLabel(), HLTDoubletDZ< T1, T2 >::originTag1_, HLTDoubletDZ< T1, T2 >::originTag2_, LaserDQM_cfg::process, edm::Provenance::processName(), edm::Provenance::productInstanceName(), HLTFilter::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, HLTDoubletDZ< T1, T2 >::triggerType1_, and HLTDoubletDZ< T1, T2 >::triggerType2_.
Referenced by HLTDoubletDZ< T1, T2 >::hltFilter().
|
overridevirtual |
Implements HLTFilter.
Definition at line 409 of file HLTDoubletDZ.cc.
References accept(), trigger::TriggerRefsCollections::addObject(), HLTDoubletDZ< T1, T2 >::checkSC_, HLTDoubletDZ< T1, T2 >::computeDZ(), HLTDoubletDZ< T1, T2 >::getCollections(), Exhume::I, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, edm::Ref< C, T, F >::isNonnull(), HLTDoubletDZ< T1, T2 >::min_N_, dqmiodumpmetadata::n, diffTwoXMLs::r1, diffTwoXMLs::r2, HLTDoubletDZ< T1, T2 >::same_, HLTDoubletDZ< T1, T2 >::triggerType1_, and HLTDoubletDZ< T1, T2 >::triggerType2_.
|
private |
Definition at line 61 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::hltFilter().
|
private |
Definition at line 54 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::computeDZ().
|
private |
Definition at line 50 of file HLTDoubletDZ.h.
|
private |
Definition at line 51 of file HLTDoubletDZ.h.
|
private |
Definition at line 52 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections().
|
private |
Definition at line 53 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections().
|
private |
Definition at line 58 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::computeDZ().
|
private |
Definition at line 60 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::hltFilter().
|
private |
Definition at line 57 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::computeDZ().
|
private |
Definition at line 59 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::computeDZ().
|
private |
Definition at line 48 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections().
|
private |
Definition at line 49 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections().
|
private |
Definition at line 62 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::hltFilter().
|
private |
Definition at line 55 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections(), and HLTDoubletDZ< T1, T2 >::hltFilter().
|
private |
Definition at line 56 of file HLTDoubletDZ.h.
Referenced by HLTDoubletDZ< T1, T2 >::getCollections(), and HLTDoubletDZ< T1, T2 >::hltFilter().