#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 | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
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_, GlobalTrackingGeometry::idToDet(), jetDimX, jetDimY, pitchX_, pitchY_, reco::Vertex::position(), HLTBitAnalyser_cfi::simhits, GeomDet::specificSurface(), GloballyPositioned< T >::toLocal(), x, and y.
Referenced by produce().
|
private |
Definition at line 404 of file JetCoreMCtruthSeedGenerator.cc.
References createfilelist::int, dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, pfDeepBoostedJetPreprocessParams_cfi::sv, CoreSimTrack::trackId(), parallelization::uint, findQualityFiles::v, and SimTrack::vertIndex().
Referenced by produce().
|
private |
Definition at line 429 of file JetCoreMCtruthSeedGenerator.cc.
References CoreSimTrack::charge(), PbPb_ZMuSkimMuonDPG_cff::deltaR, deltaR_, createfilelist::int, dqmiolumiharvest::j, metsig::jet, CoreSimTrack::momentum(), convertSQLitetoXML_cfg::output, pfDeepBoostedJetPreprocessParams_cfi::sv, parallelization::uint, findQualityFiles::v, and SimTrack::vertIndex().
Referenced by produce().
|
private |
Definition at line 316 of file JetCoreMCtruthSeedGenerator.cc.
References funct::abs(), bsc_activity_cfg::clusters, findIntersection(), GeomDet::geographicalId(), geometry_, GlobalTrackingGeometry::idToDet(), 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(), submitPVResolutionJobs::desc, HLT_2022v14_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 306 of file JetCoreMCtruthSeedGenerator.cc.
References DeadROC_duringRun::dir, StraightLinePlaneCrossing::position(), GeomDet::specificSurface(), and bphysicsOniaDQM_cfi::vertex.
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(), MillePedeFileConverter_cfg::e, PV3DBase< T, PVType, FrameType >::eta(), JetChargeProducer_cfi::exp, GeomDet::geographicalId(), geomEsToken_, geometry_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), iEvent, inclusiveConeSeed_, inputPixelClusters_, createfilelist::int, metsig::jet, jetEta_, jetPt_, eostools::move(), convertSQLitetoXML_cfg::output, PV3DBase< T, PVType, FrameType >::phi(), pixelClusters_, HLT_2022v14_cff::pixelCPE, pixelCPEEsToken_, createTree::pp, PSimHitToken_, DiDispStaMuonMonitor_cfi::pt, ptMin_, mps_fire::result, seedParFilling(), simhits_, simtracksToken_, simvertexToken_, funct::sin(), splittedClusterDirections(), GeomDet::surface(), Surface::toGlobal(), GloballyPositioned< T >::toLocal(), tTopoEsToken_, parallelization::uint, AlignmentTracksFromVertexSelector_cfi::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, metsig::jet, CoreSimTrack::momentum(), convertSQLitetoXML_cfg::output, GeomDet::specificSurface(), pfDeepBoostedJetPreprocessParams_cfi::sv, GloballyPositioned< T >::toLocal(), parallelization::uint, and PV3DBase< T, PVType, FrameType >::x().
Referenced by produce().
|
private |
Definition at line 353 of file JetCoreMCtruthSeedGenerator.cc.
References bsc_activity_cfg::clusters, PbPb_ZMuSkimMuonDPG_cff::deltaR, deltaR_, GeomDet::geographicalId(), geometry_, GlobalTrackingGeometry::idToDet(), GlobalTrackingGeometry::idToDetUnit(), metsig::jet, phase1PixelTopology::layer, TrackerTopology::layer(), HLT_2022v14_cff::pixelCPE, reco::Vertex::position(), 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().