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 Member Functions | Private Attributes
AlCaIsoTracksProducer Class Reference
Inheritance diagram for AlCaIsoTracksProducer:
edm::stream::EDProducer< edm::GlobalCache< AlCaIsoTracks::Counters > > edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 AlCaIsoTracksProducer (edm::ParameterSet const &, const AlCaIsoTracks::Counters *count)
 
virtual void endStream () override
 
virtual void produce (edm::Event &, edm::EventSetup const &) override
 
 ~AlCaIsoTracksProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< AlCaIsoTracks::Counters > >
 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 (const AlCaIsoTracks::Counters *counters)
 
static std::unique_ptr
< AlCaIsoTracks::Counters
initializeGlobalCache (edm::ParameterSet const &)
 
- 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 Member Functions

virtual void beginRun (edm::Run const &, edm::EventSetup const &) override
 
virtual void endRun (edm::Run const &, edm::EventSetup const &) override
 
reco::HcalIsolatedTrackCandidateCollectionselect (edm::Handle< edm::TriggerResults > &triggerResults, const std::vector< std::string > &triggerNames_, edm::Handle< reco::TrackCollection > &trkCollection, math::XYZPoint &leadPV, edm::Handle< EcalRecHitCollection > &barrelRecHitsHandle, edm::Handle< EcalRecHitCollection > &endcapRecHitsHandle, edm::Handle< HBHERecHitCollection > &hbhe, double ptL1, double etaL1, double phiL1)
 
void setPtEtaPhi (std::vector< edm::Ref< l1extra::L1JetParticleCollection > > &objref, double &ptL1, double &etaL1, double &phiL1)
 

Private Attributes

double a_charIsoR_
 
double a_coneR_
 
double a_mipR_
 
const MagneticFieldbField
 
double eEcalMax_
 
double eIsolation_
 
const CaloGeometrygeo
 
HLTConfigProvider hltConfig_
 
std::vector< std::string > HLTNames_
 
edm::InputTag labelBS_
 
edm::InputTag labelEB_
 
edm::InputTag labelEE_
 
edm::InputTag labelGenTrack_
 
edm::InputTag labelHBHE_
 
edm::InputTag labelHltGT_
 
std::string labelIsoTk_
 
edm::InputTag labelRecVtx_
 
edm::InputTag labelTriggerEvent_
 
edm::InputTag labelTriggerResults_
 
double maxRestrictionPt_
 
unsigned int nAll_
 
unsigned int nGood_
 
unsigned int nRun_
 
std::string processName_
 
double pTrackMin_
 
spr::trackSelectionParameters selectionParameter_
 
double slopeRestrictionPt_
 
std::string theTrackQuality_
 
edm::EDGetTokenT< reco::BeamSpottok_bs_
 
edm::EDGetTokenT
< EcalRecHitCollection
tok_EB_
 
edm::EDGetTokenT
< EcalRecHitCollection
tok_EE_
 
edm::EDGetTokenT
< reco::TrackCollection
tok_genTrack_
 
edm::EDGetTokenT
< HBHERecHitCollection
tok_hbhe_
 
edm::EDGetTokenT
< trigger::TriggerFilterObjectWithRefs
tok_hltGT_
 
edm::EDGetTokenT
< reco::VertexCollection
tok_recVtx_
 
edm::EDGetTokenT
< trigger::TriggerEvent
tok_trigEvt_
 
edm::EDGetTokenT
< edm::TriggerResults
tok_trigRes_
 
std::vector< std::string > trigNames_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< AlCaIsoTracks::Counters > >
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 87 of file AlCaIsoTracksProducer.cc.

Constructor & Destructor Documentation

AlCaIsoTracksProducer::AlCaIsoTracksProducer ( edm::ParameterSet const &  iConfig,
const AlCaIsoTracks::Counters count 
)
explicit

Definition at line 135 of file AlCaIsoTracksProducer.cc.

AlCaIsoTracksProducer::~AlCaIsoTracksProducer ( )

Definition at line 222 of file AlCaIsoTracksProducer.cc.

Member Function Documentation

void AlCaIsoTracksProducer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 376 of file AlCaIsoTracksProducer.cc.

void AlCaIsoTracksProducer::endRun ( edm::Run const &  iRun,
edm::EventSetup const &   
)
overrideprivatevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 389 of file AlCaIsoTracksProducer.cc.

void AlCaIsoTracksProducer::endStream ( )
overridevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 366 of file AlCaIsoTracksProducer.cc.

void AlCaIsoTracksProducer::globalEndJob ( const AlCaIsoTracks::Counters counters)
static

Definition at line 371 of file AlCaIsoTracksProducer.cc.

static std::unique_ptr<AlCaIsoTracks::Counters> AlCaIsoTracksProducer::initializeGlobalCache ( edm::ParameterSet const &  )
inlinestatic

Definition at line 92 of file AlCaIsoTracksProducer.cc.

void AlCaIsoTracksProducer::produce ( edm::Event iEvent,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements edm::stream::EDProducerBase.

Definition at line 225 of file AlCaIsoTracksProducer.cc.

Referenced by JSONExport.JsonExport::export().

reco::HcalIsolatedTrackCandidateCollection * AlCaIsoTracksProducer::select ( edm::Handle< edm::TriggerResults > &  triggerResults,
const std::vector< std::string > &  triggerNames_,
edm::Handle< reco::TrackCollection > &  trkCollection,
math::XYZPoint leadPV,
edm::Handle< EcalRecHitCollection > &  barrelRecHitsHandle,
edm::Handle< EcalRecHitCollection > &  endcapRecHitsHandle,
edm::Handle< HBHERecHitCollection > &  hbhe,
double  ptL1,
double  etaL1,
double  phiL1 
)
private
void AlCaIsoTracksProducer::setPtEtaPhi ( std::vector< edm::Ref< l1extra::L1JetParticleCollection > > &  objref,
double &  ptL1,
double &  etaL1,
double &  phiL1 
)
private

Definition at line 497 of file AlCaIsoTracksProducer.cc.

Member Data Documentation

double AlCaIsoTracksProducer::a_charIsoR_
private

Definition at line 114 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::a_coneR_
private

Definition at line 114 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::a_mipR_
private

Definition at line 114 of file AlCaIsoTracksProducer.cc.

const MagneticField* AlCaIsoTracksProducer::bField
private

Definition at line 120 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::eEcalMax_
private

Definition at line 115 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::eIsolation_
private

Definition at line 115 of file AlCaIsoTracksProducer.cc.

const CaloGeometry* AlCaIsoTracksProducer::geo
private

Definition at line 121 of file AlCaIsoTracksProducer.cc.

HLTConfigProvider AlCaIsoTracksProducer::hltConfig_
private

Definition at line 108 of file AlCaIsoTracksProducer.cc.

std::vector<std::string> AlCaIsoTracksProducer::HLTNames_
private

Definition at line 109 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelBS_
private

Definition at line 118 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelEB_
private

Definition at line 118 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelEE_
private

Definition at line 118 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelGenTrack_
private

Definition at line 117 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelHBHE_
private

Definition at line 118 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelHltGT_
private

Definition at line 117 of file AlCaIsoTracksProducer.cc.

std::string AlCaIsoTracksProducer::labelIsoTk_
private

Definition at line 119 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelRecVtx_
private

Definition at line 117 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelTriggerEvent_
private

Definition at line 116 of file AlCaIsoTracksProducer.cc.

edm::InputTag AlCaIsoTracksProducer::labelTriggerResults_
private

Definition at line 116 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::maxRestrictionPt_
private

Definition at line 113 of file AlCaIsoTracksProducer.cc.

unsigned int AlCaIsoTracksProducer::nAll_
private

Definition at line 110 of file AlCaIsoTracksProducer.cc.

unsigned int AlCaIsoTracksProducer::nGood_
private

Definition at line 110 of file AlCaIsoTracksProducer.cc.

unsigned int AlCaIsoTracksProducer::nRun_
private

Definition at line 110 of file AlCaIsoTracksProducer.cc.

std::string AlCaIsoTracksProducer::processName_
private

Definition at line 112 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::pTrackMin_
private

Definition at line 115 of file AlCaIsoTracksProducer.cc.

spr::trackSelectionParameters AlCaIsoTracksProducer::selectionParameter_
private

Definition at line 111 of file AlCaIsoTracksProducer.cc.

double AlCaIsoTracksProducer::slopeRestrictionPt_
private

Definition at line 113 of file AlCaIsoTracksProducer.cc.

std::string AlCaIsoTracksProducer::theTrackQuality_
private

Definition at line 112 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<reco::BeamSpot> AlCaIsoTracksProducer::tok_bs_
private

Definition at line 128 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<EcalRecHitCollection> AlCaIsoTracksProducer::tok_EB_
private

Definition at line 129 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<EcalRecHitCollection> AlCaIsoTracksProducer::tok_EE_
private

Definition at line 130 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<reco::TrackCollection> AlCaIsoTracksProducer::tok_genTrack_
private

Definition at line 126 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<HBHERecHitCollection> AlCaIsoTracksProducer::tok_hbhe_
private

Definition at line 131 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> AlCaIsoTracksProducer::tok_hltGT_
private

Definition at line 123 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<reco::VertexCollection> AlCaIsoTracksProducer::tok_recVtx_
private

Definition at line 127 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<trigger::TriggerEvent> AlCaIsoTracksProducer::tok_trigEvt_
private

Definition at line 124 of file AlCaIsoTracksProducer.cc.

edm::EDGetTokenT<edm::TriggerResults> AlCaIsoTracksProducer::tok_trigRes_
private

Definition at line 125 of file AlCaIsoTracksProducer.cc.

std::vector<std::string> AlCaIsoTracksProducer::trigNames_
private

Definition at line 109 of file AlCaIsoTracksProducer.cc.