#include <trackJet/JetCoreMCtruthSeedGenerator/plugins/JetCoreMCtruthSeedGenerator.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Public Attributes | |
bool | inclusiveConeSeed_ |
double | jetEta_ |
double | jetPt_ |
double | pitchX_ = 0.01 |
double | pitchY_ = 0.015 |
Static Public Attributes | |
static constexpr int | jetDimX = 30 |
static constexpr int | jetDimY = 30 |
Private Member Functions | |
void | beginJob () override |
std::vector< PSimHit > | coreHitsFilling (std::vector< PSimHit >, const GeomDet *, GlobalVector, const reco::Vertex &) |
std::pair< std::vector < SimTrack >, std::vector < SimVertex > > | coreTracksFilling (std::vector< PSimHit >, const std::vector< SimTrack >, const std::vector< SimVertex >) |
std::pair< std::vector < SimTrack >, std::vector < SimVertex > > | coreTracksFillingDeltaR (const std::vector< SimTrack >, const std::vector< SimVertex >, const GeomDet *, const reco::Candidate &, const reco::Vertex &) |
const GeomDet * | DetectorSelector (int, const reco::Candidate &, GlobalVector, const reco::Vertex &, const TrackerTopology *const, const edmNew::DetSetVector< SiPixelCluster > &) |
void | endJob () override |
std::pair< bool, Basic3DVector < float > > | findIntersection (const GlobalVector &, const reco::Candidate::Point &, const GeomDet *) |
void | produce (edm::Event &, const edm::EventSetup &) override |
std::vector< std::array < double, 5 > > | seedParFilling (std::pair< std::vector< SimTrack >, std::vector< SimVertex >>, const GeomDet *, const reco::Candidate &) |
std::vector< GlobalVector > | splittedClusterDirections (const reco::Candidate &, const TrackerTopology *const, const PixelClusterParameterEstimator *, const reco::Vertex &, int, const edmNew::DetSetVector< SiPixelCluster > &) |
Private Attributes | |
double | centralMIPCharge_ |
double | chargeFracMin_ |
edm::EDGetTokenT< edm::View < reco::Candidate > > | cores_ |
double | deltaR_ |
const edm::ESGetToken < GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | geomEsToken_ |
edm::ESHandle < GlobalTrackingGeometry > | geometry_ |
edm::Handle < edmNew::DetSetVector < SiPixelCluster > > | inputPixelClusters_ |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > | pixelClusters_ |
const edm::ESGetToken < PixelClusterParameterEstimator, TkPixelCPERecord > | pixelCPEEsToken_ |
edm::EDGetTokenT< std::vector < PSimHit > > | PSimHitToken_ |
double | ptMin_ |
edm::Handle< std::vector < PSimHit > > | simhits_ |
edm::EDGetTokenT< std::vector < SimTrack > > | simtracksToken_ |
edm::EDGetTokenT< std::vector < SimVertex > > | simvertexToken_ |
const edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | tTopoEsToken_ |
edm::EDGetTokenT< std::vector < reco::Vertex > > | vertices_ |
Additional Inherited Members | |
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 |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: [one line class summary] Implementation: [Notes on implementation]
Definition at line 77 of file JetCoreMCtruthSeedGenerator.cc.
|
explicit |
Definition at line 159 of file JetCoreMCtruthSeedGenerator.cc.
|
override |
Definition at line 178 of file JetCoreMCtruthSeedGenerator.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 495 of file JetCoreMCtruthSeedGenerator.cc.
|
private |
Definition at line 380 of file JetCoreMCtruthSeedGenerator.cc.
References funct::abs(), findIntersection(), geometry_, inter, jetDimX, jetDimY, pitchX_, pitchY_, reco::Vertex::position(), GeomDet::specificSurface(), GloballyPositioned< T >::toLocal(), x, and y.
Referenced by produce().
|
private |
Definition at line 404 of file JetCoreMCtruthSeedGenerator.cc.
References dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, CoreSimTrack::trackId(), parallelization::uint(), findQualityFiles::v, SimVertex::vertexId(), and SimTrack::vertIndex().
Referenced by produce().
|
private |
Definition at line 429 of file JetCoreMCtruthSeedGenerator.cc.
References CoreSimTrack::charge(), HLT_FULL_cff::deltaR, deltaR_, dqmiolumiharvest::j, CoreSimTrack::momentum(), convertSQLitetoXML_cfg::output, reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), parallelization::uint(), findQualityFiles::v, SimVertex::vertexId(), and SimTrack::vertIndex().
Referenced by produce().
|
private |
Definition at line 316 of file JetCoreMCtruthSeedGenerator.cc.
References funct::abs(), findIntersection(), GeomDet::geographicalId(), geometry_, inter, TrackerTopology::layer(), convertSQLitetoXML_cfg::output, reco::Vertex::position(), GeomDet::specificSurface(), GloballyPositioned< T >::toLocal(), x, and y.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 498 of file JetCoreMCtruthSeedGenerator.cc.
|
static |
Definition at line 501 of file JetCoreMCtruthSeedGenerator.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 306 of file JetCoreMCtruthSeedGenerator.cc.
References StraightLinePlaneCrossing::position(), GeomDet::specificSurface(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by coreHitsFilling(), DetectorSelector(), and seedParFilling().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 180 of file JetCoreMCtruthSeedGenerator.cc.
References alongMomentum, coreHitsFilling(), HLT_FULL_cff::cores, cores_, coreTracksFilling(), coreTracksFillingDeltaR(), DetectorSelector(), alignCSCRings::e, PV3DBase< T, PVType, FrameType >::eta(), funct::exp(), GeomDet::geographicalId(), geomEsToken_, geometry_, edm::Event::get(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), inclusiveConeSeed_, inputPixelClusters_, metsig::jet, jetEta_, jetPt_, eostools::move(), convertSQLitetoXML_cfg::output, PV3DBase< T, PVType, FrameType >::phi(), pixelClusters_, HLT_FULL_cff::pixelCPE, pixelCPEEsToken_, createTree::pp, PSimHitToken_, DiDispStaMuonMonitor_cfi::pt, ptMin_, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, mps_fire::result, seedParFilling(), simhits_, simtracksToken_, simvertexToken_, funct::sin(), splittedClusterDirections(), GeomDet::surface(), Surface::toGlobal(), GloballyPositioned< T >::toLocal(), tTopoEsToken_, parallelization::uint(), beam_dqm_sourceclient-live_cfg::vertices, vertices_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 459 of file JetCoreMCtruthSeedGenerator.cc.
References findIntersection(), dqmiolumiharvest::j, CoreSimTrack::momentum(), convertSQLitetoXML_cfg::output, CoreSimVertex::position(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), GeomDet::specificSurface(), GloballyPositioned< T >::toLocal(), parallelization::uint(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by produce().
|
private |
Definition at line 353 of file JetCoreMCtruthSeedGenerator.cc.
References HLT_FULL_cff::deltaR, deltaR_, GeomDet::geographicalId(), geometry_, TrackerTopology::layer(), PixelClusterParameterEstimator::localParametersV(), reco::Vertex::position(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), GeomDet::surface(), and Surface::toGlobal().
Referenced by produce().
|
private |
Definition at line 116 of file JetCoreMCtruthSeedGenerator.cc.
|
private |
Definition at line 115 of file JetCoreMCtruthSeedGenerator.cc.
|
private |
Definition at line 107 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 114 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreTracksFillingDeltaR(), and splittedClusterDirections().
|
private |
Definition at line 99 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 102 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreHitsFilling(), DetectorSelector(), produce(), and splittedClusterDirections().
bool JetCoreMCtruthSeedGenerator::inclusiveConeSeed_ |
Definition at line 90 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 106 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
static |
Definition at line 88 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreHitsFilling().
|
static |
Definition at line 89 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreHitsFilling().
double JetCoreMCtruthSeedGenerator::jetEta_ |
Definition at line 85 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
double JetCoreMCtruthSeedGenerator::jetPt_ |
Definition at line 84 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
double JetCoreMCtruthSeedGenerator::pitchX_ = 0.01 |
Definition at line 86 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreHitsFilling().
double JetCoreMCtruthSeedGenerator::pitchY_ = 0.015 |
Definition at line 87 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by coreHitsFilling().
|
private |
Definition at line 105 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 100 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 110 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 113 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 111 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 108 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 109 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 101 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().
|
private |
Definition at line 104 of file JetCoreMCtruthSeedGenerator.cc.
Referenced by produce().