CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
GoodSeedProducer Class Referencefinal

#include <GoodSeedProducer.h>

Inheritance diagram for GoodSeedProducer:
edm::stream::EDProducer< edm::GlobalCache< goodseedhelpers::HeavyObjectCache > > edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 GoodSeedProducer (const edm::ParameterSet &, const goodseedhelpers::HeavyObjectCache *)
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< goodseedhelpers::HeavyObjectCache > >
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void globalEndJob (goodseedhelpers::HeavyObjectCache const *)
 
static std::unique_ptr
< goodseedhelpers::HeavyObjectCache
initializeGlobalCache (const edm::ParameterSet &conf)
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Types

typedef TrajectoryStateOnSurface TSOS
 

Private Member Functions

virtual 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...
 
virtual 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_
 
float eP
 VARIABLES NEEDED FOR TMVA. More...
 
float eta
 
std::unique_ptr< TrajectoryFitterfitter_
 Fitter. More...
 
std::string fitterName_
 
double HcalIsolWindow_
 
TkClonerImpl hitCloner
 
double maxEp_
 
double maxEta_
 
double maxHoverP_
 
double maxPt_
 
std::string method_
 TMVA method. More...
 
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
 
int nHitsInSeed_
 Number of hits in the seed;. More...
 
edm::EDGetTokenT
< reco::PFClusterCollection
pfCLusTagECLabel_
 
edm::EDGetTokenT
< reco::PFClusterCollection
pfCLusTagHCLabel_
 
edm::EDGetTokenT
< reco::PFClusterCollection
pfCLusTagPSLabel_
 
PFGeometry pfGeometry_
 
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_
 
float pt
 
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< PFResolutionMapresMapEtaECAL_
 
std::unique_ptr< PFResolutionMapresMapPhiECAL_
 
std::unique_ptr
< TrajectorySmoother
smoother_
 Smoother. More...
 
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
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
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 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)
 

Detailed Description

Definition at line 68 of file GoodSeedProducer.h.

Member Typedef Documentation

Definition at line 69 of file GoodSeedProducer.h.

Constructor & Destructor Documentation

GoodSeedProducer::GoodSeedProducer ( const edm::ParameterSet iConfig,
const goodseedhelpers::HeavyObjectCache  
)
explicit

Definition at line 42 of file GoodSeedProducer.cc.

Member Function Documentation

void GoodSeedProducer::beginRun ( const edm::Run run,
const edm::EventSetup es 
)
overrideprivatevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 520 of file GoodSeedProducer.cc.

void GoodSeedProducer::fillPreIdRefValueMap ( edm::Handle< reco::TrackCollection tkhandle,
const edm::OrphanHandle< reco::PreIdCollection > &  preidhandle,
edm::ValueMap< reco::PreIdRef >::Filler &  filler 
)
private

Definition at line 560 of file GoodSeedProducer.cc.

int GoodSeedProducer::getBin ( float  eta,
float  pt 
)
private

Find the bin in pt and eta.

Definition at line 544 of file GoodSeedProducer.cc.

static void GoodSeedProducer::globalEndJob ( goodseedhelpers::HeavyObjectCache const *  )
inlinestatic

Definition at line 78 of file GoodSeedProducer.h.

static std::unique_ptr<goodseedhelpers::HeavyObjectCache> GoodSeedProducer::initializeGlobalCache ( const edm::ParameterSet conf)
inlinestatic

Definition at line 74 of file GoodSeedProducer.h.

void GoodSeedProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDProducerBase.

Definition at line 139 of file GoodSeedProducer.cc.

Member Data Documentation

math::XYZVector GoodSeedProducer::B_
private

B field.

Definition at line 184 of file GoodSeedProducer.h.

float GoodSeedProducer::chikfred
private

Definition at line 174 of file GoodSeedProducer.h.

float GoodSeedProducer::chiRatio
private

Definition at line 173 of file GoodSeedProducer.h.

float GoodSeedProducer::chired
private

Definition at line 173 of file GoodSeedProducer.h.

double GoodSeedProducer::clusThreshold_
private

Cut on the energy of the clusters.

Definition at line 131 of file GoodSeedProducer.h.

edm::ParameterSet GoodSeedProducer::conf_
private

Definition at line 153 of file GoodSeedProducer.h.

bool GoodSeedProducer::disablePreId_
private

switch to disable the pre-id

Definition at line 141 of file GoodSeedProducer.h.

float GoodSeedProducer::dpt
private

Definition at line 173 of file GoodSeedProducer.h.

double GoodSeedProducer::EcalStripSumE_deltaEta_
private

Definition at line 124 of file GoodSeedProducer.h.

double GoodSeedProducer::EcalStripSumE_deltaPhiOverQ_maxValue_
private

Definition at line 126 of file GoodSeedProducer.h.

double GoodSeedProducer::EcalStripSumE_deltaPhiOverQ_minValue_
private

Definition at line 125 of file GoodSeedProducer.h.

double GoodSeedProducer::EcalStripSumE_minClusEnergy_
private

Definition at line 123 of file GoodSeedProducer.h.

float GoodSeedProducer::eP
private

VARIABLES NEEDED FOR TMVA.

Definition at line 173 of file GoodSeedProducer.h.

float GoodSeedProducer::eta
private

Definition at line 173 of file GoodSeedProducer.h.

Referenced by Particle.Particle::__str__().

std::unique_ptr<TrajectoryFitter> GoodSeedProducer::fitter_
private

Fitter.

Definition at line 103 of file GoodSeedProducer.h.

std::string GoodSeedProducer::fitterName_
private

Definition at line 160 of file GoodSeedProducer.h.

double GoodSeedProducer::HcalIsolWindow_
private

Definition at line 122 of file GoodSeedProducer.h.

TkClonerImpl GoodSeedProducer::hitCloner
private

Definition at line 109 of file GoodSeedProducer.h.

double GoodSeedProducer::maxEp_
private

Definition at line 135 of file GoodSeedProducer.h.

double GoodSeedProducer::maxEta_
private

Definition at line 120 of file GoodSeedProducer.h.

double GoodSeedProducer::maxHoverP_
private

Definition at line 128 of file GoodSeedProducer.h.

double GoodSeedProducer::maxPt_
private

Definition at line 119 of file GoodSeedProducer.h.

std::string GoodSeedProducer::method_
private

TMVA method.

Definition at line 181 of file GoodSeedProducer.h.

double GoodSeedProducer::Min_dr_
private

Definition at line 175 of file GoodSeedProducer.h.

double GoodSeedProducer::minEoverP_
private

Definition at line 127 of file GoodSeedProducer.h.

double GoodSeedProducer::minEp_
private

Min and MAx allowed values forEoverP.

Definition at line 134 of file GoodSeedProducer.h.

double GoodSeedProducer::minPt_
private

Minimum transverse momentum and maximum pseudorapidity.

Definition at line 118 of file GoodSeedProducer.h.

float GoodSeedProducer::nhit
private

Definition at line 173 of file GoodSeedProducer.h.

int GoodSeedProducer::nHitsInSeed_
private

Number of hits in the seed;.

Definition at line 115 of file GoodSeedProducer.h.

edm::EDGetTokenT<reco::PFClusterCollection> GoodSeedProducer::pfCLusTagECLabel_
private

Definition at line 155 of file GoodSeedProducer.h.

edm::EDGetTokenT<reco::PFClusterCollection> GoodSeedProducer::pfCLusTagHCLabel_
private

Definition at line 156 of file GoodSeedProducer.h.

edm::EDGetTokenT<reco::PFClusterCollection> GoodSeedProducer::pfCLusTagPSLabel_
private

Definition at line 154 of file GoodSeedProducer.h.

PFGeometry GoodSeedProducer::pfGeometry_
private

Definition at line 189 of file GoodSeedProducer.h.

std::unique_ptr<PFTrackTransformer> GoodSeedProducer::pfTransformer_
private

PFTrackTransformer.

Definition at line 112 of file GoodSeedProducer.h.

std::string GoodSeedProducer::preidckf_
private

Name of the Seed(Ckf) Collection.

Definition at line 94 of file GoodSeedProducer.h.

std::string GoodSeedProducer::preidgsf_
private

Name of the Seed(Gsf) Collection.

Definition at line 97 of file GoodSeedProducer.h.

std::string GoodSeedProducer::preidname_
private

Name of the preid Collection (FB)

Definition at line 100 of file GoodSeedProducer.h.

bool GoodSeedProducer::produceCkfseed_
private

Produce the Seed for Ckf tracks?

Definition at line 138 of file GoodSeedProducer.h.

bool GoodSeedProducer::producePreId_
private

Produce the pre-id debugging collection.

Definition at line 144 of file GoodSeedProducer.h.

std::string GoodSeedProducer::propagatorName_
private

Definition at line 162 of file GoodSeedProducer.h.

float GoodSeedProducer::pt
private
double GoodSeedProducer::PtThresholdSavePredId_
private

Threshold to save Pre Idinfo.

Definition at line 147 of file GoodSeedProducer.h.

std::map<reco::TrackRef,unsigned> GoodSeedProducer::refMap_
private

Map used to create the TrackRef, PreIdRef value map.

Definition at line 187 of file GoodSeedProducer.h.

std::unique_ptr<PFResolutionMap> GoodSeedProducer::resMapEtaECAL_
private

Definition at line 165 of file GoodSeedProducer.h.

std::unique_ptr<PFResolutionMap> GoodSeedProducer::resMapPhiECAL_
private

Definition at line 166 of file GoodSeedProducer.h.

std::unique_ptr<TrajectorySmoother> GoodSeedProducer::smoother_
private

Smoother.

Definition at line 106 of file GoodSeedProducer.h.

std::string GoodSeedProducer::smootherName_
private

Definition at line 161 of file GoodSeedProducer.h.

float GoodSeedProducer::thr[150]
private

vector of thresholds for different bins of eta and pt

Definition at line 150 of file GoodSeedProducer.h.

std::string GoodSeedProducer::trackerRecHitBuilderName_
private

Definition at line 163 of file GoodSeedProducer.h.

reco::TrackBase::TrackQuality GoodSeedProducer::trackQuality_
private

Definition at line 170 of file GoodSeedProducer.h.

std::vector<edm::EDGetTokenT<reco::TrackCollection > > GoodSeedProducer::tracksContainers_
private

Definition at line 158 of file GoodSeedProducer.h.

std::vector<edm::EDGetTokenT<std::vector<Trajectory> > > GoodSeedProducer::trajContainers_
private

Definition at line 157 of file GoodSeedProducer.h.

float GoodSeedProducer::trk_ecalDeta
private

Definition at line 174 of file GoodSeedProducer.h.

float GoodSeedProducer::trk_ecalDphi
private

Definition at line 174 of file GoodSeedProducer.h.

bool GoodSeedProducer::useQuality_
private

TRACK QUALITY.

Definition at line 169 of file GoodSeedProducer.h.

bool GoodSeedProducer::useTmva_
private

USE OF TMVA.

Definition at line 178 of file GoodSeedProducer.h.