Public Types | |
enum | Charge { Charge::NEG = -1, Charge::POS = +1 } |
Public Member Functions | |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &iEvent, const edm::EventSetup &iSetup) const override |
TrackingRegionsFromSuperClustersProducer (const edm::ParameterSet &cfg, edm::ConsumesCollector &&cc) | |
~TrackingRegionsFromSuperClustersProducer () override | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::unique_ptr< TrackingRegion > | createTrackingRegion (const reco::SuperCluster &superCluster, const GlobalPoint &vtxPos, const double deltaZVertex, const Charge charge, const MeasurementTrackerEvent *measTrackerEvent, const MagneticField &magField, const MultipleScatteringParametrisationMaker *msmaker) const |
GlobalPoint | getVtxPos (const edm::Event &iEvent, double &deltaZVertex) const |
void | validateConfigSettings () const |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
double | defaultZ_ |
double | deltaEtaRegion_ |
double | deltaPhiRegion_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magFieldToken_ |
edm::EDGetTokenT< MeasurementTrackerEvent > | measTrackerEventToken_ |
double | minBSDeltaZ_ |
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > | msmakerToken_ |
double | nrSigmaForBSDeltaZ_ |
double | originHalfLength_ |
double | originRadius_ |
bool | precise_ |
double | ptMin_ |
std::vector< edm::EDGetTokenT< std::vector< reco::SuperClusterRef > > > | superClustersTokens_ |
bool | useZInBeamspot_ |
bool | useZInVertex_ |
edm::EDGetTokenT< reco::VertexCollection > | verticesToken_ |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | whereToUseMeasTracker_ |
Definition at line 88 of file TrackingRegionsFromSuperClustersProducer.cc.
|
strong |
Enumerator | |
---|---|
NEG | |
POS |
Definition at line 90 of file TrackingRegionsFromSuperClustersProducer.cc.
TrackingRegionsFromSuperClustersProducer::TrackingRegionsFromSuperClustersProducer | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 154 of file TrackingRegionsFromSuperClustersProducer.cc.
|
inlineoverride |
Definition at line 95 of file TrackingRegionsFromSuperClustersProducer.cc.
|
private |
Definition at line 293 of file TrackingRegionsFromSuperClustersProducer.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, deltaEtaRegion_, deltaPhiRegion_, HBHEDarkening_cff::energy, reco::CaloCluster::energy(), trackingTools::ftsFromVertexToPoint(), ConfigBuilder::magField, originRadius_, reco::CaloCluster::position(), precise_, ptMin_, and whereToUseMeasTracker_.
Referenced by regions().
|
static |
Definition at line 196 of file TrackingRegionsFromSuperClustersProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 261 of file TrackingRegionsFromSuperClustersProducer.cc.
References beamSpotToken_, qcdUeDQM_cfi::bsPos, defaultZ_, iEvent, WZElectronSkims53X_cff::max, minBSDeltaZ_, nrSigmaForBSDeltaZ_, originHalfLength_, beamSpotPI::sigmaZ, mathSSE::sqrt(), useZInBeamspot_, useZInVertex_, and verticesToken_.
Referenced by regions().
|
overridevirtual |
Implements TrackingRegionProducer.
Definition at line 231 of file TrackingRegionsFromSuperClustersProducer.cc.
References createTrackingRegion(), edm::EventSetup::getData(), getVtxPos(), iEvent, edm::EDGetTokenT< T >::isUninitialized(), ConfigBuilder::magField, magFieldToken_, measTrackerEventToken_, msmakerToken_, NEG, POS, precise_, superClustersTokens_, and isoTrack_cff::trackingRegions.
|
private |
Definition at line 319 of file TrackingRegionsFromSuperClustersProducer.cc.
References Exception, useZInBeamspot_, and useZInVertex_.
|
private |
Definition at line 137 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 131 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 126 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion().
|
private |
Definition at line 127 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion().
|
private |
Definition at line 141 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by regions().
|
private |
Definition at line 138 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by regions().
|
private |
Definition at line 132 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 142 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by regions().
|
private |
Definition at line 130 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 125 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 124 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion().
|
private |
Definition at line 133 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion(), and regions().
|
private |
Definition at line 123 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion().
|
private |
Definition at line 139 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by regions().
|
private |
Definition at line 129 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos(), and validateConfigSettings().
|
private |
Definition at line 128 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos(), and validateConfigSettings().
|
private |
Definition at line 136 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by getVtxPos().
|
private |
Definition at line 134 of file TrackingRegionsFromSuperClustersProducer.cc.
Referenced by createTrackingRegion().