#include <TrackingRegionsFromSuperClustersProducer.h>
Public Types | |
enum | Charge { Charge::NEG =-1, Charge::POS =+1 } |
Public Member Functions | |
virtual 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) | |
virtual | ~TrackingRegionsFromSuperClustersProducer () |
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 |
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_ |
edm::EDGetTokenT< MeasurementTrackerEvent > | measTrackerEventToken_ |
double | minBSDeltaZ_ |
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 80 of file TrackingRegionsFromSuperClustersProducer.h.
|
strong |
Enumerator | |
---|---|
NEG | |
POS |
Definition at line 83 of file TrackingRegionsFromSuperClustersProducer.h.
TrackingRegionsFromSuperClustersProducer::TrackingRegionsFromSuperClustersProducer | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 151 of file TrackingRegionsFromSuperClustersProducer.h.
References AlignmentProducer_cff::beamSpotTag, beamSpotToken_, defaultZ_, deltaEtaRegion_, deltaPhiRegion_, fillDescriptions(), edm::ParameterSet::getParameter(), RectangularEtaPhiTrackingRegion::kNever, measTrackerEventToken_, minBSDeltaZ_, nrSigmaForBSDeltaZ_, originHalfLength_, originRadius_, precise_, ptMin_, AlCaHLTBitMon_QueryRunRegistry::string, superClustersTokens_, GlobalPosition_Frontier_DevDB_cff::tag, useZInBeamspot_, useZInVertex_, validateConfigSettings(), verticesToken_, and whereToUseMeasTracker_.
|
inlinevirtual |
Definition at line 92 of file TrackingRegionsFromSuperClustersProducer.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, createTrackingRegion(), fillDescriptions(), getVtxPos(), iEvent, regions(), and validateConfigSettings().
|
private |
Definition at line 286 of file TrackingRegionsFromSuperClustersProducer.h.
References deltaEtaRegion_, deltaPhiRegion_, reco::CaloCluster::energy(), FTSFromVertexToPointFactory::get(), FreeTrajectoryState::momentum(), originRadius_, reco::CaloCluster::position(), precise_, ptMin_, and whereToUseMeasTracker_.
Referenced by getVtxPos(), regions(), and ~TrackingRegionsFromSuperClustersProducer().
|
static |
Definition at line 192 of file TrackingRegionsFromSuperClustersProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), regions(), edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TrackingRegionsFromSuperClustersProducer(), and ~TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 249 of file TrackingRegionsFromSuperClustersProducer.h.
References beamSpotToken_, createTrackingRegion(), defaultZ_, hpstanc_transforms::max, minBSDeltaZ_, nrSigmaForBSDeltaZ_, originHalfLength_, MetAnalyzer::pv(), fftjetvertexadder_cfi::sigmaZ, mathSSE::sqrt(), useZInBeamspot_, useZInVertex_, and verticesToken_.
Referenced by regions(), and ~TrackingRegionsFromSuperClustersProducer().
|
overridevirtual |
Implements TrackingRegionProducer.
Definition at line 223 of file TrackingRegionsFromSuperClustersProducer.h.
References createTrackingRegion(), edm::EventSetup::get(), getVtxPos(), edm::EDGetTokenT< T >::isUninitialized(), measTrackerEventToken_, NEG, POS, superClustersTokens_, and HiRegitMuonDetachedTripletStep_cff::trackingRegions.
Referenced by fillDescriptions(), and ~TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 307 of file TrackingRegionsFromSuperClustersProducer.h.
References Exception, useZInBeamspot_, and useZInVertex_.
Referenced by TrackingRegionsFromSuperClustersProducer(), and ~TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 133 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 127 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 122 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 123 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 134 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by regions(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 128 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 126 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 121 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 120 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 129 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 119 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 135 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by regions(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 125 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), TrackingRegionsFromSuperClustersProducer(), and validateConfigSettings().
|
private |
Definition at line 124 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), TrackingRegionsFromSuperClustersProducer(), and validateConfigSettings().
|
private |
Definition at line 132 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by getVtxPos(), and TrackingRegionsFromSuperClustersProducer().
|
private |
Definition at line 130 of file TrackingRegionsFromSuperClustersProducer.h.
Referenced by createTrackingRegion(), and TrackingRegionsFromSuperClustersProducer().