Public Member Functions | |
GoodSeedProducer (const edm::ParameterSet &, const goodseedhelpers::HeavyObjectCache *) | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< goodseedhelpers::HeavyObjectCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | globalEndJob (goodseedhelpers::HeavyObjectCache const *) |
static std::unique_ptr< goodseedhelpers::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Private Types | |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | beginRun (const edm::Run &run, const edm::EventSetup &) override |
void | fillPreIdRefValueMap (edm::Handle< reco::TrackCollection > tkhandle, const edm::OrphanHandle< reco::PreIdCollection > &, edm::ValueMap< reco::PreIdRef >::Filler &filler) |
int | getBin (float, float) |
Find the bin in pt and eta. More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
math::XYZVector | B_ |
B field. More... | |
float | chikfred |
float | chiRatio |
float | chired |
double | clusThreshold_ |
Cut on the energy of the clusters. More... | |
edm::ParameterSet | conf_ |
bool | disablePreId_ |
switch to disable the pre-id More... | |
float | dpt |
double | EcalStripSumE_deltaEta_ |
double | EcalStripSumE_deltaPhiOverQ_maxValue_ |
double | EcalStripSumE_deltaPhiOverQ_minValue_ |
double | EcalStripSumE_minClusEnergy_ |
std::string | fitterName_ |
double | HcalIsolWindow_ |
TkClonerImpl | hitCloner |
double | maxEp_ |
double | maxEta_ |
double | maxHoverP_ |
double | maxPt_ |
double | Min_dr_ |
double | minEoverP_ |
double | minEp_ |
Min and MAx allowed values forEoverP. More... | |
double | minPt_ |
Minimum transverse momentum and maximum pseudorapidity. More... | |
float | nhit |
VARIABLES NEEDED FOR TMVA. More... | |
int | nHitsInSeed_ |
Number of hits in the seed;. More... | |
edm::EDGetTokenT< reco::PFClusterCollection > | pfCLusTagECLabel_ |
edm::EDGetTokenT< reco::PFClusterCollection > | pfCLusTagHCLabel_ |
edm::EDGetTokenT< reco::PFClusterCollection > | pfCLusTagPSLabel_ |
std::unique_ptr< PFTrackTransformer > | pfTransformer_ |
PFTrackTransformer. More... | |
std::string | preidckf_ |
Name of the Seed(Ckf) Collection. More... | |
std::string | preidgsf_ |
Name of the Seed(Gsf) Collection. More... | |
std::string | preidname_ |
Name of the preid Collection (FB) More... | |
bool | produceCkfseed_ |
Produce the Seed for Ckf tracks? More... | |
bool | producePreId_ |
Produce the pre-id debugging collection. More... | |
std::string | propagatorName_ |
double | PtThresholdSavePredId_ |
Threshold to save Pre Idinfo. More... | |
std::map< reco::TrackRef, unsigned > | refMap_ |
Map used to create the TrackRef, PreIdRef value map. More... | |
std::unique_ptr< PFResolutionMap > | resMapEtaECAL_ |
std::unique_ptr< PFResolutionMap > | resMapPhiECAL_ |
std::string | smootherName_ |
float | thr [150] |
vector of thresholds for different bins of eta and pt More... | |
std::string | trackerRecHitBuilderName_ |
reco::TrackBase::TrackQuality | trackQuality_ |
std::vector< edm::EDGetTokenT< reco::TrackCollection > > | tracksContainers_ |
std::vector< edm::EDGetTokenT< std::vector< Trajectory > > > | trajContainers_ |
float | trk_ecalDeta |
float | trk_ecalDphi |
bool | useQuality_ |
TRACK QUALITY. More... | |
bool | useTmva_ |
USE OF TMVA. More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< goodseedhelpers::HeavyObjectCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 68 of file GoodSeedProducer.cc.
|
private |
Definition at line 69 of file GoodSeedProducer.cc.
|
explicit |
Definition at line 184 of file GoodSeedProducer.cc.
References clusThreshold_, disablePreId_, EcalStripSumE_deltaEta_, EcalStripSumE_deltaPhiOverQ_maxValue_, EcalStripSumE_deltaPhiOverQ_minValue_, EcalStripSumE_minClusEnergy_, fitterName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HcalIsolWindow_, mps_fire::i, LogDebug, maxEp_, maxEta_, maxHoverP_, maxPt_, Min_dr_, minEoverP_, minEp_, minPt_, nHitsInSeed_, pfCLusTagECLabel_, pfCLusTagHCLabel_, pfCLusTagPSLabel_, preidckf_, preidgsf_, preidname_, produceCkfseed_, producePreId_, PtThresholdSavePredId_, smootherName_, AlCaHLTBitMon_QueryRunRegistry::string, triggerMatcherToHLTDebug_cfi::tags, trackerRecHitBuilderName_, trackQuality_, tracksContainers_, trajContainers_, useQuality_, and useTmva_.
|
overrideprivate |
Definition at line 604 of file GoodSeedProducer.cc.
References B_, conf_, edm::FileInPath::fullPath(), edm::EventSetup::get(), get, edm::ParameterSet::getParameter(), HLT_FULL_cff::magneticField, pfTransformer_, resMapEtaECAL_, resMapPhiECAL_, and thr.
|
private |
Definition at line 650 of file GoodSeedProducer.cc.
References trigObjTnPSource_cfi::filler, vertices_cff::ntracks, refMap_, PDWG_EXOHSCP_cff::tracks, and contentValuesCheck::values.
Referenced by produce().
|
private |
Find the bin in pt and eta.
Definition at line 626 of file GoodSeedProducer.cc.
References PVValHelper::eta, LogDebug, and DiDispStaMuonMonitor_cfi::pt.
Referenced by produce().
|
inlinestatic |
Definition at line 78 of file GoodSeedProducer.cc.
|
inlinestatic |
Definition at line 74 of file GoodSeedProducer.cc.
|
overrideprivate |
Definition at line 272 of file GoodSeedProducer.cc.
References funct::abs(), B_, ALCARECOTkAlJpsiMuMu_cff::charge, chikfred, chiRatio, chired, Trajectory::chiSquared(), TrajectorySmoother::clone(), TrajectoryFitter::clone(), clusThreshold_, disablePreId_, dpt, flavorHistoryFilter_cfi::dr, EE, PVValHelper::eta, Basic3DVector< T >::eta(), f, JetMETHLTOfflineSource_cfi::feta, fillPreIdRefValueMap(), Trajectory::firstMeasurement(), fitterName_, dqmMemoryStats::float, edm::EventSetup::get(), get, getBin(), TrajectoryStateOnSurface::globalMomentum(), runTauDisplay::gp, hitCloner, mps_fire::i, iEvent, createfilelist::int, Trajectory::isValid(), Trajectory::lastMeasurement(), LogDebug, mag2(), HLT_FULL_cff::magneticField, maxEp_, maxEta_, maxPt_, Min_dr_, minEp_, minPt_, eostools::move(), nhit, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), pfCLusTagECLabel_, pfCLusTagHCLabel_, pfCLusTagPSLabel_, Pi, funct::pow(), preidckf_, preidgsf_, preidname_, produceCkfseed_, producePreId_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), BaseParticlePropagator::propagateToEcalEntrance(), DiDispStaMuonMonitor_cfi::pt, reco::PreId::pt(), PtThresholdSavePredId_, qcdUeDQM_cfi::quality, FastTrackerRecHitMaskProducer_cfi::recHits, refMap_, resMapEtaECAL_, resMapPhiECAL_, reco::ElectronSeed::setCtfTrack(), reco::PreId::setECALMatching(), reco::PreId::setECALMatchingProperties(), reco::PreId::setFinalDecision(), reco::PreId::setMVA(), reco::PreId::setTrack(), reco::PreId::setTrackFiltering(), reco::PreId::setTrackProperties(), smootherName_, mathSSE::sqrt(), thr, createJobs::tmp, trackerRecHitBuilderName_, trackQuality_, tracksContainers_, trk_ecalDeta, trk_ecalDphi, TwoPi, unit(), TrajectoryMeasurement::updatedState(), useQuality_, useTmva_, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
|
private |
B field.
Definition at line 174 of file GoodSeedProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 167 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 166 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 166 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Cut on the energy of the clusters.
Definition at line 124 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 146 of file GoodSeedProducer.cc.
Referenced by beginRun().
|
private |
switch to disable the pre-id
Definition at line 134 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 166 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 117 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 119 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 118 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 116 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 153 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 115 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 102 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 128 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 113 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 121 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 112 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 168 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 120 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Min and MAx allowed values forEoverP.
Definition at line 127 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Minimum transverse momentum and maximum pseudorapidity.
Definition at line 111 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
VARIABLES NEEDED FOR TMVA.
Definition at line 166 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Number of hits in the seed;.
Definition at line 108 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 148 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 149 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 147 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
|
private |
Name of the Seed(Ckf) Collection.
Definition at line 93 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Name of the Seed(Gsf) Collection.
Definition at line 96 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Name of the preid Collection (FB)
Definition at line 99 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Produce the Seed for Ckf tracks?
Definition at line 131 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Produce the pre-id debugging collection.
Definition at line 137 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 155 of file GoodSeedProducer.cc.
|
private |
Threshold to save Pre Idinfo.
Definition at line 140 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Map used to create the TrackRef, PreIdRef value map.
Definition at line 177 of file GoodSeedProducer.cc.
Referenced by fillPreIdRefValueMap(), and produce().
|
private |
Definition at line 158 of file GoodSeedProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 159 of file GoodSeedProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 154 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
vector of thresholds for different bins of eta and pt
Definition at line 143 of file GoodSeedProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 156 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 163 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 151 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
Definition at line 150 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer().
|
private |
Definition at line 167 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 167 of file GoodSeedProducer.cc.
Referenced by produce().
|
private |
TRACK QUALITY.
Definition at line 162 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().
|
private |
USE OF TMVA.
Definition at line 171 of file GoodSeedProducer.cc.
Referenced by GoodSeedProducer(), and produce().