CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
IsolatedTracksCone Class Reference

#include <Calibration/IsolatedParticles/plugins/IsolatedTracksCone.cc>

Inheritance diagram for IsolatedTracksCone:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 IsolatedTracksCone (const edm::ParameterSet &)
 
 ~IsolatedTracksCone () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void buildTree ()
 
void clearTrackVectors ()
 
void endJob () override
 
void printTrack (const reco::Track *pTrack)
 

Private Attributes

const bool applyEcalIsolation_
 
const int debugEcalSimInfo_
 
const int debugTrks_
 
const bool doMC_
 
const double drLeadJetVeto_
 
std::array< double, nEtaBins_+1 > genPartEtaBins
 
std::array< double, nPBins_+1 > genPartPBins_
 
TH1F * h_RawEta
 
TH1F * h_RawP
 
TH1F * h_RawPhi
 
TH1F * h_RawPt
 
double leadL1JetEta
 
double leadL1JetPhi
 
double leadL1JetPT
 
const double maxNearTrackP_
 
const double maxTrackEta_
 
const double minTrackP_
 
const int myverbose_
 
int nEVT
 
int nEVT_failL1
 
int nFailEta
 
int nFailHighPurityQaul
 
int nFailPt
 
int nMissEcal
 
int nMissHcal
 
int nRawTRK
 
TTree * ntp_
 
int nTRK
 
TrackAssociatorParameters parameters_
 
const bool printTrkHitPattern_
 
const double ptMinLeadJet_
 
std::unique_ptr< std::vector< double > > t_distFromHotCell_h3x3
 
std::unique_ptr< std::vector< double > > t_distFromHotCell_h5x5
 
std::unique_ptr< std::vector< double > > t_dtFromLeadJet
 
std::unique_ptr< std::vector< double > > t_e3x3
 
std::unique_ptr< std::vector< double > > t_h3x3
 
std::unique_ptr< std::vector< double > > t_h5x5
 
std::unique_ptr< std::vector< int > > t_hltDoubleLooseIsoTau15_Trk5
 
std::unique_ptr< std::vector< int > > t_hltHB
 
std::unique_ptr< std::vector< int > > t_hltHE
 
std::unique_ptr< std::vector< int > > t_hltJet110
 
std::unique_ptr< std::vector< int > > t_hltJet140
 
std::unique_ptr< std::vector< int > > t_hltJet180
 
std::unique_ptr< std::vector< int > > t_hltJet30
 
std::unique_ptr< std::vector< int > > t_hltJet50
 
std::unique_ptr< std::vector< int > > t_hltJet80
 
std::unique_ptr< std::vector< int > > t_hltL1Jet15
 
std::unique_ptr< std::vector< int > > t_hltL1SingleEG5
 
std::unique_ptr< std::vector< int > > t_hltMinBiasEcal
 
std::unique_ptr< std::vector< int > > t_hltMinBiasHcal
 
std::unique_ptr< std::vector< int > > t_hltMinBiasPixel
 
std::unique_ptr< std::vector< int > > t_hltSingleIsoTau30_Trk5
 
std::unique_ptr< std::vector< int > > t_hltZeroBias
 
std::unique_ptr< std::vector< double > > t_hsim3x3
 
std::unique_ptr< std::vector< double > > t_hsim3x3CharHad
 
std::unique_ptr< std::vector< double > > t_hsim3x3Matched
 
std::unique_ptr< std::vector< int > > t_hsim3x3NCharHad
 
std::unique_ptr< std::vector< double > > t_hsim3x3NeutHad
 
std::unique_ptr< std::vector< int > > t_hsim3x3NMatched
 
std::unique_ptr< std::vector< int > > t_hsim3x3NNeutHad
 
std::unique_ptr< std::vector< int > > t_hsim3x3NPhoton
 
std::unique_ptr< std::vector< int > > t_hsim3x3NRest
 
std::unique_ptr< std::vector< int > > t_hsim3x3NTotal
 
std::unique_ptr< std::vector< double > > t_hsim3x3PdgMatched
 
std::unique_ptr< std::vector< double > > t_hsim3x3Photon
 
std::unique_ptr< std::vector< double > > t_hsim3x3Rest
 
std::unique_ptr< std::vector< double > > t_hsim3x3Total
 
std::unique_ptr< std::vector< double > > t_hsim5x5
 
std::unique_ptr< std::vector< double > > t_hsim5x5CharHad
 
std::unique_ptr< std::vector< double > > t_hsim5x5Matched
 
std::unique_ptr< std::vector< int > > t_hsim5x5NCharHad
 
std::unique_ptr< std::vector< double > > t_hsim5x5NeutHad
 
std::unique_ptr< std::vector< int > > t_hsim5x5NMatched
 
std::unique_ptr< std::vector< int > > t_hsim5x5NNeutHad
 
std::unique_ptr< std::vector< int > > t_hsim5x5NPhoton
 
std::unique_ptr< std::vector< int > > t_hsim5x5NRest
 
std::unique_ptr< std::vector< int > > t_hsim5x5NTotal
 
std::unique_ptr< std::vector< double > > t_hsim5x5PdgMatched
 
std::unique_ptr< std::vector< double > > t_hsim5x5Photon
 
std::unique_ptr< std::vector< double > > t_hsim5x5Rest
 
std::unique_ptr< std::vector< double > > t_hsim5x5Total
 
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h3x3
 
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h5x5
 
std::unique_ptr< std::vector< unsigned int > > t_ievt
 
std::unique_ptr< std::vector< unsigned int > > t_ilum
 
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h3x3
 
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h5x5
 
std::unique_ptr< std::vector< unsigned int > > t_irun
 
std::unique_ptr< std::vector< double > > t_nRH_h3x3
 
std::unique_ptr< std::vector< double > > t_nRH_h5x5
 
std::unique_ptr< std::vector< double > > t_simP
 
std::unique_ptr< std::vector< double > > t_trkEcalEne
 
std::unique_ptr< std::vector< double > > t_trkEta
 
std::unique_ptr< std::vector< double > > t_trkHcalEne
 
std::unique_ptr< std::vector< double > > t_trkNLayersCrossed
 
std::unique_ptr< std::vector< double > > t_trkNOuterHits
 
std::unique_ptr< std::vector< double > > t_trkP
 
std::unique_ptr< std::vector< double > > t_trkPhi
 
std::unique_ptr< std::vector< double > > t_trkPt
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP_goodTrk
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnLayers_maxNearP
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnNearTRKs
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_htrkQual_maxNearP
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_distFromHotCell
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_eDR
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_eMipDR
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hCone
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hlTriggers
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP_goodTrk
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnLayers_maxNearP
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnNearTRKs
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimCone
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeCharHad
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeMatched
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNCharHad
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeNeutHad
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNMatched
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNNeutHad
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNPhoton
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNRest
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNTotal
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePdgMatched
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePhoton
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeRest
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeTotal
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_htrkQual_maxNearP
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_ietaFromHotCell
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_iphiFromHotCell
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_nRecHitsCone
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_nSimHitsCone
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h3x3_ene
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_ieta
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_iphi
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h5x5_ene
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_ieta
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_iphi
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r26_ene
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_ieta
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_iphi
 
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r44_ene
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_ieta
 
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_iphi
 
const edm::EDGetTokenT< edm::PCaloHitContainertok_caloEB_
 
const edm::EDGetTokenT< edm::PCaloHitContainertok_caloEE_
 
const edm::EDGetTokenT< edm::PCaloHitContainertok_caloHH_
 
const edm::ESGetToken< CaloTopology, CaloTopologyRecordtok_caloTopology_
 
const edm::EDGetTokenT< EcalRecHitCollectiontok_EB_
 
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcdtok_ecalChStatus_
 
const edm::EDGetTokenT< EcalRecHitCollectiontok_EE_
 
const edm::EDGetTokenT< reco::TrackCollectiontok_genTrack_
 
const edm::ESGetToken< CaloGeometry, CaloGeometryRecordtok_geom_
 
const edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
const edm::EDGetTokenT< l1extra::L1JetParticleCollectiontok_L1extCenJet_
 
const edm::EDGetTokenT< l1extra::L1JetParticleCollectiontok_L1extFwdJet_
 
const edm::EDGetTokenT< l1extra::L1JetParticleCollectiontok_L1extTauJet_
 
const edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcdtok_sevlv_
 
const edm::EDGetTokenT< edm::SimTrackContainertok_simTk_
 
const edm::EDGetTokenT< edm::SimVertexContainertok_simVtx_
 
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtok_topo_
 
const edm::EDGetTokenT< edm::TriggerResultstok_trigger_
 
std::unique_ptr< TrackDetectorAssociatortrackAssociator_
 
const TrackerHitAssociator::Config trackerHitAssociatorConfig_
 
const bool useJetTrigger_
 

Static Private Attributes

static constexpr int nEtaBins_ = 4
 
static constexpr int nPBins_ = 21
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- 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)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (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 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)
 

Detailed Description

Description: Studies properties of isolated particles in the context of cone algorithm

Implementation: <Notes on="" implementation>="">

Definition at line 117 of file IsolatedTracksCone.cc.

Constructor & Destructor Documentation

◆ IsolatedTracksCone()

IsolatedTracksCone::IsolatedTracksCone ( const edm::ParameterSet iConfig)
explicit

Definition at line 332 of file IsolatedTracksCone.cc.

References edm::EDConsumerBase::consumesCollector(), drLeadJetVeto_, edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), maxNearTrackP_, maxTrackEta_, minTrackP_, myverbose_, parameters_, trackAssociator_, and useJetTrigger_.

333  : doMC_(iConfig.getUntrackedParameter<bool>("doMC", false)),
334  myverbose_(iConfig.getUntrackedParameter<int>("verbosity", 5)),
335  useJetTrigger_(iConfig.getUntrackedParameter<bool>("useJetTrigger", false)),
336  drLeadJetVeto_(iConfig.getUntrackedParameter<double>("drLeadJetVeto", 1.2)),
337  ptMinLeadJet_(iConfig.getUntrackedParameter<double>("ptMinLeadJet", 15.0)),
338  debugTrks_(iConfig.getUntrackedParameter<int>("debugTracks")),
339  printTrkHitPattern_(iConfig.getUntrackedParameter<bool>("printTrkHitPattern")),
342  consumes<l1extra::L1JetParticleCollection>(iConfig.getParameter<edm::InputTag>("L1extraTauJetSource"))),
344  consumes<l1extra::L1JetParticleCollection>(iConfig.getParameter<edm::InputTag>("L1extraCenJetSource"))),
346  consumes<l1extra::L1JetParticleCollection>(iConfig.getParameter<edm::InputTag>("L1extraFwdJetSource"))),
347  tok_EB_(consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEB"))),
348  tok_EE_(consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEE"))),
349  tok_hbhe_(consumes<HBHERecHitCollection>(edm::InputTag("hbhereco"))),
350  tok_genTrack_(consumes<reco::TrackCollection>(edm::InputTag("generalTracks"))),
351  tok_simTk_(consumes<edm::SimTrackContainer>(edm::InputTag("g4SimHits"))),
352  tok_simVtx_(consumes<edm::SimVertexContainer>(edm::InputTag("g4SimHits"))),
353  tok_caloEB_(consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "EcalHitsEB"))),
354  tok_caloEE_(consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "EcalHitsEE"))),
355  tok_caloHH_(consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "HcalHits"))),
356  tok_trigger_(consumes<edm::TriggerResults>(edm::InputTag("TriggerResults", "", "HLT"))),
362  minTrackP_(iConfig.getUntrackedParameter<double>("minTrackP", 10.0)),
363  maxTrackEta_(iConfig.getUntrackedParameter<double>("maxTrackEta", 5.0)),
364  maxNearTrackP_(iConfig.getUntrackedParameter<double>("maxNearTrackP", 1.0)),
365  debugEcalSimInfo_(iConfig.getUntrackedParameter<int>("debugEcalSimInfo")),
366  applyEcalIsolation_(iConfig.getUntrackedParameter<bool>("applyEcalIsolation")) {
367  //now do what ever initialization is needed
368 
369  edm::ParameterSet parameters = iConfig.getParameter<edm::ParameterSet>("TrackAssociatorParameters");
372  trackAssociator_ = std::make_unique<TrackDetectorAssociator>();
373  trackAssociator_->useDefaultPropagator();
374 
375  if (myverbose_ >= 0) {
376  edm::LogVerbatim("IsoTrack") << "Parameters read from config file \n"
377  << "myverbose_ " << myverbose_ << "\n"
378  << "useJetTrigger_ " << useJetTrigger_ << "\n"
379  << "drLeadJetVeto_ " << drLeadJetVeto_ << "\n"
380  << "minTrackP_ " << minTrackP_ << "\n"
381  << "maxTrackEta_ " << maxTrackEta_ << "\n"
382  << "maxNearTrackP_ " << maxNearTrackP_;
383  }
384 }
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
TrackAssociatorParameters parameters_
const edm::EDGetTokenT< edm::SimTrackContainer > tok_simTk_
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_ecalChStatus_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extTauJet_
const edm::EDGetTokenT< reco::TrackCollection > tok_genTrack_
void loadParameters(const edm::ParameterSet &, edm::ConsumesCollector &)
const TrackerHitAssociator::Config trackerHitAssociatorConfig_
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_topo_
T getUntrackedParameter(std::string const &, T const &) const
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEE_
const edm::ESGetToken< CaloTopology, CaloTopologyRecord > tok_caloTopology_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloHH_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const edm::EDGetTokenT< edm::SimVertexContainer > tok_simVtx_
const edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extFwdJet_
const edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
const edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
const edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_sevlv_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extCenJet_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEB_
std::unique_ptr< TrackDetectorAssociator > trackAssociator_
const edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_

◆ ~IsolatedTracksCone()

IsolatedTracksCone::~IsolatedTracksCone ( )
override

Definition at line 386 of file IsolatedTracksCone.cc.

386 {}

Member Function Documentation

◆ analyze()

void IsolatedTracksCone::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 440 of file IsolatedTracksCone.cc.

References funct::abs(), TrackAssociatorParameters::bFieldToken, clearTrackVectors(), spr::coneChargeIsolation(), debugTrks_, reco::deltaPhi(), doMC_, DetId::Ecal, EcalBarrel, EcalEndcap, spr::eCaloSimInfo(), spr::eCone_ecal(), spr::eCone_hcal(), spr::eECALmatrix(), spr::eHCALmatrix(), spr::eHCALSimInfo(), reco::TrackBase::eta(), HLT_2024v10_cff::eta1, CaloSubdetectorGeometry::getClosestCell(), edm::EventSetup::getData(), spr::getDistInPlaneTrackDir(), CaloGeometry::getSubdetectorGeometry(), h_RawEta, h_RawP, h_RawPhi, h_RawPt, photonIsolationHIProducer_cfi::hbhe, DetId::Hcal, HcalBarrel, HcalEndcap, reco::TrackBase::hitPattern(), mps_fire::i, iEvent, createfilelist::int, leadL1JetEta, leadL1JetPhi, leadL1JetPT, spr::matchedSimTrack(), maxTrackEta_, minTrackP_, reco::TrackBase::momentum(), nEVT, nEVT_failL1, nFailEta, nFailHighPurityQaul, nFailPt, nMissEcal, nMissHcal, nRawTRK, ntp_, nTRK, reco::TrackBase::p(), LaserDQM_cfg::p1, parameters_, reco::TrackBase::pt(), HLT_2024v10_cff::pt1, ptMinLeadJet_, reco::TrackBase::quality(), reco::TrackBase::qualityByName(), DetId::rawId(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, t_distFromHotCell_h3x3, t_distFromHotCell_h5x5, t_dtFromLeadJet, t_e3x3, t_h3x3, t_h5x5, t_hltDoubleLooseIsoTau15_Trk5, t_hltHB, t_hltHE, t_hltJet110, t_hltJet140, t_hltJet180, t_hltJet30, t_hltJet50, t_hltJet80, t_hltL1Jet15, t_hltL1SingleEG5, t_hltMinBiasEcal, t_hltMinBiasHcal, t_hltMinBiasPixel, t_hltSingleIsoTau30_Trk5, t_hltZeroBias, t_hsim3x3, t_hsim3x3CharHad, t_hsim3x3Matched, t_hsim3x3NCharHad, t_hsim3x3NeutHad, t_hsim3x3NMatched, t_hsim3x3NNeutHad, t_hsim3x3NPhoton, t_hsim3x3NRest, t_hsim3x3NTotal, t_hsim3x3PdgMatched, t_hsim3x3Photon, t_hsim3x3Rest, t_hsim3x3Total, t_hsim5x5, t_hsim5x5CharHad, t_hsim5x5Matched, t_hsim5x5NCharHad, t_hsim5x5NeutHad, t_hsim5x5NMatched, t_hsim5x5NNeutHad, t_hsim5x5NPhoton, t_hsim5x5NRest, t_hsim5x5NTotal, t_hsim5x5PdgMatched, t_hsim5x5Photon, t_hsim5x5Rest, t_hsim5x5Total, t_ietaFromHotCell_h3x3, t_ietaFromHotCell_h5x5, t_ievt, t_ilum, t_iphiFromHotCell_h3x3, t_iphiFromHotCell_h5x5, t_irun, t_nRH_h3x3, t_nRH_h5x5, t_simP, t_trkEcalEne, t_trkEta, t_trkHcalEne, t_trkNLayersCrossed, t_trkNOuterHits, t_trkP, t_trkPhi, t_trkPt, t_v_cone_hmaxNearP, t_v_cone_hmaxNearP_goodTrk, t_v_cone_hnLayers_maxNearP, t_v_cone_hnNearTRKs, t_v_cone_htrkQual_maxNearP, t_v_distFromHotCell, t_v_eDR, t_v_eMipDR, t_v_hCone, t_v_hlTriggers, t_v_hmaxNearP, t_v_hmaxNearP_goodTrk, t_v_hnLayers_maxNearP, t_v_hnNearTRKs, t_v_hsimCone, t_v_hsimInfoConeCharHad, t_v_hsimInfoConeMatched, t_v_hsimInfoConeNCharHad, t_v_hsimInfoConeNeutHad, t_v_hsimInfoConeNMatched, t_v_hsimInfoConeNNeutHad, t_v_hsimInfoConeNPhoton, t_v_hsimInfoConeNRest, t_v_hsimInfoConeNTotal, t_v_hsimInfoConePdgMatched, t_v_hsimInfoConePhoton, t_v_hsimInfoConeRest, t_v_hsimInfoConeTotal, t_v_htrkQual_maxNearP, t_v_ietaFromHotCell, t_v_iphiFromHotCell, t_v_nRecHitsCone, t_v_nSimHitsCone, t_v_RH_h3x3_ene, t_v_RH_h3x3_ieta, t_v_RH_h3x3_iphi, t_v_RH_h5x5_ene, t_v_RH_h5x5_ieta, t_v_RH_h5x5_iphi, t_v_RH_r26_ene, t_v_RH_r26_ieta, t_v_RH_r26_iphi, t_v_RH_r44_ene, t_v_RH_r44_ieta, t_v_RH_r44_iphi, tok_caloEB_, tok_caloEE_, tok_caloHH_, tok_caloTopology_, tok_EB_, tok_ecalChStatus_, tok_EE_, tok_genTrack_, tok_geom_, tok_hbhe_, tok_L1extCenJet_, tok_L1extFwdJet_, tok_L1extTauJet_, tok_sevlv_, tok_simTk_, tok_simVtx_, tok_topo_, tok_trigger_, trackAssociator_, trackerHitAssociatorConfig_, reco::HitPattern::trackerLayersWithMeasurement(), L1TEGammaOffline_cfi::triggerNames, triggerResults, TrackDetMatchInfo::trkGlobPosAtEcal, TrackDetMatchInfo::trkGlobPosAtHcal, TrackDetMatchInfo::trkMomAtEcal, TrackDetMatchInfo::trkMomAtHcal, and useJetTrigger_.

440  {
441  unsigned int irun = (unsigned int)iEvent.id().run();
442  unsigned int ilum = (unsigned int)iEvent.getLuminosityBlock().luminosityBlock();
443  unsigned int ievt = (unsigned int)iEvent.id().event();
444 
446 
447  // check the L1 objects
448  bool L1Pass = false;
449  leadL1JetPT = -999, leadL1JetEta = -999, leadL1JetPhi = -999;
450  if (!useJetTrigger_) {
451  L1Pass = true;
452  } else {
454  iEvent.getByToken(tok_L1extTauJet_, l1TauHandle);
455  l1extra::L1JetParticleCollection::const_iterator itr;
456  for (itr = l1TauHandle->begin(); itr != l1TauHandle->end(); ++itr) {
457  if (itr->pt() > leadL1JetPT) {
458  leadL1JetPT = itr->pt();
459  leadL1JetEta = itr->eta();
460  leadL1JetPhi = itr->phi();
461  }
462  }
464  iEvent.getByToken(tok_L1extCenJet_, l1CenJetHandle);
465  for (itr = l1CenJetHandle->begin(); itr != l1CenJetHandle->end(); ++itr) {
466  if (itr->pt() > leadL1JetPT) {
467  leadL1JetPT = itr->pt();
468  leadL1JetEta = itr->eta();
469  leadL1JetPhi = itr->phi();
470  }
471  }
473  iEvent.getByToken(tok_L1extFwdJet_, l1FwdJetHandle);
474  for (itr = l1FwdJetHandle->begin(); itr != l1FwdJetHandle->end(); ++itr) {
475  if (itr->pt() > leadL1JetPT) {
476  leadL1JetPT = itr->pt();
477  leadL1JetEta = itr->eta();
478  leadL1JetPhi = itr->phi();
479  }
480  }
481  if (leadL1JetPT > ptMinLeadJet_) {
482  L1Pass = true;
483  }
484  }
485 
487  // Break now if L1Pass is false
489  if (!L1Pass) {
490  nEVT_failL1++;
491  // edm::LogVerbatim("IsoTrack") << "L1Pass is false : " << L1Pass;
492  // return;
493  }
494 
496  // Get the collection handles
498 
499  const CaloGeometry* geo = &iSetup.getData(tok_geom_);
504 
505  const CaloTopology* caloTopology = &iSetup.getData(tok_caloTopology_);
506  const HcalTopology* theHBHETopology = &iSetup.getData(tok_topo_);
507 
508  edm::Handle<EcalRecHitCollection> barrelRecHitsHandle;
509  edm::Handle<EcalRecHitCollection> endcapRecHitsHandle;
510  iEvent.getByToken(tok_EB_, barrelRecHitsHandle);
511  iEvent.getByToken(tok_EE_, endcapRecHitsHandle);
512 
513  // Retrieve the good/bad ECAL channels from the DB
514  const EcalChannelStatus* theEcalChStatus = &iSetup.getData(tok_ecalChStatus_);
515 
517  iEvent.getByToken(tok_hbhe_, hbhe);
518  const HBHERecHitCollection Hithbhe = *(hbhe.product());
519 
521  iEvent.getByToken(tok_genTrack_, trkCollection);
522  reco::TrackCollection::const_iterator trkItr;
523  if (debugTrks_ > 1) {
524  edm::LogVerbatim("IsoTrack") << "Track Collection: ";
525  edm::LogVerbatim("IsoTrack") << "Number of Tracks " << trkCollection->size();
526  }
527  std::string theTrackQuality = "highPurity";
528  reco::TrackBase::TrackQuality trackQuality_ = reco::TrackBase::qualityByName(theTrackQuality);
529 
530  //get Handles to SimTracks and SimHits
532  if (doMC_)
533  iEvent.getByToken(tok_simTk_, SimTk);
534 
536  if (doMC_)
537  iEvent.getByToken(tok_simVtx_, SimVtx);
538 
539  //get Handles to PCaloHitContainers of eb/ee/hbhe
541  if (doMC_)
542  iEvent.getByToken(tok_caloEB_, pcaloeb);
543 
545  if (doMC_)
546  iEvent.getByToken(tok_caloEE_, pcaloee);
547 
549  if (doMC_)
550  iEvent.getByToken(tok_caloHH_, pcalohh);
551 
553  // Get HLT_IsoTrackHB/HE Information
555 
557  iEvent.getByToken(tok_trigger_, triggerResults);
558 
559  std::vector<int> v_hlTriggers;
560  int hltHB(-99);
561  int hltHE(-99);
562  int hltL1Jet15(-99);
563  int hltJet30(-99);
564  int hltJet50(-99);
565  int hltJet80(-99);
566  int hltJet110(-99);
567  int hltJet140(-99);
568  int hltJet180(-99);
569  int hltL1SingleEG5(-99);
570  int hltZeroBias(-99);
571  int hltMinBiasHcal(-99);
572  int hltMinBiasEcal(-99);
573  int hltMinBiasPixel(-99);
574  int hltSingleIsoTau30_Trk5(-99);
575  int hltDoubleLooseIsoTau15_Trk5(-99);
576 
577  if (triggerResults.isValid()) {
578  const edm::TriggerNames& triggerNames = iEvent.triggerNames(*triggerResults);
579  // TriggerNames class triggerNames.init(*triggerResults);
580 
581  for (unsigned int i = 0; i < triggerResults->size(); i++) {
582  // edm::LogVerbatim("IsoTrack") << "triggerNames.triggerName(" << i << ") = " << triggerNames.triggerName(i);
583  if (triggerNames.triggerName(i) == "HLT_IsoTrackHE_1E31")
584  hltHE = triggerResults->accept(i);
585  if (triggerNames.triggerName(i) == "HLT_IsoTrackHB_1E31")
586  hltHB = triggerResults->accept(i);
587  if (triggerNames.triggerName(i) == "HLT_L1Jet15")
588  hltL1Jet15 = triggerResults->accept(i);
589  if (triggerNames.triggerName(i) == "HLT_Jet30")
590  hltJet30 = triggerResults->accept(i);
591  if (triggerNames.triggerName(i) == "HLT_Jet50")
592  hltJet50 = triggerResults->accept(i);
593  if (triggerNames.triggerName(i) == "HLT_Jet80")
594  hltJet80 = triggerResults->accept(i);
595  if (triggerNames.triggerName(i) == "HLT_Jet110")
596  hltJet110 = triggerResults->accept(i);
597  if (triggerNames.triggerName(i) == "HLT_Jet140")
598  hltJet140 = triggerResults->accept(i);
599  if (triggerNames.triggerName(i) == "HLT_Jet180")
600  hltJet180 = triggerResults->accept(i);
601  if (triggerNames.triggerName(i) == "HLT_L1SingleEG5")
602  hltL1SingleEG5 = triggerResults->accept(i);
603  if (triggerNames.triggerName(i) == "HLT_ZeroBias")
604  hltZeroBias = triggerResults->accept(i);
605  if (triggerNames.triggerName(i) == "HLT_MinBiasHcal")
606  hltMinBiasHcal = triggerResults->accept(i);
607  if (triggerNames.triggerName(i) == "HLT_MinBiasEcal")
608  hltMinBiasEcal = triggerResults->accept(i);
609  if (triggerNames.triggerName(i) == "HLT_MinBiasPixel")
610  hltMinBiasPixel = triggerResults->accept(i);
611  if (triggerNames.triggerName(i) == "HLT_SingleIsoTau30_Trk5")
612  hltSingleIsoTau30_Trk5 = triggerResults->accept(i);
613  if (triggerNames.triggerName(i) == "HLT_DoubleLooseIsoTau15_Trk5")
614  hltDoubleLooseIsoTau15_Trk5 = triggerResults->accept(i);
615  }
616  }
617 
619  // Primary loop over tracks
621  std::unique_ptr<TrackerHitAssociator> associate;
622  if (doMC_)
623  associate = std::make_unique<TrackerHitAssociator>(iEvent, trackerHitAssociatorConfig_);
624 
625  nTRK = 0;
626  nRawTRK = 0;
627  nFailPt = 0;
628  nFailEta = 0;
630  nMissEcal = 0;
631  nMissHcal = 0;
632 
633  const EcalSeverityLevelAlgo* sevlv = &iSetup.getData(tok_sevlv_);
634  for (trkItr = trkCollection->begin(); trkItr != trkCollection->end(); ++trkItr) {
635  nRawTRK++;
636 
637  const reco::Track* pTrack = &(*trkItr);
638 
640  // Check for min Pt and max Eta P
642 
643  bool trkQual = pTrack->quality(trackQuality_);
644  bool goodPt = pTrack->p() > minTrackP_;
645  bool goodEta = std::abs(pTrack->momentum().eta()) < maxTrackEta_;
646 
647  double eta1 = pTrack->momentum().eta();
648  double phi1 = pTrack->momentum().phi();
649  double pt1 = pTrack->pt();
650  double p1 = pTrack->p();
651 
652  if (!goodEta) {
653  nFailEta++;
654  }
655  if (!goodPt) {
656  nFailPt++;
657  }
658  if (!trkQual) {
660  }
661 
662  h_RawPt->Fill(pt1);
663  h_RawP->Fill(p1);
664  h_RawEta->Fill(eta1);
665  h_RawPhi->Fill(phi1);
666 
667  if (!goodEta || !goodPt || !trkQual)
668  continue; // Skip to next track
669 
671  // Find track trajectory
673 
674  const FreeTrajectoryState fts1 =
675  trackAssociator_->getFreeTrajectoryState(&iSetup.getData(parameters_.bFieldToken), *pTrack);
676 
677  TrackDetMatchInfo info1 = trackAssociator_->associate(iEvent, iSetup, fts1, parameters_);
678 
680  // First confirm track makes it to Hcal
682 
683  if (info1.trkGlobPosAtHcal.x() == 0 && info1.trkGlobPosAtHcal.y() == 0 && info1.trkGlobPosAtHcal.z() == 0) {
684  nMissHcal++;
685  continue;
686  }
687 
688  const GlobalPoint hpoint1(info1.trkGlobPosAtHcal.x(), info1.trkGlobPosAtHcal.y(), info1.trkGlobPosAtHcal.z());
689 
691  // Get basic quantities
693 
694  const reco::HitPattern& hitp = pTrack->hitPattern();
695  int nLayersCrossed = hitp.trackerLayersWithMeasurement();
696  int nOuterHits = hitp.stripTOBLayersWithMeasurement() + hitp.stripTECLayersWithMeasurement();
697 
698  double simP = 0;
699  if (doMC_) {
700  edm::SimTrackContainer::const_iterator matchedSimTrk =
701  spr::matchedSimTrack(iEvent, SimTk, SimVtx, pTrack, *associate, false);
702  simP = matchedSimTrk->momentum().P();
703  }
705  // Get Ecal Point
707 
708  const GlobalPoint point1(info1.trkGlobPosAtEcal.x(), info1.trkGlobPosAtEcal.y(), info1.trkGlobPosAtEcal.z());
709 
710  // Sanity check that track hits Ecal
711 
712  if (info1.trkGlobPosAtEcal.x() == 0 && info1.trkGlobPosAtEcal.y() == 0 && info1.trkGlobPosAtEcal.z() == 0) {
713  edm::LogVerbatim("IsoTrack") << "Track doesn't reach Ecal.";
714  nMissEcal++;
715  continue;
716  }
717 
718  // Get Track Momentum - make sure you have latest version of TrackDetMatchInfo
719 
720  GlobalVector trackMomAtEcal = info1.trkMomAtEcal;
721  GlobalVector trackMomAtHcal = info1.trkMomAtHcal;
722 
724  // If using Jet trigger, get distance from leading jet
726 
727  double drFromLeadJet = 999.0;
728  if (useJetTrigger_) {
729  double dphi = reco::deltaPhi(phi1, leadL1JetPhi);
730  double deta = eta1 - leadL1JetEta;
731  drFromLeadJet = sqrt(dphi * dphi + deta * deta);
732  }
733 
735  // Define Arrays for sizes of Charge, Neut Iso Radii and
736  // Clustering Cone Radius.
738 
739  const int a_size = 7;
740  double a_coneR[a_size];
741  double a_charIsoR[a_size];
742  double a_neutIsoR[a_size];
743 
744  a_coneR[0] = 17.49; // = area of 2x2
745  a_coneR[1] = 26.23; // = area of 3x3
746  a_coneR[2] = 30.61;
747  a_coneR[3] = 34.98; // = area of 4x4
748  a_coneR[4] = 39.35;
749  a_coneR[5] = 43.72; // = area of 5x5
750  a_coneR[6] = 52.46; // = area of 6x6
751 
752  for (int i = 0; i < a_size; i++) {
753  a_charIsoR[i] = a_coneR[i] + 28.9; // 28.9 gives 55.1 for 3x3 benchmark
754  a_neutIsoR[i] = a_charIsoR[i] * 0.726; // Ecal radius = 0.726*Hcal radius
755  }
756 
758  // Do Neutral Iso in radius on Ecal surface.
760 
761  // NxN cluster
762  double e3x3 = -999.0;
763  double trkEcalEne = -999.0;
764 
765  if (std::abs(point1.eta()) < 1.479) {
766  const DetId isoCell = gEB->getClosestCell(point1);
767  e3x3 = spr::eECALmatrix(
768  isoCell, barrelRecHitsHandle, endcapRecHitsHandle, *theEcalChStatus, geo, caloTopology, sevlv, 1, 1)
769  .first;
770  trkEcalEne = spr::eCaloSimInfo(iEvent, geo, pcaloeb, pcaloee, SimTk, SimVtx, pTrack, *associate);
771  } else {
772  const DetId isoCell = gEE->getClosestCell(point1);
773  e3x3 = spr::eECALmatrix(
774  isoCell, barrelRecHitsHandle, endcapRecHitsHandle, *theEcalChStatus, geo, caloTopology, sevlv, 1, 1)
775  .first;
776  trkEcalEne = spr::eCaloSimInfo(iEvent, geo, pcaloeb, pcaloee, SimTk, SimVtx, pTrack, *associate);
777  }
778 
779  // Cone cluster
780 
781  // Set up array of cone sizes for MIP cut
782  const int a_mip_size = 5;
783  double a_mipR[a_mip_size];
784  a_mipR[0] = 3.84; // = area of 3x3 ecal
785  a_mipR[1] = 14.0;
786  a_mipR[2] = 19.0;
787  a_mipR[3] = 24.0;
788  a_mipR[4] = 9.0; // = from standard analyzer
789 
790  std::vector<double> v_eDR;
791  for (int i = 0; i < a_size; i++) {
792  int nRH_eDR = 0;
793 
794  // Cone in ecal
795  double eDR = spr::eCone_ecal(
796  geo, barrelRecHitsHandle, endcapRecHitsHandle, hpoint1, point1, a_neutIsoR[i], trackMomAtEcal, nRH_eDR);
797  v_eDR.push_back(eDR);
798  }
799 
800  std::vector<double> v_eMipDR;
801  for (int i = 0; i < a_mip_size; i++) {
802  int nRH_eMipDR = 0;
803  double eMipDR = spr::eCone_ecal(
804  geo, barrelRecHitsHandle, endcapRecHitsHandle, hpoint1, point1, a_mipR[i], trackMomAtEcal, nRH_eMipDR);
805 
806  v_eMipDR.push_back(eMipDR);
807  }
808 
810  // Do charge isolation in radius at Hcal surface for 5 different
811  // radii defined above in a_charIso
813 
814  std::vector<double> v_hmaxNearP_goodTrk;
815  std::vector<double> v_hmaxNearP;
816  std::vector<int> v_hnNearTRKs;
817  std::vector<int> v_hnLayers_maxNearP;
818  std::vector<int> v_htrkQual_maxNearP;
819 
820  std::vector<double> v_cone_hmaxNearP_goodTrk;
821  std::vector<double> v_cone_hmaxNearP;
822  std::vector<int> v_cone_hnNearTRKs;
823  std::vector<int> v_cone_hnLayers_maxNearP;
824  std::vector<int> v_cone_htrkQual_maxNearP;
825 
826  for (int i = 0; i < a_size; i++) {
827  double hmaxNearP = -999.0;
828  int hnNearTRKs = 0;
829  int hnLayers_maxNearP = 0;
830  int htrkQual_maxNearP = -1;
831  double hmaxNearP_goodTrk = -999.0;
832 
833  double conehmaxNearP = -999.0;
834  int conehnNearTRKs = 0;
835  int conehnLayers_maxNearP = 0;
836  int conehtrkQual_maxNearP = -1;
837  double conehmaxNearP_goodTrk = -999.0;
838 
839  conehmaxNearP = spr::coneChargeIsolation(iEvent,
840  iSetup,
841  trkItr,
842  trkCollection,
844  parameters_,
845  theTrackQuality,
846  conehnNearTRKs,
847  conehnLayers_maxNearP,
848  conehtrkQual_maxNearP,
849  conehmaxNearP_goodTrk,
850  hpoint1,
851  trackMomAtHcal,
852  a_charIsoR[i]);
853 
854  v_hmaxNearP_goodTrk.push_back(hmaxNearP_goodTrk);
855  v_hmaxNearP.push_back(hmaxNearP);
856  v_hnNearTRKs.push_back(hnNearTRKs);
857  v_hnLayers_maxNearP.push_back(hnLayers_maxNearP);
858  v_htrkQual_maxNearP.push_back(htrkQual_maxNearP);
859 
860  v_cone_hmaxNearP_goodTrk.push_back(conehmaxNearP_goodTrk);
861  v_cone_hmaxNearP.push_back(conehmaxNearP);
862  v_cone_hnNearTRKs.push_back(conehnNearTRKs);
863  v_cone_hnLayers_maxNearP.push_back(conehnLayers_maxNearP);
864  v_cone_htrkQual_maxNearP.push_back(conehtrkQual_maxNearP);
865  }
866 
867  double h3x3 = -999.0, h5x5 = -999.0;
868  double hsim3x3 = -999.0, hsim5x5 = -999.0, trkHcalEne = -999.0;
869  std::map<std::string, double> hsimInfo3x3, hsimInfo5x5;
870  double distFromHotCell_h3x3 = -99.;
871  int ietaFromHotCell_h3x3 = -99;
872  int iphiFromHotCell_h3x3 = -99;
873  double distFromHotCell_h5x5 = -99.;
874  int ietaFromHotCell_h5x5 = -99;
875  int iphiFromHotCell_h5x5 = -99;
876 
877  GlobalPoint gPosHotCell_h3x3(0., 0., 0.);
878  GlobalPoint gPosHotCell_h5x5(0., 0., 0.);
879 
880  int nRH_h3x3(0), nRH_h5x5(0);
881 
882  // Hcal Energy Clustering
883 
884  // Get closetcell for ietaFromHotCell and iphiFromHotCell
885  DetId ClosestCell;
886  if (std::abs(pTrack->eta()) < 1.392) {
887  ClosestCell = gHB->getClosestCell(hpoint1);
888  } else {
889  ClosestCell = gHE->getClosestCell(hpoint1);
890  }
891  // Transform into HcalDetId so that I can get ieta, iphi later.
892  HcalDetId ClosestCell_HcalDetId(ClosestCell.rawId());
893 
894  // Using NxN Cluster
895  std::vector<int> v_RH_h3x3_ieta;
896  std::vector<int> v_RH_h3x3_iphi;
897  std::vector<double> v_RH_h3x3_ene;
898  std::vector<int> v_RH_h5x5_ieta;
899  std::vector<int> v_RH_h5x5_iphi;
900  std::vector<double> v_RH_h5x5_ene;
901 
902  h3x3 = spr::eHCALmatrix(geo,
903  theHBHETopology,
904  ClosestCell,
905  hbhe,
906  1,
907  1,
908  nRH_h3x3,
909  v_RH_h3x3_ieta,
910  v_RH_h3x3_iphi,
911  v_RH_h3x3_ene,
912  gPosHotCell_h3x3);
913  distFromHotCell_h3x3 = spr::getDistInPlaneTrackDir(hpoint1, trackMomAtHcal, gPosHotCell_h3x3);
914 
915  h5x5 = spr::eHCALmatrix(geo,
916  theHBHETopology,
917  ClosestCell,
918  hbhe,
919  2,
920  2,
921  nRH_h5x5,
922  v_RH_h5x5_ieta,
923  v_RH_h5x5_iphi,
924  v_RH_h5x5_ene,
925  gPosHotCell_h5x5);
926  distFromHotCell_h5x5 = spr::getDistInPlaneTrackDir(hpoint1, trackMomAtHcal, gPosHotCell_h5x5);
927 
928  // double heta = (double)hpoint1.eta();
929  // double hphi = (double)hpoint1.phi();
930  std::vector<int> multiplicity3x3;
931  std::vector<int> multiplicity5x5;
932  if (doMC_) {
933  hsim3x3 = spr::eHCALmatrix(theHBHETopology, ClosestCell, pcalohh, 1, 1);
934  hsim5x5 = spr::eHCALmatrix(theHBHETopology, ClosestCell, pcalohh, 2, 2);
935 
936  hsimInfo3x3 = spr::eHCALSimInfo(
937  iEvent, theHBHETopology, ClosestCell, pcalohh, SimTk, SimVtx, pTrack, *associate, 1, 1, multiplicity3x3);
938  hsimInfo5x5 = spr::eHCALSimInfo(
939  iEvent, theHBHETopology, ClosestCell, pcalohh, SimTk, SimVtx, pTrack, *associate, 2, 2, multiplicity5x5);
940 
941  // Get energy from all simhits in hcal associated with iso track
942  trkHcalEne = spr::eCaloSimInfo(iEvent, geo, pcalohh, SimTk, SimVtx, pTrack, *associate);
943  }
944 
945  // Finally for cones of varying radii.
946  std::vector<double> v_hsimInfoConeMatched;
947  std::vector<double> v_hsimInfoConeRest;
948  std::vector<double> v_hsimInfoConePhoton;
949  std::vector<double> v_hsimInfoConeNeutHad;
950  std::vector<double> v_hsimInfoConeCharHad;
951  std::vector<double> v_hsimInfoConePdgMatched;
952  std::vector<double> v_hsimInfoConeTotal;
953 
954  std::vector<int> v_hsimInfoConeNMatched;
955  std::vector<int> v_hsimInfoConeNTotal;
956  std::vector<int> v_hsimInfoConeNNeutHad;
957  std::vector<int> v_hsimInfoConeNCharHad;
958  std::vector<int> v_hsimInfoConeNPhoton;
959  std::vector<int> v_hsimInfoConeNRest;
960 
961  std::vector<double> v_hsimCone;
962  std::vector<double> v_hCone;
963 
964  std::vector<int> v_nRecHitsCone;
965  std::vector<int> v_nSimHitsCone;
966 
967  std::vector<double> v_distFromHotCell;
968  std::vector<int> v_ietaFromHotCell;
969  std::vector<int> v_iphiFromHotCell;
970  GlobalPoint gposHotCell(0., 0., 0.);
971 
972  std::vector<int> v_RH_r26_ieta;
973  std::vector<int> v_RH_r26_iphi;
974  std::vector<double> v_RH_r26_ene;
975  std::vector<int> v_RH_r44_ieta;
976  std::vector<int> v_RH_r44_iphi;
977  std::vector<double> v_RH_r44_ene;
978 
979  for (int i = 0; i < a_size; i++) {
980  std::map<std::string, double> hsimInfoCone;
981  double hsimCone = -999.0, hCone = -999.0;
982  double distFromHotCell = -99.0;
983  int ietaFromHotCell = -99;
984  int iphiFromHotCell = -99;
985  int ietaHotCell = -99;
986  int iphiHotCell = -99;
987  int nRecHitsCone = -999;
988  int nSimHitsCone = -999;
989 
990  std::vector<int> multiplicityCone;
991  std::vector<DetId> coneRecHitDetIds;
992  if (doMC_)
993  hsimCone = spr::eCone_hcal(geo, pcalohh, hpoint1, point1, a_coneR[i], trackMomAtHcal, nSimHitsCone);
994 
995  // If needed, get ieta and iphi of rechits for cones of 23.25
996  // and for hitmap for debugging
997  bool makeHitmaps = false;
998  if (a_coneR[i] == 26.23 && makeHitmaps) {
999  hCone = spr::eCone_hcal(geo,
1000  hbhe,
1001  hpoint1,
1002  point1,
1003  a_coneR[i],
1004  trackMomAtHcal,
1005  nRecHitsCone,
1006  v_RH_r26_ieta,
1007  v_RH_r26_iphi,
1008  v_RH_r26_ene,
1009  coneRecHitDetIds,
1010  distFromHotCell,
1011  ietaHotCell,
1012  iphiHotCell,
1013  gposHotCell);
1014  } else if (a_coneR[i] == 43.72 && makeHitmaps) {
1015  hCone = spr::eCone_hcal(geo,
1016  hbhe,
1017  hpoint1,
1018  point1,
1019  a_coneR[i],
1020  trackMomAtHcal,
1021  nRecHitsCone,
1022  v_RH_r44_ieta,
1023  v_RH_r44_iphi,
1024  v_RH_r44_ene,
1025  coneRecHitDetIds,
1026  distFromHotCell,
1027  ietaHotCell,
1028  iphiHotCell,
1029  gposHotCell);
1030  } else {
1031  hCone = spr::eCone_hcal(geo,
1032  hbhe,
1033  hpoint1,
1034  point1,
1035  a_coneR[i],
1036  trackMomAtHcal,
1037  nRecHitsCone,
1038  coneRecHitDetIds,
1039  distFromHotCell,
1040  ietaHotCell,
1041  iphiHotCell,
1042  gposHotCell);
1043  }
1044 
1045  if (ietaHotCell != 99) {
1046  ietaFromHotCell = ietaHotCell - ClosestCell_HcalDetId.ieta();
1047  iphiFromHotCell = iphiHotCell - ClosestCell_HcalDetId.iphi();
1048  }
1049 
1050  // SimHits NOT matched to RecHits
1051  if (doMC_) {
1052  hsimInfoCone = spr::eHCALSimInfoCone(iEvent,
1053  pcalohh,
1054  SimTk,
1055  SimVtx,
1056  pTrack,
1057  *associate,
1058  geo,
1059  hpoint1,
1060  point1,
1061  a_coneR[i],
1062  trackMomAtHcal,
1063  multiplicityCone);
1064 
1065  // SimHits matched to RecHits
1066  // hsimInfoCone = spr::eHCALSimInfoCone(iEvent,pcalohh, SimTk, SimVtx,
1067  // pTrack, *associate,
1068  // geo, hpoint1, point1,
1069  // a_coneR[i], trackMomAtHcal,
1070  // multiplicityCone,
1071  // coneRecHitDetIds);
1072 
1073  v_hsimInfoConeMatched.push_back(hsimInfoCone["eMatched"]);
1074  v_hsimInfoConeRest.push_back(hsimInfoCone["eRest"]);
1075  v_hsimInfoConePhoton.push_back(hsimInfoCone["eGamma"]);
1076  v_hsimInfoConeNeutHad.push_back(hsimInfoCone["eNeutralHad"]);
1077  v_hsimInfoConeCharHad.push_back(hsimInfoCone["eChargedHad"]);
1078  v_hsimInfoConePdgMatched.push_back(hsimInfoCone["pdgMatched"]);
1079  v_hsimInfoConeTotal.push_back(hsimInfoCone["eTotal"]);
1080 
1081  v_hsimInfoConeNMatched.push_back(multiplicityCone.at(0));
1082 
1083  v_hsimInfoConeNTotal.push_back(multiplicityCone.at(1));
1084  v_hsimInfoConeNNeutHad.push_back(multiplicityCone.at(2));
1085  v_hsimInfoConeNCharHad.push_back(multiplicityCone.at(3));
1086  v_hsimInfoConeNPhoton.push_back(multiplicityCone.at(4));
1087  v_hsimInfoConeNRest.push_back(multiplicityCone.at(5));
1088 
1089  v_hsimCone.push_back(hsimCone);
1090  v_nSimHitsCone.push_back(nSimHitsCone);
1091  }
1092  v_hCone.push_back(hCone);
1093  v_nRecHitsCone.push_back(nRecHitsCone);
1094 
1095  v_distFromHotCell.push_back(distFromHotCell);
1096  v_ietaFromHotCell.push_back(ietaFromHotCell);
1097  v_iphiFromHotCell.push_back(iphiFromHotCell);
1098  }
1099 
1101  // Fill Vectors that go into root file
1103 
1104  t_v_hnNearTRKs->push_back(v_hnNearTRKs);
1105  t_v_hnLayers_maxNearP->push_back(v_hnLayers_maxNearP);
1106  t_v_htrkQual_maxNearP->push_back(v_htrkQual_maxNearP);
1107  t_v_hmaxNearP_goodTrk->push_back(v_hmaxNearP_goodTrk);
1108  t_v_hmaxNearP->push_back(v_hmaxNearP);
1109 
1110  t_v_cone_hnNearTRKs->push_back(v_cone_hnNearTRKs);
1111  t_v_cone_hnLayers_maxNearP->push_back(v_cone_hnLayers_maxNearP);
1112  t_v_cone_htrkQual_maxNearP->push_back(v_cone_htrkQual_maxNearP);
1113  t_v_cone_hmaxNearP_goodTrk->push_back(v_cone_hmaxNearP_goodTrk);
1114  t_v_cone_hmaxNearP->push_back(v_cone_hmaxNearP);
1115 
1116  // t_hScale ->push_back(hScale );
1117  t_trkNOuterHits->push_back(nOuterHits);
1118  t_trkNLayersCrossed->push_back(nLayersCrossed);
1119  t_dtFromLeadJet->push_back(drFromLeadJet);
1120  t_trkP->push_back(p1);
1121  t_trkPt->push_back(pt1);
1122  t_trkEta->push_back(eta1);
1123  t_trkPhi->push_back(phi1);
1124 
1125  t_e3x3->push_back(e3x3);
1126  t_v_eDR->push_back(v_eDR);
1127  t_v_eMipDR->push_back(v_eMipDR);
1128 
1129  t_h3x3->push_back(h3x3);
1130  t_h5x5->push_back(h5x5);
1131  t_nRH_h3x3->push_back(nRH_h3x3);
1132  t_nRH_h5x5->push_back(nRH_h5x5);
1133 
1134  t_v_RH_h3x3_ieta->push_back(v_RH_h3x3_ieta);
1135  t_v_RH_h3x3_iphi->push_back(v_RH_h3x3_iphi);
1136  t_v_RH_h3x3_ene->push_back(v_RH_h3x3_ene);
1137  t_v_RH_h5x5_ieta->push_back(v_RH_h5x5_ieta);
1138  t_v_RH_h5x5_iphi->push_back(v_RH_h5x5_iphi);
1139  t_v_RH_h5x5_ene->push_back(v_RH_h5x5_ene);
1140 
1141  if (doMC_) {
1142  t_simP->push_back(simP);
1143  t_hsim3x3->push_back(hsim3x3);
1144  t_hsim5x5->push_back(hsim5x5);
1145 
1146  t_hsim3x3Matched->push_back(hsimInfo3x3["eMatched"]);
1147  t_hsim5x5Matched->push_back(hsimInfo5x5["eMatched"]);
1148  t_hsim3x3Rest->push_back(hsimInfo3x3["eRest"]);
1149  t_hsim5x5Rest->push_back(hsimInfo5x5["eRest"]);
1150  t_hsim3x3Photon->push_back(hsimInfo3x3["eGamma"]);
1151  t_hsim5x5Photon->push_back(hsimInfo5x5["eGamma"]);
1152  t_hsim3x3NeutHad->push_back(hsimInfo3x3["eNeutralHad"]);
1153  t_hsim5x5NeutHad->push_back(hsimInfo5x5["eNeutralHad"]);
1154  t_hsim3x3CharHad->push_back(hsimInfo3x3["eChargedHad"]);
1155  t_hsim5x5CharHad->push_back(hsimInfo5x5["eChargedHad"]);
1156  t_hsim3x3Total->push_back(hsimInfo3x3["eTotal"]);
1157  t_hsim5x5Total->push_back(hsimInfo5x5["eTotal"]);
1158  t_hsim3x3PdgMatched->push_back(hsimInfo3x3["pdgMatched"]);
1159  t_hsim5x5PdgMatched->push_back(hsimInfo5x5["pdgMatched"]);
1160 
1161  t_hsim3x3NMatched->push_back(multiplicity3x3.at(0));
1162  t_hsim3x3NTotal->push_back(multiplicity3x3.at(1));
1163  t_hsim3x3NNeutHad->push_back(multiplicity3x3.at(2));
1164  t_hsim3x3NCharHad->push_back(multiplicity3x3.at(3));
1165  t_hsim3x3NPhoton->push_back(multiplicity3x3.at(4));
1166  t_hsim3x3NRest->push_back(multiplicity3x3.at(5));
1167 
1168  t_hsim5x5NMatched->push_back(multiplicity5x5.at(0));
1169  t_hsim5x5NTotal->push_back(multiplicity5x5.at(1));
1170  t_hsim5x5NNeutHad->push_back(multiplicity5x5.at(2));
1171  t_hsim5x5NCharHad->push_back(multiplicity5x5.at(3));
1172  t_hsim5x5NPhoton->push_back(multiplicity5x5.at(4));
1173  t_hsim5x5NRest->push_back(multiplicity5x5.at(5));
1174  }
1175 
1176  t_distFromHotCell_h3x3->push_back(distFromHotCell_h3x3);
1177  t_ietaFromHotCell_h3x3->push_back(ietaFromHotCell_h3x3);
1178  t_iphiFromHotCell_h3x3->push_back(iphiFromHotCell_h3x3);
1179  t_distFromHotCell_h5x5->push_back(distFromHotCell_h5x5);
1180  t_ietaFromHotCell_h5x5->push_back(ietaFromHotCell_h5x5);
1181  t_iphiFromHotCell_h5x5->push_back(iphiFromHotCell_h5x5);
1182 
1183  if (doMC_) {
1184  t_trkHcalEne->push_back(trkHcalEne);
1185  t_trkEcalEne->push_back(trkEcalEne);
1186 
1187  t_v_hsimInfoConeMatched->push_back(v_hsimInfoConeMatched);
1188  t_v_hsimInfoConeRest->push_back(v_hsimInfoConeRest);
1189  t_v_hsimInfoConePhoton->push_back(v_hsimInfoConePhoton);
1190  t_v_hsimInfoConeNeutHad->push_back(v_hsimInfoConeNeutHad);
1191  t_v_hsimInfoConeCharHad->push_back(v_hsimInfoConeCharHad);
1192  t_v_hsimInfoConePdgMatched->push_back(v_hsimInfoConePdgMatched);
1193  t_v_hsimInfoConeTotal->push_back(v_hsimInfoConeTotal);
1194 
1195  t_v_hsimInfoConeNMatched->push_back(v_hsimInfoConeNMatched);
1196  t_v_hsimInfoConeNTotal->push_back(v_hsimInfoConeNTotal);
1197  t_v_hsimInfoConeNNeutHad->push_back(v_hsimInfoConeNNeutHad);
1198  t_v_hsimInfoConeNCharHad->push_back(v_hsimInfoConeNCharHad);
1199  t_v_hsimInfoConeNPhoton->push_back(v_hsimInfoConeNPhoton);
1200  t_v_hsimInfoConeNRest->push_back(v_hsimInfoConeNRest);
1201 
1202  t_v_hsimCone->push_back(v_hsimCone);
1203  t_v_hCone->push_back(v_hCone);
1204  t_v_nRecHitsCone->push_back(v_nRecHitsCone);
1205  t_v_nSimHitsCone->push_back(v_nSimHitsCone);
1206  }
1207 
1208  t_v_distFromHotCell->push_back(v_distFromHotCell);
1209  t_v_ietaFromHotCell->push_back(v_ietaFromHotCell);
1210  t_v_iphiFromHotCell->push_back(v_iphiFromHotCell);
1211 
1212  t_v_RH_r26_ieta->push_back(v_RH_r26_ieta);
1213  t_v_RH_r26_iphi->push_back(v_RH_r26_iphi);
1214  t_v_RH_r26_ene->push_back(v_RH_r26_ene);
1215  t_v_RH_r44_ieta->push_back(v_RH_r44_ieta);
1216  t_v_RH_r44_iphi->push_back(v_RH_r44_iphi);
1217  t_v_RH_r44_ene->push_back(v_RH_r44_ene);
1218 
1219  t_v_hlTriggers->push_back(v_hlTriggers);
1220  t_hltHB->push_back(hltHB);
1221  t_hltHE->push_back(hltHE);
1222  t_hltL1Jet15->push_back(hltL1Jet15);
1223  t_hltJet30->push_back(hltJet30);
1224  t_hltJet50->push_back(hltJet50);
1225  t_hltJet80->push_back(hltJet80);
1226  t_hltJet110->push_back(hltJet110);
1227  t_hltJet140->push_back(hltJet140);
1228  t_hltJet180->push_back(hltJet180);
1229  t_hltL1SingleEG5->push_back(hltL1SingleEG5);
1230  t_hltZeroBias->push_back(hltZeroBias);
1231  t_hltMinBiasHcal->push_back(hltMinBiasHcal);
1232  t_hltMinBiasEcal->push_back(hltMinBiasEcal);
1233  t_hltMinBiasPixel->push_back(hltMinBiasPixel);
1234  t_hltSingleIsoTau30_Trk5->push_back(hltSingleIsoTau30_Trk5);
1235  t_hltDoubleLooseIsoTau15_Trk5->push_back(hltDoubleLooseIsoTau15_Trk5);
1236 
1237  t_irun->push_back(irun);
1238  t_ievt->push_back(ievt);
1239  t_ilum->push_back(ilum);
1240 
1241  nTRK++;
1242 
1243  } // Loop over track collection
1244 
1245  // edm::LogVerbatim("IsoTrack") << "nEVT= " << nEVT;
1246 
1247  ntp_->Fill();
1248  nEVT++;
1249 }
bool quality(const TrackQuality) const
Track quality.
Definition: TrackBase.h:552
std::unique_ptr< std::vector< int > > t_hltJet30
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
double eCone_hcal(const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int detOnly=-1, int useRaw=0, bool debug=false)
Log< level::Info, true > LogVerbatim
std::unique_ptr< std::vector< int > > t_hsim3x3NCharHad
std::unique_ptr< std::vector< double > > t_trkPt
double coneChargeIsolation(const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, TrackDetectorAssociator &associator, TrackAssociatorParameters &parameters_, const std::string &theTrackQuality, int &nNearTRKs, int &nLayers_maxNearP, int &trkQual_maxNearP, double &maxNearP_goodTrk, const GlobalPoint &hpoint1, const GlobalVector &trackMom, double dR)
std::unique_ptr< std::vector< double > > t_trkPhi
std::unique_ptr< std::vector< double > > t_e3x3
std::unique_ptr< std::vector< double > > t_trkNLayersCrossed
std::unique_ptr< std::vector< double > > t_hsim5x5NeutHad
std::unique_ptr< std::vector< int > > t_hltZeroBias
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h3x3
TrackAssociatorParameters parameters_
double getDistInPlaneTrackDir(const GlobalPoint &caloPoint, const GlobalVector &caloVector, const GlobalPoint &rechitPoint, bool debug=false)
Definition: FindDistCone.cc:9
std::unique_ptr< std::vector< int > > t_hltHB
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h5x5
void eCaloSimInfo(std::vector< DetId > vdets, const CaloGeometry *geo, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, edm::SimTrackContainer::const_iterator trkInfo, caloSimInfo &info, double timeCut=150, bool debug=false)
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePhoton
std::unique_ptr< std::vector< double > > t_simP
std::unique_ptr< std::vector< double > > t_hsim3x3NeutHad
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
std::unique_ptr< std::vector< int > > t_hsim5x5NTotal
const edm::EDGetTokenT< edm::SimTrackContainer > tok_simTk_
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_ecalChStatus_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extTauJet_
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnNearTRKs
std::unique_ptr< std::vector< double > > t_hsim5x5Total
std::unique_ptr< std::vector< int > > t_hsim5x5NNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnNearTRKs
const edm::EDGetTokenT< reco::TrackCollection > tok_genTrack_
std::unique_ptr< std::vector< int > > t_hsim3x3NTotal
TrackQuality
track quality
Definition: TrackBase.h:150
std::unique_ptr< std::vector< int > > t_hsim5x5NRest
double p() const
momentum vector magnitude
Definition: TrackBase.h:631
int trackerLayersWithMeasurement() const
Definition: HitPattern.cc:534
std::unique_ptr< std::vector< double > > t_hsim5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h5x5_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimCone
std::unique_ptr< std::vector< double > > t_distFromHotCell_h3x3
std::unique_ptr< std::vector< std::vector< int > > > t_v_htrkQual_maxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP_goodTrk
std::unique_ptr< std::vector< double > > t_hsim5x5Photon
const TrackerHitAssociator::Config trackerHitAssociatorConfig_
std::unique_ptr< std::vector< double > > t_hsim3x3
std::unique_ptr< std::vector< int > > t_hltHE
std::unique_ptr< std::vector< int > > t_hsim5x5NPhoton
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h5x5
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_topo_
std::unique_ptr< std::vector< int > > t_hltJet110
std::unique_ptr< std::vector< double > > t_hsim5x5Rest
std::unique_ptr< std::vector< int > > t_hsim5x5NMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_hlTriggers
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNRest
std::unique_ptr< std::vector< double > > t_hsim3x3Rest
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_iphi
std::unique_ptr< std::vector< int > > t_hltMinBiasPixel
math::XYZPoint trkGlobPosAtHcal
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_iphi
std::unique_ptr< std::vector< double > > t_hsim5x5Matched
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP
std::unique_ptr< std::vector< int > > t_hltJet50
std::unique_ptr< std::vector< int > > t_hltMinBiasHcal
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
double pt() const
track transverse momentum
Definition: TrackBase.h:637
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeRest
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h3x3
std::unique_ptr< std::vector< double > > t_h3x3
int iEvent
Definition: GenABIO.cc:224
std::unique_ptr< std::vector< int > > t_hltDoubleLooseIsoTau15_Trk5
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_iphi
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEE_
const edm::ESGetToken< CaloTopology, CaloTopologyRecord > tok_caloTopology_
std::map< std::string, double > eHCALSimInfo(const edm::Event &, const HcalTopology *topology, const DetId &det, const CaloGeometry *geo, edm::Handle< T > &hits, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, int ieta, int iphi, double timeCut=150, bool includeHO=false, bool debug=false)
std::unique_ptr< std::vector< double > > t_dtFromLeadJet
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_htrkQual_maxNearP
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloHH_
std::unique_ptr< std::vector< double > > t_trkNOuterHits
std::unique_ptr< std::vector< std::vector< int > > > t_v_ietaFromHotCell
std::unique_ptr< std::vector< unsigned int > > t_ilum
std::unique_ptr< std::vector< int > > t_hltMinBiasEcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r26_ene
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnLayers_maxNearP
T sqrt(T t)
Definition: SSEVec.h:19
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnLayers_maxNearP
const edm::EDGetTokenT< edm::SimVertexContainer > tok_simVtx_
std::unique_ptr< std::vector< double > > t_hsim5x5CharHad
std::unique_ptr< std::vector< int > > t_hltL1Jet15
const edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
std::unique_ptr< std::vector< unsigned int > > t_ievt
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeTotal
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bFieldToken
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extFwdJet_
double eCone_ecal(const CaloGeometry *geo, edm::Handle< T > &barrelhits, edm::Handle< T > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
edm::SimTrackContainer::const_iterator matchedSimTrack(const edm::Event &iEvent, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const reco::Track *pTrack, TrackerHitAssociator &associate, bool debug=false)
std::unique_ptr< std::vector< double > > t_hsim3x3Photon
std::unique_ptr< std::vector< std::vector< int > > > t_v_nRecHitsCone
static std::string const triggerResults
Definition: EdmProvDump.cc:47
std::unique_ptr< std::vector< double > > t_hsim3x3Total
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_ieta
const edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
std::unique_ptr< std::vector< unsigned int > > t_irun
virtual DetId getClosestCell(const GlobalPoint &r) const
std::unique_ptr< std::vector< double > > t_nRH_h5x5
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNPhoton
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeMatched
std::unique_ptr< std::vector< double > > t_hsim5x5PdgMatched
std::unique_ptr< std::vector< double > > t_hsim3x3PdgMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_ieta
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:652
Definition: DetId.h:17
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
std::unique_ptr< std::vector< std::vector< int > > > t_v_nSimHitsCone
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:504
std::unique_ptr< std::vector< int > > t_hltL1SingleEG5
std::unique_ptr< std::vector< int > > t_hltJet180
GlobalVector trkMomAtEcal
std::unique_ptr< std::vector< double > > t_hsim3x3CharHad
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeCharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNMatched
std::unique_ptr< std::vector< double > > t_distFromHotCell_h5x5
std::unique_ptr< std::vector< double > > t_trkHcalEne
const edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
const edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_sevlv_
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_ieta
const Vector & momentum() const
track momentum vector
Definition: TrackBase.h:664
std::unique_ptr< std::vector< std::vector< double > > > t_v_distFromHotCell
std::unique_ptr< std::vector< std::vector< double > > > t_v_hCone
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eDR
GlobalVector trkMomAtHcal
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extCenJet_
std::unique_ptr< std::vector< double > > t_hsim3x3Matched
std::unique_ptr< std::vector< double > > t_trkEcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_iphiFromHotCell
std::unique_ptr< std::vector< int > > t_hsim3x3NPhoton
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNCharHad
std::unique_ptr< std::vector< double > > t_nRH_h3x3
std::unique_ptr< std::vector< int > > t_hsim3x3NRest
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNTotal
math::XYZPoint trkGlobPosAtEcal
Track position at different parts of the calorimeter.
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_iphi
std::unique_ptr< std::vector< double > > t_h5x5
std::unique_ptr< std::vector< int > > t_hltJet80
std::unique_ptr< std::vector< double > > t_trkEta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eMipDR
std::unique_ptr< std::vector< int > > t_hsim3x3NNeutHad
std::unique_ptr< std::vector< double > > t_trkP
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:34
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEB_
std::unique_ptr< std::vector< int > > t_hltSingleIsoTau30_Trk5
std::unique_ptr< std::vector< int > > t_hltJet140
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h3x3_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP_goodTrk
std::unique_ptr< std::vector< int > > t_hsim5x5NCharHad
std::unique_ptr< std::vector< int > > t_hsim3x3NMatched
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP
std::unique_ptr< TrackDetectorAssociator > trackAssociator_
const edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
double eECALmatrix(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
double eHCALmatrix(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, bool algoNew=true, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int useRaw=0, bool debug=false)
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r44_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePdgMatched

◆ beginJob()

void IsolatedTracksCone::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 1251 of file IsolatedTracksCone.cc.

References buildTree(), doMC_, genPartEtaBins, genPartPBins_, nEVT, nEVT_failL1, nTRK, t_distFromHotCell_h3x3, t_distFromHotCell_h5x5, t_dtFromLeadJet, t_e3x3, t_h3x3, t_h5x5, t_hltDoubleLooseIsoTau15_Trk5, t_hltHB, t_hltHE, t_hltJet110, t_hltJet140, t_hltJet180, t_hltJet30, t_hltJet50, t_hltJet80, t_hltL1Jet15, t_hltL1SingleEG5, t_hltMinBiasEcal, t_hltMinBiasHcal, t_hltMinBiasPixel, t_hltSingleIsoTau30_Trk5, t_hltZeroBias, t_hsim3x3, t_hsim3x3CharHad, t_hsim3x3Matched, t_hsim3x3NCharHad, t_hsim3x3NeutHad, t_hsim3x3NMatched, t_hsim3x3NNeutHad, t_hsim3x3NPhoton, t_hsim3x3NRest, t_hsim3x3NTotal, t_hsim3x3PdgMatched, t_hsim3x3Photon, t_hsim3x3Rest, t_hsim3x3Total, t_hsim5x5, t_hsim5x5CharHad, t_hsim5x5Matched, t_hsim5x5NCharHad, t_hsim5x5NeutHad, t_hsim5x5NMatched, t_hsim5x5NNeutHad, t_hsim5x5NPhoton, t_hsim5x5NRest, t_hsim5x5NTotal, t_hsim5x5PdgMatched, t_hsim5x5Photon, t_hsim5x5Rest, t_hsim5x5Total, t_ietaFromHotCell_h3x3, t_ietaFromHotCell_h5x5, t_ievt, t_ilum, t_iphiFromHotCell_h3x3, t_iphiFromHotCell_h5x5, t_irun, t_nRH_h3x3, t_nRH_h5x5, t_simP, t_trkEcalEne, t_trkEta, t_trkHcalEne, t_trkNLayersCrossed, t_trkNOuterHits, t_trkP, t_trkPhi, t_trkPt, t_v_cone_hmaxNearP, t_v_cone_hmaxNearP_goodTrk, t_v_cone_hnLayers_maxNearP, t_v_cone_hnNearTRKs, t_v_cone_htrkQual_maxNearP, t_v_distFromHotCell, t_v_eDR, t_v_eMipDR, t_v_hCone, t_v_hlTriggers, t_v_hmaxNearP, t_v_hmaxNearP_goodTrk, t_v_hnLayers_maxNearP, t_v_hnNearTRKs, t_v_hsimCone, t_v_hsimInfoConeCharHad, t_v_hsimInfoConeMatched, t_v_hsimInfoConeNCharHad, t_v_hsimInfoConeNeutHad, t_v_hsimInfoConeNMatched, t_v_hsimInfoConeNNeutHad, t_v_hsimInfoConeNPhoton, t_v_hsimInfoConeNRest, t_v_hsimInfoConeNTotal, t_v_hsimInfoConePdgMatched, t_v_hsimInfoConePhoton, t_v_hsimInfoConeRest, t_v_hsimInfoConeTotal, t_v_htrkQual_maxNearP, t_v_ietaFromHotCell, t_v_iphiFromHotCell, t_v_nRecHitsCone, t_v_nSimHitsCone, t_v_RH_h3x3_ene, t_v_RH_h3x3_ieta, t_v_RH_h3x3_iphi, t_v_RH_h5x5_ene, t_v_RH_h5x5_ieta, t_v_RH_h5x5_iphi, t_v_RH_r26_ene, t_v_RH_r26_ieta, t_v_RH_r26_iphi, t_v_RH_r44_ene, t_v_RH_r44_ieta, and t_v_RH_r44_iphi.

1251  {
1252  // hbScale = 120.0;
1253  // heScale = 135.0;
1254  nEVT = 0;
1255  nEVT_failL1 = 0;
1256  nTRK = 0;
1257 
1258  genPartPBins_ = {{0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,
1259  12.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 100.0}};
1260 
1261  genPartEtaBins = {{0.0, 0.5, 1.1, 1.7, 2.0}};
1262 
1263  t_v_hnNearTRKs = std::make_unique<std::vector<std::vector<int> > >();
1264  t_v_hnLayers_maxNearP = std::make_unique<std::vector<std::vector<int> > >();
1265  t_v_htrkQual_maxNearP = std::make_unique<std::vector<std::vector<int> > >();
1266  t_v_hmaxNearP_goodTrk = std::make_unique<std::vector<std::vector<double> > >();
1267  t_v_hmaxNearP = std::make_unique<std::vector<std::vector<double> > >();
1268 
1269  t_v_cone_hnNearTRKs = std::make_unique<std::vector<std::vector<int> > >();
1270  t_v_cone_hnLayers_maxNearP = std::make_unique<std::vector<std::vector<int> > >();
1271  t_v_cone_htrkQual_maxNearP = std::make_unique<std::vector<std::vector<int> > >();
1272  t_v_cone_hmaxNearP_goodTrk = std::make_unique<std::vector<std::vector<double> > >();
1273  t_v_cone_hmaxNearP = std::make_unique<std::vector<std::vector<double> > >();
1274 
1275  // t_hScale = std::make_unique<std::vector<double> >();
1276  t_trkNOuterHits = std::make_unique<std::vector<double> >();
1277  t_trkNLayersCrossed = std::make_unique<std::vector<double> >();
1278  t_dtFromLeadJet = std::make_unique<std::vector<double> >();
1279  t_trkP = std::make_unique<std::vector<double> >();
1280  t_trkPt = std::make_unique<std::vector<double> >();
1281  t_trkEta = std::make_unique<std::vector<double> >();
1282  t_trkPhi = std::make_unique<std::vector<double> >();
1283 
1284  t_e3x3 = std::make_unique<std::vector<double> >();
1285  t_v_eDR = std::make_unique<std::vector<std::vector<double> > >();
1286  t_v_eMipDR = std::make_unique<std::vector<std::vector<double> > >();
1287 
1288  t_h3x3 = std::make_unique<std::vector<double> >();
1289  t_h5x5 = std::make_unique<std::vector<double> >();
1290 
1291  t_nRH_h3x3 = std::make_unique<std::vector<double> >();
1292  t_nRH_h5x5 = std::make_unique<std::vector<double> >();
1293 
1294  if (doMC_) {
1295  t_simP = std::make_unique<std::vector<double> >();
1296  t_hsim3x3 = std::make_unique<std::vector<double> >();
1297  t_hsim5x5 = std::make_unique<std::vector<double> >();
1298 
1299  t_hsim3x3Matched = std::make_unique<std::vector<double> >();
1300  t_hsim5x5Matched = std::make_unique<std::vector<double> >();
1301  t_hsim3x3Rest = std::make_unique<std::vector<double> >();
1302  t_hsim5x5Rest = std::make_unique<std::vector<double> >();
1303  t_hsim3x3Photon = std::make_unique<std::vector<double> >();
1304  t_hsim5x5Photon = std::make_unique<std::vector<double> >();
1305  t_hsim3x3NeutHad = std::make_unique<std::vector<double> >();
1306  t_hsim5x5NeutHad = std::make_unique<std::vector<double> >();
1307  t_hsim3x3CharHad = std::make_unique<std::vector<double> >();
1308  t_hsim5x5CharHad = std::make_unique<std::vector<double> >();
1309  t_hsim3x3PdgMatched = std::make_unique<std::vector<double> >();
1310  t_hsim5x5PdgMatched = std::make_unique<std::vector<double> >();
1311  t_hsim3x3Total = std::make_unique<std::vector<double> >();
1312  t_hsim5x5Total = std::make_unique<std::vector<double> >();
1313 
1314  t_hsim3x3NMatched = std::make_unique<std::vector<int> >();
1315  t_hsim3x3NTotal = std::make_unique<std::vector<int> >();
1316  t_hsim3x3NNeutHad = std::make_unique<std::vector<int> >();
1317  t_hsim3x3NCharHad = std::make_unique<std::vector<int> >();
1318  t_hsim3x3NPhoton = std::make_unique<std::vector<int> >();
1319  t_hsim3x3NRest = std::make_unique<std::vector<int> >();
1320 
1321  t_hsim5x5NMatched = std::make_unique<std::vector<int> >();
1322  t_hsim5x5NTotal = std::make_unique<std::vector<int> >();
1323  t_hsim5x5NNeutHad = std::make_unique<std::vector<int> >();
1324  t_hsim5x5NCharHad = std::make_unique<std::vector<int> >();
1325  t_hsim5x5NPhoton = std::make_unique<std::vector<int> >();
1326  t_hsim5x5NRest = std::make_unique<std::vector<int> >();
1327 
1328  t_trkHcalEne = std::make_unique<std::vector<double> >();
1329  t_trkEcalEne = std::make_unique<std::vector<double> >();
1330  }
1331 
1332  t_distFromHotCell_h3x3 = std::make_unique<std::vector<double> >();
1333  t_ietaFromHotCell_h3x3 = std::make_unique<std::vector<int> >();
1334  t_iphiFromHotCell_h3x3 = std::make_unique<std::vector<int> >();
1335  t_distFromHotCell_h5x5 = std::make_unique<std::vector<double> >();
1336  t_ietaFromHotCell_h5x5 = std::make_unique<std::vector<int> >();
1337  t_iphiFromHotCell_h5x5 = std::make_unique<std::vector<int> >();
1338 
1339  if (doMC_) {
1340  t_v_hsimInfoConeMatched = std::make_unique<std::vector<std::vector<double> > >();
1341  t_v_hsimInfoConeRest = std::make_unique<std::vector<std::vector<double> > >();
1342  t_v_hsimInfoConePhoton = std::make_unique<std::vector<std::vector<double> > >();
1343  t_v_hsimInfoConeNeutHad = std::make_unique<std::vector<std::vector<double> > >();
1344  t_v_hsimInfoConeCharHad = std::make_unique<std::vector<std::vector<double> > >();
1345  t_v_hsimInfoConePdgMatched = std::make_unique<std::vector<std::vector<double> > >();
1346  t_v_hsimInfoConeTotal = std::make_unique<std::vector<std::vector<double> > >();
1347 
1348  t_v_hsimInfoConeNMatched = std::make_unique<std::vector<std::vector<int> > >();
1349  t_v_hsimInfoConeNTotal = std::make_unique<std::vector<std::vector<int> > >();
1350  t_v_hsimInfoConeNNeutHad = std::make_unique<std::vector<std::vector<int> > >();
1351  t_v_hsimInfoConeNCharHad = std::make_unique<std::vector<std::vector<int> > >();
1352  t_v_hsimInfoConeNPhoton = std::make_unique<std::vector<std::vector<int> > >();
1353  t_v_hsimInfoConeNRest = std::make_unique<std::vector<std::vector<int> > >();
1354 
1355  t_v_hsimCone = std::make_unique<std::vector<std::vector<double> > >();
1356  }
1357 
1358  t_v_hCone = std::make_unique<std::vector<std::vector<double> > >();
1359  t_v_nRecHitsCone = std::make_unique<std::vector<std::vector<int> > >();
1360  t_v_nSimHitsCone = std::make_unique<std::vector<std::vector<int> > >();
1361 
1362  t_v_distFromHotCell = std::make_unique<std::vector<std::vector<double> > >();
1363  t_v_ietaFromHotCell = std::make_unique<std::vector<std::vector<int> > >();
1364  t_v_iphiFromHotCell = std::make_unique<std::vector<std::vector<int> > >();
1365 
1366  t_v_RH_h3x3_ieta = std::make_unique<std::vector<std::vector<int> > >();
1367  t_v_RH_h3x3_iphi = std::make_unique<std::vector<std::vector<int> > >();
1368  t_v_RH_h3x3_ene = std::make_unique<std::vector<std::vector<double> > >();
1369  t_v_RH_h5x5_ieta = std::make_unique<std::vector<std::vector<int> > >();
1370  t_v_RH_h5x5_iphi = std::make_unique<std::vector<std::vector<int> > >();
1371  t_v_RH_h5x5_ene = std::make_unique<std::vector<std::vector<double> > >();
1372  t_v_RH_r26_ieta = std::make_unique<std::vector<std::vector<int> > >();
1373  t_v_RH_r26_iphi = std::make_unique<std::vector<std::vector<int> > >();
1374  t_v_RH_r26_ene = std::make_unique<std::vector<std::vector<double> > >();
1375  t_v_RH_r44_ieta = std::make_unique<std::vector<std::vector<int> > >();
1376  t_v_RH_r44_iphi = std::make_unique<std::vector<std::vector<int> > >();
1377  t_v_RH_r44_ene = std::make_unique<std::vector<std::vector<double> > >();
1378 
1379  t_v_hlTriggers = std::make_unique<std::vector<std::vector<int> > >();
1380 
1381  t_hltHE = std::make_unique<std::vector<int> >();
1382  t_hltHB = std::make_unique<std::vector<int> >();
1383  t_hltL1Jet15 = std::make_unique<std::vector<int> >();
1384  t_hltJet30 = std::make_unique<std::vector<int> >();
1385  t_hltJet50 = std::make_unique<std::vector<int> >();
1386  t_hltJet80 = std::make_unique<std::vector<int> >();
1387  t_hltJet110 = std::make_unique<std::vector<int> >();
1388  t_hltJet140 = std::make_unique<std::vector<int> >();
1389  t_hltJet180 = std::make_unique<std::vector<int> >();
1390  t_hltL1SingleEG5 = std::make_unique<std::vector<int> >();
1391  t_hltZeroBias = std::make_unique<std::vector<int> >();
1392  t_hltMinBiasHcal = std::make_unique<std::vector<int> >();
1393  t_hltMinBiasEcal = std::make_unique<std::vector<int> >();
1394  t_hltMinBiasPixel = std::make_unique<std::vector<int> >();
1395  t_hltSingleIsoTau30_Trk5 = std::make_unique<std::vector<int> >();
1396  t_hltDoubleLooseIsoTau15_Trk5 = std::make_unique<std::vector<int> >();
1397 
1398  t_irun = std::make_unique<std::vector<unsigned int> >();
1399  t_ievt = std::make_unique<std::vector<unsigned int> >();
1400  t_ilum = std::make_unique<std::vector<unsigned int> >();
1401 
1402  buildTree();
1403 }
std::unique_ptr< std::vector< int > > t_hltJet30
std::unique_ptr< std::vector< int > > t_hsim3x3NCharHad
std::unique_ptr< std::vector< double > > t_trkPt
std::unique_ptr< std::vector< double > > t_trkPhi
std::unique_ptr< std::vector< double > > t_e3x3
std::unique_ptr< std::vector< double > > t_trkNLayersCrossed
std::unique_ptr< std::vector< double > > t_hsim5x5NeutHad
std::unique_ptr< std::vector< int > > t_hltZeroBias
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h3x3
std::unique_ptr< std::vector< int > > t_hltHB
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePhoton
std::unique_ptr< std::vector< double > > t_simP
std::unique_ptr< std::vector< double > > t_hsim3x3NeutHad
std::unique_ptr< std::vector< int > > t_hsim5x5NTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnNearTRKs
std::unique_ptr< std::vector< double > > t_hsim5x5Total
std::unique_ptr< std::vector< int > > t_hsim5x5NNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnNearTRKs
std::unique_ptr< std::vector< int > > t_hsim3x3NTotal
std::unique_ptr< std::vector< int > > t_hsim5x5NRest
std::unique_ptr< std::vector< double > > t_hsim5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h5x5_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimCone
std::unique_ptr< std::vector< double > > t_distFromHotCell_h3x3
std::unique_ptr< std::vector< std::vector< int > > > t_v_htrkQual_maxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP_goodTrk
std::unique_ptr< std::vector< double > > t_hsim5x5Photon
std::unique_ptr< std::vector< double > > t_hsim3x3
std::unique_ptr< std::vector< int > > t_hltHE
std::unique_ptr< std::vector< int > > t_hsim5x5NPhoton
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h5x5
std::unique_ptr< std::vector< int > > t_hltJet110
std::unique_ptr< std::vector< double > > t_hsim5x5Rest
std::unique_ptr< std::vector< int > > t_hsim5x5NMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_hlTriggers
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNRest
std::unique_ptr< std::vector< double > > t_hsim3x3Rest
std::array< double, nPBins_+1 > genPartPBins_
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_iphi
std::unique_ptr< std::vector< int > > t_hltMinBiasPixel
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_iphi
std::unique_ptr< std::vector< double > > t_hsim5x5Matched
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP
std::unique_ptr< std::vector< int > > t_hltJet50
std::unique_ptr< std::vector< int > > t_hltMinBiasHcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeRest
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h3x3
std::unique_ptr< std::vector< double > > t_h3x3
std::unique_ptr< std::vector< int > > t_hltDoubleLooseIsoTau15_Trk5
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_iphi
std::unique_ptr< std::vector< double > > t_dtFromLeadJet
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_htrkQual_maxNearP
std::unique_ptr< std::vector< double > > t_trkNOuterHits
std::unique_ptr< std::vector< std::vector< int > > > t_v_ietaFromHotCell
std::unique_ptr< std::vector< unsigned int > > t_ilum
std::unique_ptr< std::vector< int > > t_hltMinBiasEcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r26_ene
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnLayers_maxNearP
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnLayers_maxNearP
std::unique_ptr< std::vector< double > > t_hsim5x5CharHad
std::unique_ptr< std::vector< int > > t_hltL1Jet15
std::unique_ptr< std::vector< unsigned int > > t_ievt
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeTotal
std::array< double, nEtaBins_+1 > genPartEtaBins
std::unique_ptr< std::vector< double > > t_hsim3x3Photon
std::unique_ptr< std::vector< std::vector< int > > > t_v_nRecHitsCone
std::unique_ptr< std::vector< double > > t_hsim3x3Total
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_ieta
std::unique_ptr< std::vector< unsigned int > > t_irun
std::unique_ptr< std::vector< double > > t_nRH_h5x5
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNPhoton
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeMatched
std::unique_ptr< std::vector< double > > t_hsim5x5PdgMatched
std::unique_ptr< std::vector< double > > t_hsim3x3PdgMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_ieta
std::unique_ptr< std::vector< std::vector< int > > > t_v_nSimHitsCone
std::unique_ptr< std::vector< int > > t_hltL1SingleEG5
std::unique_ptr< std::vector< int > > t_hltJet180
std::unique_ptr< std::vector< double > > t_hsim3x3CharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeCharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNMatched
std::unique_ptr< std::vector< double > > t_distFromHotCell_h5x5
std::unique_ptr< std::vector< double > > t_trkHcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_distFromHotCell
std::unique_ptr< std::vector< std::vector< double > > > t_v_hCone
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eDR
std::unique_ptr< std::vector< double > > t_hsim3x3Matched
std::unique_ptr< std::vector< double > > t_trkEcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_iphiFromHotCell
std::unique_ptr< std::vector< int > > t_hsim3x3NPhoton
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNCharHad
std::unique_ptr< std::vector< double > > t_nRH_h3x3
std::unique_ptr< std::vector< int > > t_hsim3x3NRest
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_iphi
std::unique_ptr< std::vector< double > > t_h5x5
std::unique_ptr< std::vector< int > > t_hltJet80
std::unique_ptr< std::vector< double > > t_trkEta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eMipDR
std::unique_ptr< std::vector< int > > t_hsim3x3NNeutHad
std::unique_ptr< std::vector< double > > t_trkP
std::unique_ptr< std::vector< int > > t_hltSingleIsoTau30_Trk5
std::unique_ptr< std::vector< int > > t_hltJet140
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h3x3_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP_goodTrk
std::unique_ptr< std::vector< int > > t_hsim5x5NCharHad
std::unique_ptr< std::vector< int > > t_hsim3x3NMatched
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r44_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePdgMatched

◆ buildTree()

void IsolatedTracksCone::buildTree ( )
private

Definition at line 1546 of file IsolatedTracksCone.cc.

References doMC_, compareTotals::fs, h_RawEta, h_RawP, h_RawPhi, h_RawPt, leadL1JetEta, leadL1JetPhi, leadL1JetPT, nEVT, nFailEta, nFailHighPurityQaul, nFailPt, nMissEcal, nMissHcal, nRawTRK, ntp_, nTRK, t_distFromHotCell_h3x3, t_distFromHotCell_h5x5, t_dtFromLeadJet, t_e3x3, t_h3x3, t_h5x5, t_hltDoubleLooseIsoTau15_Trk5, t_hltHB, t_hltHE, t_hltJet110, t_hltJet140, t_hltJet180, t_hltJet30, t_hltJet50, t_hltJet80, t_hltL1Jet15, t_hltL1SingleEG5, t_hltMinBiasEcal, t_hltMinBiasHcal, t_hltMinBiasPixel, t_hltSingleIsoTau30_Trk5, t_hltZeroBias, t_hsim3x3, t_hsim3x3CharHad, t_hsim3x3Matched, t_hsim3x3NCharHad, t_hsim3x3NeutHad, t_hsim3x3NMatched, t_hsim3x3NNeutHad, t_hsim3x3NPhoton, t_hsim3x3NRest, t_hsim3x3NTotal, t_hsim3x3PdgMatched, t_hsim3x3Photon, t_hsim3x3Rest, t_hsim3x3Total, t_hsim5x5, t_hsim5x5CharHad, t_hsim5x5Matched, t_hsim5x5NCharHad, t_hsim5x5NeutHad, t_hsim5x5NMatched, t_hsim5x5NNeutHad, t_hsim5x5NPhoton, t_hsim5x5NRest, t_hsim5x5NTotal, t_hsim5x5PdgMatched, t_hsim5x5Photon, t_hsim5x5Rest, t_hsim5x5Total, t_ietaFromHotCell_h3x3, t_ietaFromHotCell_h5x5, t_ievt, t_ilum, t_iphiFromHotCell_h3x3, t_iphiFromHotCell_h5x5, t_irun, t_nRH_h3x3, t_nRH_h5x5, t_simP, t_trkEcalEne, t_trkEta, t_trkHcalEne, t_trkNLayersCrossed, t_trkNOuterHits, t_trkP, t_trkPhi, t_trkPt, t_v_cone_hmaxNearP, t_v_cone_hmaxNearP_goodTrk, t_v_cone_hnLayers_maxNearP, t_v_cone_hnNearTRKs, t_v_cone_htrkQual_maxNearP, t_v_distFromHotCell, t_v_eDR, t_v_eMipDR, t_v_hCone, t_v_hlTriggers, t_v_hmaxNearP, t_v_hmaxNearP_goodTrk, t_v_hnLayers_maxNearP, t_v_hnNearTRKs, t_v_hsimCone, t_v_hsimInfoConeCharHad, t_v_hsimInfoConeMatched, t_v_hsimInfoConeNCharHad, t_v_hsimInfoConeNeutHad, t_v_hsimInfoConeNMatched, t_v_hsimInfoConeNNeutHad, t_v_hsimInfoConeNPhoton, t_v_hsimInfoConeNRest, t_v_hsimInfoConeNTotal, t_v_hsimInfoConePdgMatched, t_v_hsimInfoConePhoton, t_v_hsimInfoConeRest, t_v_hsimInfoConeTotal, t_v_htrkQual_maxNearP, t_v_ietaFromHotCell, t_v_iphiFromHotCell, t_v_nRecHitsCone, t_v_nSimHitsCone, t_v_RH_h3x3_ene, t_v_RH_h3x3_ieta, t_v_RH_h3x3_iphi, t_v_RH_h5x5_ene, t_v_RH_h5x5_ieta, t_v_RH_h5x5_iphi, t_v_RH_r26_ene, t_v_RH_r26_ieta, t_v_RH_r26_iphi, t_v_RH_r44_ene, t_v_RH_r44_ieta, and t_v_RH_r44_iphi.

Referenced by beginJob().

1546  {
1548  h_RawPt = fs->make<TH1F>("hRawPt", "hRawPt", 100, 0.0, 100.0);
1549  h_RawP = fs->make<TH1F>("hRawP", "hRawP", 100, 0.0, 100.0);
1550  h_RawEta = fs->make<TH1F>("hRawEta", "hRawEta", 15, 0.0, 3.0);
1551  h_RawPhi = fs->make<TH1F>("hRawPhi", "hRawPhi", 100, -3.2, 3.2);
1552 
1553  ntp_ = fs->make<TTree>("ntp", "ntp");
1554 
1555  // Counters
1556  ntp_->Branch("nEVT", &nEVT, "nEVT/I");
1557  ntp_->Branch("leadL1JetPT", &leadL1JetPT, "leadL1JetPT/D");
1558  ntp_->Branch("leadL1JetEta", &leadL1JetEta, "leadL1JetEta/D");
1559  ntp_->Branch("leadL1JetPhi", &leadL1JetPhi, "leadL1JetPhi/D");
1560  ntp_->Branch("nTRK", &nTRK, "nTRK/I");
1561  ntp_->Branch("nRawTRK", &nRawTRK, "nRawTRK/I");
1562  ntp_->Branch("nFailHighPurityQaul", &nFailHighPurityQaul, "nFailHighPurityQaul/I");
1563  ntp_->Branch("nFailPt", &nFailPt, "nFailPt/I");
1564  ntp_->Branch("nFailEta", &nFailEta, "nFailEta/I");
1565  ntp_->Branch("nMissEcal", &nMissEcal, "nMissEcal/I");
1566  ntp_->Branch("nMissHcal", &nMissHcal, "nMissHcal/I");
1567 
1568  ntp_->Branch("hnNearTRKs", "std::vector<std::vector<int> > ", &t_v_hnNearTRKs);
1569  ntp_->Branch("hnLayers_maxNearP", "std::vector<std::vector<int> > ", &t_v_hnLayers_maxNearP);
1570  ntp_->Branch("htrkQual_maxNearP", "std::vector<std::vector<int> > ", &t_v_htrkQual_maxNearP);
1571  ntp_->Branch("hmaxNearP_goodTrk", "std::vector<std::vector<double> >", &t_v_hmaxNearP_goodTrk);
1572  ntp_->Branch("hmaxNearP", "std::vector<std::vector<double> >", &t_v_hmaxNearP);
1573 
1574  ntp_->Branch("cone_hnNearTRKs", "std::vector<std::vector<int> > ", &t_v_cone_hnNearTRKs);
1575  ntp_->Branch("cone_hnLayers_maxNearP", "std::vector<std::vector<int> > ", &t_v_cone_hnLayers_maxNearP);
1576  ntp_->Branch("cone_htrkQual_maxNearP", "std::vector<std::vector<int> > ", &t_v_cone_htrkQual_maxNearP);
1577  ntp_->Branch("cone_hmaxNearP_goodTrk", "std::vector<std::vector<double> >", &t_v_cone_hmaxNearP_goodTrk);
1578  ntp_->Branch("cone_hmaxNearP", "std::vector<std::vector<double> >", &t_v_cone_hmaxNearP);
1579 
1580  //ntp_->Branch("hScale" , "std::vector<double>", &t_hScale );
1581  ntp_->Branch("trkNOuterHits", "std::vector<double>", &t_trkNOuterHits);
1582  ntp_->Branch("trkNLayersCrossed", "std::vector<double>", &t_trkNLayersCrossed);
1583  ntp_->Branch("drFromLeadJet", "std::vector<double>", &t_dtFromLeadJet);
1584  ntp_->Branch("trkP", "std::vector<double>", &t_trkP);
1585  ntp_->Branch("trkPt", "std::vector<double>", &t_trkPt);
1586  ntp_->Branch("trkEta", "std::vector<double>", &t_trkEta);
1587  ntp_->Branch("trkPhi", "std::vector<double>", &t_trkPhi);
1588  ntp_->Branch("e3x3", "std::vector<double>", &t_e3x3);
1589 
1590  ntp_->Branch("e3x3", "std::vector<double>", &t_e3x3);
1591  ntp_->Branch("v_eDR", "std::vector<std::vector<double> >", &t_v_eDR);
1592  ntp_->Branch("v_eMipDR", "std::vector<std::vector<double> >", &t_v_eMipDR);
1593 
1594  ntp_->Branch("h3x3", "std::vector<double>", &t_h3x3);
1595  ntp_->Branch("h5x5", "std::vector<double>", &t_h5x5);
1596  ntp_->Branch("nRH_h3x3", "std::vector<double>", &t_nRH_h3x3);
1597  ntp_->Branch("nRH_h5x5", "std::vector<double>", &t_nRH_h5x5);
1598 
1599  if (doMC_) {
1600  ntp_->Branch("simP", "std::vector<double>", &t_simP);
1601  ntp_->Branch("hsim3x3", "std::vector<double>", &t_hsim3x3);
1602  ntp_->Branch("hsim5x5", "std::vector<double>", &t_hsim5x5);
1603 
1604  ntp_->Branch("hsim3x3Matched", "std::vector<double>", &t_hsim3x3Matched);
1605  ntp_->Branch("hsim5x5Matched", "std::vector<double>", &t_hsim5x5Matched);
1606  ntp_->Branch("hsim3x3Rest", "std::vector<double>", &t_hsim3x3Rest);
1607  ntp_->Branch("hsim5x5Rest", "std::vector<double>", &t_hsim5x5Rest);
1608  ntp_->Branch("hsim3x3Photon", "std::vector<double>", &t_hsim3x3Photon);
1609  ntp_->Branch("hsim5x5Photon", "std::vector<double>", &t_hsim5x5Photon);
1610  ntp_->Branch("hsim3x3NeutHad", "std::vector<double>", &t_hsim3x3NeutHad);
1611  ntp_->Branch("hsim5x5NeutHad", "std::vector<double>", &t_hsim5x5NeutHad);
1612  ntp_->Branch("hsim3x3CharHad", "std::vector<double>", &t_hsim3x3CharHad);
1613  ntp_->Branch("hsim5x5CharHad", "std::vector<double>", &t_hsim5x5CharHad);
1614  ntp_->Branch("hsim3x3PdgMatched", "std::vector<double>", &t_hsim3x3PdgMatched);
1615  ntp_->Branch("hsim5x5PdgMatched", "std::vector<double>", &t_hsim5x5PdgMatched);
1616  ntp_->Branch("hsim3x3Total", "std::vector<double>", &t_hsim3x3Total);
1617  ntp_->Branch("hsim5x5Total", "std::vector<double>", &t_hsim5x5Total);
1618 
1619  ntp_->Branch("hsim3x3NMatched", "std::vector<int>", &t_hsim3x3NMatched);
1620  ntp_->Branch("hsim3x3NRest", "std::vector<int>", &t_hsim3x3NRest);
1621  ntp_->Branch("hsim3x3NPhoton", "std::vector<int>", &t_hsim3x3NPhoton);
1622  ntp_->Branch("hsim3x3NNeutHad", "std::vector<int>", &t_hsim3x3NNeutHad);
1623  ntp_->Branch("hsim3x3NCharHad", "std::vector<int>", &t_hsim3x3NCharHad);
1624  ntp_->Branch("hsim3x3NTotal", "std::vector<int>", &t_hsim3x3NTotal);
1625 
1626  ntp_->Branch("hsim5x5NMatched", "std::vector<int>", &t_hsim5x5NMatched);
1627  ntp_->Branch("hsim5x5NRest", "std::vector<int>", &t_hsim5x5NRest);
1628  ntp_->Branch("hsim5x5NPhoton", "std::vector<int>", &t_hsim5x5NPhoton);
1629  ntp_->Branch("hsim5x5NNeutHad", "std::vector<int>", &t_hsim5x5NNeutHad);
1630  ntp_->Branch("hsim5x5NCharHad", "std::vector<int>", &t_hsim5x5NCharHad);
1631  ntp_->Branch("hsim5x5NTotal", "std::vector<int>", &t_hsim5x5NTotal);
1632 
1633  ntp_->Branch("trkHcalEne", "std::vector<double>", &t_trkHcalEne);
1634  ntp_->Branch("trkEcalEne", "std::vector<double>", &t_trkEcalEne);
1635  }
1636 
1637  ntp_->Branch("distFromHotCell_h3x3", "std::vector<double>", &t_distFromHotCell_h3x3);
1638  ntp_->Branch("ietaFromHotCell_h3x3", "std::vector<int>", &t_ietaFromHotCell_h3x3);
1639  ntp_->Branch("iphiFromHotCell_h3x3", "std::vector<int>", &t_iphiFromHotCell_h3x3);
1640  ntp_->Branch("distFromHotCell_h5x5", "std::vector<double>", &t_distFromHotCell_h5x5);
1641  ntp_->Branch("ietaFromHotCell_h5x5", "std::vector<int>", &t_ietaFromHotCell_h5x5);
1642  ntp_->Branch("iphiFromHotCell_h5x5", "std::vector<int>", &t_iphiFromHotCell_h5x5);
1643 
1644  if (doMC_) {
1645  ntp_->Branch("v_hsimInfoConeMatched", "std::vector<std::vector<double> >", &t_v_hsimInfoConeMatched);
1646  ntp_->Branch("v_hsimInfoConeRest", "std::vector<std::vector<double> >", &t_v_hsimInfoConeRest);
1647  ntp_->Branch("v_hsimInfoConePhoton", "std::vector<std::vector<double> >", &t_v_hsimInfoConePhoton);
1648  ntp_->Branch("v_hsimInfoConeNeutHad", "std::vector<std::vector<double> >", &t_v_hsimInfoConeNeutHad);
1649  ntp_->Branch("v_hsimInfoConeCharHad", "std::vector<std::vector<double> >", &t_v_hsimInfoConeCharHad);
1650  ntp_->Branch("v_hsimInfoConePdgMatched", "std::vector<std::vector<double> >", &t_v_hsimInfoConePdgMatched);
1651  ntp_->Branch("v_hsimInfoConeTotal", "std::vector<std::vector<double> >", &t_v_hsimInfoConeTotal);
1652 
1653  ntp_->Branch("v_hsimInfoConeNMatched", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNMatched);
1654  ntp_->Branch("v_hsimInfoConeNRest", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNRest);
1655  ntp_->Branch("v_hsimInfoConeNPhoton", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNPhoton);
1656  ntp_->Branch("v_hsimInfoConeNNeutHad", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNNeutHad);
1657  ntp_->Branch("v_hsimInfoConeNCharHad", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNCharHad);
1658  ntp_->Branch("v_hsimInfoConeNTotal", "std::vector<std::vector<int> >", &t_v_hsimInfoConeNTotal);
1659 
1660  ntp_->Branch("v_hsimCone", "std::vector<std::vector<double> >", &t_v_hsimCone);
1661  }
1662 
1663  ntp_->Branch("v_hCone", "std::vector<std::vector<double> >", &t_v_hCone);
1664  ntp_->Branch("v_nRecHitsCone", "std::vector<std::vector<int> >", &t_v_nRecHitsCone);
1665  ntp_->Branch("v_nSimHitsCone", "std::vector<std::vector<int> >", &t_v_nSimHitsCone);
1666 
1667  ntp_->Branch("v_distFromHotCell", "std::vector<std::vector<double> >", &t_v_distFromHotCell);
1668  ntp_->Branch("v_ietaFromHotCell", "std::vector<std::vector<int> >", &t_v_ietaFromHotCell);
1669  ntp_->Branch("v_iphiFromHotCell", "std::vector<std::vector<int> >", &t_v_iphiFromHotCell);
1670 
1671  ntp_->Branch("v_RH_h3x3_ieta", "std::vector<std::vector<int> >", &t_v_RH_h3x3_ieta);
1672  ntp_->Branch("v_RH_h3x3_iphi", "std::vector<std::vector<int> >", &t_v_RH_h3x3_iphi);
1673  ntp_->Branch("v_RH_h3x3_ene", "std::vector<std::vector<double> >", &t_v_RH_h3x3_ene);
1674  ntp_->Branch("v_RH_h5x5_ieta", "std::vector<std::vector<int> >", &t_v_RH_h5x5_ieta);
1675  ntp_->Branch("v_RH_h5x5_iphi", "std::vector<std::vector<int> >", &t_v_RH_h5x5_iphi);
1676  ntp_->Branch("v_RH_h5x5_ene", "std::vector<std::vector<double> >", &t_v_RH_h5x5_ene);
1677  ntp_->Branch("v_RH_r26_ieta", "std::vector<std::vector<int> >", &t_v_RH_r26_ieta);
1678  ntp_->Branch("v_RH_r26_iphi", "std::vector<std::vector<int> >", &t_v_RH_r26_iphi);
1679  ntp_->Branch("v_RH_r26_ene", "std::vector<std::vector<double> >", &t_v_RH_r26_ene);
1680  ntp_->Branch("v_RH_r44_ieta", "std::vector<std::vector<int> >", &t_v_RH_r44_ieta);
1681  ntp_->Branch("v_RH_r44_iphi", "std::vector<std::vector<int> >", &t_v_RH_r44_iphi);
1682  ntp_->Branch("v_RH_r44_ene", "std::vector<std::vector<double> >", &t_v_RH_r44_ene);
1683 
1684  ntp_->Branch("v_hlTriggers", "std::vector<std::vector<int> >", &t_v_hlTriggers);
1685  ntp_->Branch("v_hltHB", "std::vector<int>", &t_hltHB);
1686  ntp_->Branch("v_hltHE", "std::vector<int>", &t_hltHE);
1687  ntp_->Branch("v_hltL1Jet15", "std::vector<int>", &t_hltL1Jet15);
1688  ntp_->Branch("v_hltJet30", "std::vector<int>", &t_hltJet30);
1689  ntp_->Branch("v_hltJet50", "std::vector<int>", &t_hltJet50);
1690  ntp_->Branch("v_hltJet80", "std::vector<int>", &t_hltJet80);
1691  ntp_->Branch("v_hltJet110", "std::vector<int>", &t_hltJet110);
1692  ntp_->Branch("v_hltJet140", "std::vector<int>", &t_hltJet140);
1693  ntp_->Branch("v_hltJet180", "std::vector<int>", &t_hltJet180);
1694  ntp_->Branch("v_hltL1SingleEG5", "std::vector<int>", &t_hltL1SingleEG5);
1695  ntp_->Branch("v_hltZeroBias", "std::vector<int>", &t_hltZeroBias);
1696  ntp_->Branch("v_hltMinBiasHcal", "std::vector<int>", &t_hltMinBiasHcal);
1697  ntp_->Branch("v_hltMinBiasEcal", "std::vector<int>", &t_hltMinBiasEcal);
1698  ntp_->Branch("v_hltMinBiasPixel", "std::vector<int>", &t_hltMinBiasPixel);
1699  ntp_->Branch("v_hltSingleIsoTau30_Trk5", "std::vector<int>", &t_hltSingleIsoTau30_Trk5);
1700  ntp_->Branch("v_hltDoubleLooseIsoTau15_Trk5", "std::vector<int>", &t_hltDoubleLooseIsoTau15_Trk5);
1701 
1702  ntp_->Branch("irun", "std::vector<unsigned int>", &t_irun);
1703  ntp_->Branch("ievt", "std::vector<unsigned int>", &t_ievt);
1704  ntp_->Branch("ilum", "std::vector<unsigned int>", &t_ilum);
1705 }
std::unique_ptr< std::vector< int > > t_hltJet30
std::unique_ptr< std::vector< int > > t_hsim3x3NCharHad
std::unique_ptr< std::vector< double > > t_trkPt
std::unique_ptr< std::vector< double > > t_trkPhi
std::unique_ptr< std::vector< double > > t_e3x3
std::unique_ptr< std::vector< double > > t_trkNLayersCrossed
std::unique_ptr< std::vector< double > > t_hsim5x5NeutHad
std::unique_ptr< std::vector< int > > t_hltZeroBias
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h3x3
std::unique_ptr< std::vector< int > > t_hltHB
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePhoton
std::unique_ptr< std::vector< double > > t_simP
std::unique_ptr< std::vector< double > > t_hsim3x3NeutHad
std::unique_ptr< std::vector< int > > t_hsim5x5NTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnNearTRKs
std::unique_ptr< std::vector< double > > t_hsim5x5Total
std::unique_ptr< std::vector< int > > t_hsim5x5NNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnNearTRKs
std::unique_ptr< std::vector< int > > t_hsim3x3NTotal
std::unique_ptr< std::vector< int > > t_hsim5x5NRest
std::unique_ptr< std::vector< double > > t_hsim5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h5x5_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimCone
std::unique_ptr< std::vector< double > > t_distFromHotCell_h3x3
std::unique_ptr< std::vector< std::vector< int > > > t_v_htrkQual_maxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP_goodTrk
std::unique_ptr< std::vector< double > > t_hsim5x5Photon
std::unique_ptr< std::vector< double > > t_hsim3x3
std::unique_ptr< std::vector< int > > t_hltHE
std::unique_ptr< std::vector< int > > t_hsim5x5NPhoton
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h5x5
std::unique_ptr< std::vector< int > > t_hltJet110
std::unique_ptr< std::vector< double > > t_hsim5x5Rest
std::unique_ptr< std::vector< int > > t_hsim5x5NMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_hlTriggers
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNRest
std::unique_ptr< std::vector< double > > t_hsim3x3Rest
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_iphi
std::unique_ptr< std::vector< int > > t_hltMinBiasPixel
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_iphi
std::unique_ptr< std::vector< double > > t_hsim5x5Matched
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP
std::unique_ptr< std::vector< int > > t_hltJet50
std::unique_ptr< std::vector< int > > t_hltMinBiasHcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeRest
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h3x3
std::unique_ptr< std::vector< double > > t_h3x3
std::unique_ptr< std::vector< int > > t_hltDoubleLooseIsoTau15_Trk5
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_iphi
std::unique_ptr< std::vector< double > > t_dtFromLeadJet
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_htrkQual_maxNearP
std::unique_ptr< std::vector< double > > t_trkNOuterHits
std::unique_ptr< std::vector< std::vector< int > > > t_v_ietaFromHotCell
std::unique_ptr< std::vector< unsigned int > > t_ilum
std::unique_ptr< std::vector< int > > t_hltMinBiasEcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r26_ene
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnLayers_maxNearP
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnLayers_maxNearP
std::unique_ptr< std::vector< double > > t_hsim5x5CharHad
std::unique_ptr< std::vector< int > > t_hltL1Jet15
std::unique_ptr< std::vector< unsigned int > > t_ievt
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeTotal
std::unique_ptr< std::vector< double > > t_hsim3x3Photon
std::unique_ptr< std::vector< std::vector< int > > > t_v_nRecHitsCone
std::unique_ptr< std::vector< double > > t_hsim3x3Total
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_ieta
std::unique_ptr< std::vector< unsigned int > > t_irun
std::unique_ptr< std::vector< double > > t_nRH_h5x5
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNPhoton
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeMatched
std::unique_ptr< std::vector< double > > t_hsim5x5PdgMatched
std::unique_ptr< std::vector< double > > t_hsim3x3PdgMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_ieta
std::unique_ptr< std::vector< std::vector< int > > > t_v_nSimHitsCone
std::unique_ptr< std::vector< int > > t_hltL1SingleEG5
std::unique_ptr< std::vector< int > > t_hltJet180
std::unique_ptr< std::vector< double > > t_hsim3x3CharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeCharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNMatched
std::unique_ptr< std::vector< double > > t_distFromHotCell_h5x5
std::unique_ptr< std::vector< double > > t_trkHcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_distFromHotCell
std::unique_ptr< std::vector< std::vector< double > > > t_v_hCone
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eDR
std::unique_ptr< std::vector< double > > t_hsim3x3Matched
std::unique_ptr< std::vector< double > > t_trkEcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_iphiFromHotCell
std::unique_ptr< std::vector< int > > t_hsim3x3NPhoton
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNCharHad
std::unique_ptr< std::vector< double > > t_nRH_h3x3
std::unique_ptr< std::vector< int > > t_hsim3x3NRest
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_iphi
std::unique_ptr< std::vector< double > > t_h5x5
std::unique_ptr< std::vector< int > > t_hltJet80
std::unique_ptr< std::vector< double > > t_trkEta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eMipDR
std::unique_ptr< std::vector< int > > t_hsim3x3NNeutHad
std::unique_ptr< std::vector< double > > t_trkP
std::unique_ptr< std::vector< int > > t_hltSingleIsoTau30_Trk5
std::unique_ptr< std::vector< int > > t_hltJet140
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h3x3_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP_goodTrk
std::unique_ptr< std::vector< int > > t_hsim5x5NCharHad
std::unique_ptr< std::vector< int > > t_hsim3x3NMatched
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r44_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePdgMatched

◆ clearTrackVectors()

void IsolatedTracksCone::clearTrackVectors ( )
private

Definition at line 1405 of file IsolatedTracksCone.cc.

References doMC_, t_distFromHotCell_h3x3, t_distFromHotCell_h5x5, t_dtFromLeadJet, t_e3x3, t_h3x3, t_h5x5, t_hltDoubleLooseIsoTau15_Trk5, t_hltHB, t_hltHE, t_hltJet110, t_hltJet140, t_hltJet180, t_hltJet30, t_hltJet50, t_hltJet80, t_hltL1Jet15, t_hltL1SingleEG5, t_hltMinBiasEcal, t_hltMinBiasHcal, t_hltMinBiasPixel, t_hltSingleIsoTau30_Trk5, t_hltZeroBias, t_hsim3x3, t_hsim3x3CharHad, t_hsim3x3Matched, t_hsim3x3NCharHad, t_hsim3x3NeutHad, t_hsim3x3NMatched, t_hsim3x3NNeutHad, t_hsim3x3NPhoton, t_hsim3x3NRest, t_hsim3x3NTotal, t_hsim3x3PdgMatched, t_hsim3x3Photon, t_hsim3x3Rest, t_hsim3x3Total, t_hsim5x5, t_hsim5x5CharHad, t_hsim5x5Matched, t_hsim5x5NCharHad, t_hsim5x5NeutHad, t_hsim5x5NMatched, t_hsim5x5NNeutHad, t_hsim5x5NPhoton, t_hsim5x5NRest, t_hsim5x5NTotal, t_hsim5x5PdgMatched, t_hsim5x5Photon, t_hsim5x5Rest, t_hsim5x5Total, t_ietaFromHotCell_h3x3, t_ietaFromHotCell_h5x5, t_ievt, t_ilum, t_iphiFromHotCell_h3x3, t_iphiFromHotCell_h5x5, t_irun, t_nRH_h3x3, t_nRH_h5x5, t_simP, t_trkEcalEne, t_trkEta, t_trkHcalEne, t_trkNLayersCrossed, t_trkNOuterHits, t_trkP, t_trkPhi, t_trkPt, t_v_cone_hmaxNearP, t_v_cone_hmaxNearP_goodTrk, t_v_cone_hnLayers_maxNearP, t_v_cone_hnNearTRKs, t_v_cone_htrkQual_maxNearP, t_v_distFromHotCell, t_v_eDR, t_v_eMipDR, t_v_hCone, t_v_hlTriggers, t_v_hmaxNearP, t_v_hmaxNearP_goodTrk, t_v_hnLayers_maxNearP, t_v_hnNearTRKs, t_v_hsimCone, t_v_hsimInfoConeCharHad, t_v_hsimInfoConeMatched, t_v_hsimInfoConeNCharHad, t_v_hsimInfoConeNeutHad, t_v_hsimInfoConeNMatched, t_v_hsimInfoConeNNeutHad, t_v_hsimInfoConeNPhoton, t_v_hsimInfoConeNRest, t_v_hsimInfoConeNTotal, t_v_hsimInfoConePdgMatched, t_v_hsimInfoConePhoton, t_v_hsimInfoConeRest, t_v_hsimInfoConeTotal, t_v_htrkQual_maxNearP, t_v_ietaFromHotCell, t_v_iphiFromHotCell, t_v_nRecHitsCone, t_v_nSimHitsCone, t_v_RH_h3x3_ene, t_v_RH_h3x3_ieta, t_v_RH_h3x3_iphi, t_v_RH_h5x5_ene, t_v_RH_h5x5_ieta, t_v_RH_h5x5_iphi, t_v_RH_r26_ene, t_v_RH_r26_ieta, t_v_RH_r26_iphi, t_v_RH_r44_ene, t_v_RH_r44_ieta, and t_v_RH_r44_iphi.

Referenced by analyze().

1405  {
1406  t_v_hnNearTRKs->clear();
1407  t_v_hnLayers_maxNearP->clear();
1408  t_v_htrkQual_maxNearP->clear();
1409  t_v_hmaxNearP_goodTrk->clear();
1410  t_v_hmaxNearP->clear();
1411 
1412  t_v_cone_hnNearTRKs->clear();
1413  t_v_cone_hnLayers_maxNearP->clear();
1414  t_v_cone_htrkQual_maxNearP->clear();
1415  t_v_cone_hmaxNearP_goodTrk->clear();
1416  t_v_cone_hmaxNearP->clear();
1417 
1418  // t_hScale ->clear();
1419  t_trkNOuterHits->clear();
1420  t_trkNLayersCrossed->clear();
1421  t_dtFromLeadJet->clear();
1422  t_trkP->clear();
1423  t_trkPt->clear();
1424  t_trkEta->clear();
1425  t_trkPhi->clear();
1426  t_e3x3->clear();
1427  t_v_eDR->clear();
1428  t_v_eMipDR->clear();
1429  t_h3x3->clear();
1430  t_h5x5->clear();
1431  t_nRH_h3x3->clear();
1432  t_nRH_h5x5->clear();
1433 
1434  if (doMC_) {
1435  t_simP->clear();
1436  t_hsim3x3->clear();
1437  t_hsim5x5->clear();
1438  t_hsim3x3Matched->clear();
1439  t_hsim5x5Matched->clear();
1440  t_hsim3x3Rest->clear();
1441  t_hsim5x5Rest->clear();
1442  t_hsim3x3Photon->clear();
1443  t_hsim5x5Photon->clear();
1444  t_hsim3x3NeutHad->clear();
1445  t_hsim5x5NeutHad->clear();
1446  t_hsim3x3CharHad->clear();
1447  t_hsim5x5CharHad->clear();
1448  t_hsim3x3PdgMatched->clear();
1449  t_hsim5x5PdgMatched->clear();
1450  t_hsim3x3Total->clear();
1451  t_hsim5x5Total->clear();
1452 
1453  t_hsim3x3NMatched->clear();
1454  t_hsim3x3NTotal->clear();
1455  t_hsim3x3NNeutHad->clear();
1456  t_hsim3x3NCharHad->clear();
1457  t_hsim3x3NPhoton->clear();
1458  t_hsim3x3NRest->clear();
1459 
1460  t_hsim5x5NMatched->clear();
1461  t_hsim5x5NTotal->clear();
1462  t_hsim5x5NNeutHad->clear();
1463  t_hsim5x5NCharHad->clear();
1464  t_hsim5x5NPhoton->clear();
1465  t_hsim5x5NRest->clear();
1466 
1467  t_trkHcalEne->clear();
1468  t_trkEcalEne->clear();
1469  }
1470 
1471  t_distFromHotCell_h3x3->clear();
1472  t_ietaFromHotCell_h3x3->clear();
1473  t_iphiFromHotCell_h3x3->clear();
1474  t_distFromHotCell_h5x5->clear();
1475  t_ietaFromHotCell_h5x5->clear();
1476  t_iphiFromHotCell_h5x5->clear();
1477 
1478  if (doMC_) {
1479  t_v_hsimInfoConeMatched->clear();
1480  t_v_hsimInfoConeRest->clear();
1481  t_v_hsimInfoConePhoton->clear();
1482  t_v_hsimInfoConeNeutHad->clear();
1483  t_v_hsimInfoConeCharHad->clear();
1484  t_v_hsimInfoConePdgMatched->clear();
1485  t_v_hsimInfoConeTotal->clear();
1486 
1487  t_v_hsimInfoConeNMatched->clear();
1488  t_v_hsimInfoConeNRest->clear();
1489  t_v_hsimInfoConeNPhoton->clear();
1490  t_v_hsimInfoConeNNeutHad->clear();
1491  t_v_hsimInfoConeNCharHad->clear();
1492  t_v_hsimInfoConeNTotal->clear();
1493 
1494  t_v_hsimCone->clear();
1495  }
1496 
1497  t_v_hCone->clear();
1498  t_v_nRecHitsCone->clear();
1499  t_v_nSimHitsCone->clear();
1500 
1501  t_v_distFromHotCell->clear();
1502  t_v_ietaFromHotCell->clear();
1503  t_v_iphiFromHotCell->clear();
1504 
1505  t_v_RH_h3x3_ieta->clear();
1506  t_v_RH_h3x3_iphi->clear();
1507  t_v_RH_h3x3_ene->clear();
1508  t_v_RH_h5x5_ieta->clear();
1509  t_v_RH_h5x5_iphi->clear();
1510  t_v_RH_h5x5_ene->clear();
1511  t_v_RH_r26_ieta->clear();
1512  t_v_RH_r26_iphi->clear();
1513  t_v_RH_r26_ene->clear();
1514  t_v_RH_r44_ieta->clear();
1515  t_v_RH_r44_iphi->clear();
1516  t_v_RH_r44_ene->clear();
1517 
1518  t_v_hlTriggers->clear();
1519  t_hltHB->clear();
1520  t_hltHE->clear();
1521  t_hltL1Jet15->clear();
1522  t_hltJet30->clear();
1523  t_hltJet50->clear();
1524  t_hltJet80->clear();
1525  t_hltJet110->clear();
1526  t_hltJet140->clear();
1527  t_hltJet180->clear();
1528  t_hltL1SingleEG5->clear();
1529  t_hltZeroBias->clear();
1530  t_hltMinBiasHcal->clear();
1531  t_hltMinBiasEcal->clear();
1532  t_hltMinBiasPixel->clear();
1533  t_hltSingleIsoTau30_Trk5->clear();
1535 
1536  t_irun->clear();
1537  t_ievt->clear();
1538  t_ilum->clear();
1539 }
std::unique_ptr< std::vector< int > > t_hltJet30
std::unique_ptr< std::vector< int > > t_hsim3x3NCharHad
std::unique_ptr< std::vector< double > > t_trkPt
std::unique_ptr< std::vector< double > > t_trkPhi
std::unique_ptr< std::vector< double > > t_e3x3
std::unique_ptr< std::vector< double > > t_trkNLayersCrossed
std::unique_ptr< std::vector< double > > t_hsim5x5NeutHad
std::unique_ptr< std::vector< int > > t_hltZeroBias
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h3x3
std::unique_ptr< std::vector< int > > t_hltHB
std::unique_ptr< std::vector< int > > t_ietaFromHotCell_h5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePhoton
std::unique_ptr< std::vector< double > > t_simP
std::unique_ptr< std::vector< double > > t_hsim3x3NeutHad
std::unique_ptr< std::vector< int > > t_hsim5x5NTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnNearTRKs
std::unique_ptr< std::vector< double > > t_hsim5x5Total
std::unique_ptr< std::vector< int > > t_hsim5x5NNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnNearTRKs
std::unique_ptr< std::vector< int > > t_hsim3x3NTotal
std::unique_ptr< std::vector< int > > t_hsim5x5NRest
std::unique_ptr< std::vector< double > > t_hsim5x5
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h5x5_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimCone
std::unique_ptr< std::vector< double > > t_distFromHotCell_h3x3
std::unique_ptr< std::vector< std::vector< int > > > t_v_htrkQual_maxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP_goodTrk
std::unique_ptr< std::vector< double > > t_hsim5x5Photon
std::unique_ptr< std::vector< double > > t_hsim3x3
std::unique_ptr< std::vector< int > > t_hltHE
std::unique_ptr< std::vector< int > > t_hsim5x5NPhoton
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h5x5
std::unique_ptr< std::vector< int > > t_hltJet110
std::unique_ptr< std::vector< double > > t_hsim5x5Rest
std::unique_ptr< std::vector< int > > t_hsim5x5NMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_hlTriggers
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNRest
std::unique_ptr< std::vector< double > > t_hsim3x3Rest
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_iphi
std::unique_ptr< std::vector< int > > t_hltMinBiasPixel
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_iphi
std::unique_ptr< std::vector< double > > t_hsim5x5Matched
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP
std::unique_ptr< std::vector< int > > t_hltJet50
std::unique_ptr< std::vector< int > > t_hltMinBiasHcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeRest
std::unique_ptr< std::vector< int > > t_iphiFromHotCell_h3x3
std::unique_ptr< std::vector< double > > t_h3x3
std::unique_ptr< std::vector< int > > t_hltDoubleLooseIsoTau15_Trk5
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_iphi
std::unique_ptr< std::vector< double > > t_dtFromLeadJet
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_htrkQual_maxNearP
std::unique_ptr< std::vector< double > > t_trkNOuterHits
std::unique_ptr< std::vector< std::vector< int > > > t_v_ietaFromHotCell
std::unique_ptr< std::vector< unsigned int > > t_ilum
std::unique_ptr< std::vector< int > > t_hltMinBiasEcal
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r26_ene
std::unique_ptr< std::vector< std::vector< int > > > t_v_hnLayers_maxNearP
std::unique_ptr< std::vector< std::vector< int > > > t_v_cone_hnLayers_maxNearP
std::unique_ptr< std::vector< double > > t_hsim5x5CharHad
std::unique_ptr< std::vector< int > > t_hltL1Jet15
std::unique_ptr< std::vector< unsigned int > > t_ievt
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeTotal
std::unique_ptr< std::vector< double > > t_hsim3x3Photon
std::unique_ptr< std::vector< std::vector< int > > > t_v_nRecHitsCone
std::unique_ptr< std::vector< double > > t_hsim3x3Total
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h5x5_ieta
std::unique_ptr< std::vector< unsigned int > > t_irun
std::unique_ptr< std::vector< double > > t_nRH_h5x5
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNPhoton
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeMatched
std::unique_ptr< std::vector< double > > t_hsim5x5PdgMatched
std::unique_ptr< std::vector< double > > t_hsim3x3PdgMatched
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r44_ieta
std::unique_ptr< std::vector< std::vector< int > > > t_v_nSimHitsCone
std::unique_ptr< std::vector< int > > t_hltL1SingleEG5
std::unique_ptr< std::vector< int > > t_hltJet180
std::unique_ptr< std::vector< double > > t_hsim3x3CharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeCharHad
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConeNeutHad
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNMatched
std::unique_ptr< std::vector< double > > t_distFromHotCell_h5x5
std::unique_ptr< std::vector< double > > t_trkHcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_distFromHotCell
std::unique_ptr< std::vector< std::vector< double > > > t_v_hCone
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_r26_ieta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eDR
std::unique_ptr< std::vector< double > > t_hsim3x3Matched
std::unique_ptr< std::vector< double > > t_trkEcalEne
std::unique_ptr< std::vector< std::vector< int > > > t_v_iphiFromHotCell
std::unique_ptr< std::vector< int > > t_hsim3x3NPhoton
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNCharHad
std::unique_ptr< std::vector< double > > t_nRH_h3x3
std::unique_ptr< std::vector< int > > t_hsim3x3NRest
std::unique_ptr< std::vector< std::vector< int > > > t_v_hsimInfoConeNTotal
std::unique_ptr< std::vector< std::vector< int > > > t_v_RH_h3x3_iphi
std::unique_ptr< std::vector< double > > t_h5x5
std::unique_ptr< std::vector< int > > t_hltJet80
std::unique_ptr< std::vector< double > > t_trkEta
std::unique_ptr< std::vector< std::vector< double > > > t_v_eMipDR
std::unique_ptr< std::vector< int > > t_hsim3x3NNeutHad
std::unique_ptr< std::vector< double > > t_trkP
std::unique_ptr< std::vector< int > > t_hltSingleIsoTau30_Trk5
std::unique_ptr< std::vector< int > > t_hltJet140
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_h3x3_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hmaxNearP_goodTrk
std::unique_ptr< std::vector< int > > t_hsim5x5NCharHad
std::unique_ptr< std::vector< int > > t_hsim3x3NMatched
std::unique_ptr< std::vector< std::vector< double > > > t_v_cone_hmaxNearP
std::unique_ptr< std::vector< std::vector< double > > > t_v_RH_r44_ene
std::unique_ptr< std::vector< std::vector< double > > > t_v_hsimInfoConePdgMatched

◆ endJob()

void IsolatedTracksCone::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 1542 of file IsolatedTracksCone.cc.

References nEVT, and nEVT_failL1.

Referenced by o2olib.O2ORunMgr::executeJob().

1542  {
1543  edm::LogVerbatim("IsoTrack") << "Number of Events Processed " << nEVT << " failed L1 " << nEVT_failL1;
1544 }
Log< level::Info, true > LogVerbatim

◆ fillDescriptions()

void IsolatedTracksCone::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 388 of file IsolatedTracksCone.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

388  {
390  desc.addUntracked<bool>("doMC", false);
391  desc.addUntracked<int>("verbosity", 1);
392  desc.addUntracked<bool>("useJetTrigger", false);
393  desc.addUntracked<double>("drLeadJetVeto", 1.2);
394  desc.addUntracked<double>("ptMinLeadJet", 15.0);
395  desc.addUntracked<int>("debugTracks", 0);
396  desc.addUntracked<bool>("printTrkHitPattern", true);
397  desc.addUntracked<double>("minTrackP", 1.0);
398  desc.addUntracked<double>("maxTrackEta", 2.6);
399  desc.addUntracked<double>("maxNearTrackP", 1.0);
400  desc.addUntracked<bool>("debugEcalSimInfo", false);
401  desc.addUntracked<bool>("applyEcalIsolation", true);
402  desc.addUntracked<bool>("debugL1Info", false);
403  desc.add<edm::InputTag>("L1extraTauJetSource", edm::InputTag("l1extraParticles", "Tau"));
404  desc.add<edm::InputTag>("L1extraCenJetSource", edm::InputTag("l1extraParticles", "Central"));
405  desc.add<edm::InputTag>("L1extraFwdJetSource", edm::InputTag("l1extraParticles", "Forward"));
406  //The following parameters are used as default for track association
407  edm::ParameterSetDescription desc_TrackAssoc;
408  desc_TrackAssoc.add<double>("muonMaxDistanceSigmaX", 0.0);
409  desc_TrackAssoc.add<double>("muonMaxDistanceSigmaY", 0.0);
410  desc_TrackAssoc.add<edm::InputTag>("CSCSegmentCollectionLabel", edm::InputTag("cscSegments"));
411  desc_TrackAssoc.add<double>("dRHcal", 9999.0);
412  desc_TrackAssoc.add<double>("dREcal", 9999.0);
413  desc_TrackAssoc.add<edm::InputTag>("CaloTowerCollectionLabel", edm::InputTag("towerMaker"));
414  desc_TrackAssoc.add<bool>("useEcal", true);
415  desc_TrackAssoc.add<double>("dREcalPreselection", 0.05);
416  desc_TrackAssoc.add<edm::InputTag>("HORecHitCollectionLabel", edm::InputTag("horeco"));
417  desc_TrackAssoc.add<double>("dRMuon", 9999.0);
418  desc_TrackAssoc.add<std::string>("crossedEnergyType", "SinglePointAlongTrajectory");
419  desc_TrackAssoc.add<double>("muonMaxDistanceX", 5.0);
420  desc_TrackAssoc.add<double>("muonMaxDistanceY", 5.0);
421  desc_TrackAssoc.add<bool>("useHO", false);
422  desc_TrackAssoc.add<bool>("accountForTrajectoryChangeCalo", false);
423  desc_TrackAssoc.add<edm::InputTag>("DTRecSegment4DCollectionLabel", edm::InputTag("dt4DSegments"));
424  desc_TrackAssoc.add<edm::InputTag>("EERecHitCollectionLabel", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
425  desc_TrackAssoc.add<double>("dRHcalPreselection", 0.2);
426  desc_TrackAssoc.add<bool>("useMuon", false);
427  desc_TrackAssoc.add<bool>("useCalo", true);
428  desc_TrackAssoc.add<edm::InputTag>("EBRecHitCollectionLabel", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
429  desc_TrackAssoc.add<double>("dRMuonPreselection", 0.2);
430  desc_TrackAssoc.add<bool>("truthMatch", false);
431  desc_TrackAssoc.add<edm::InputTag>("HBHERecHitCollectionLabel", edm::InputTag("hbhereco"));
432  desc_TrackAssoc.add<bool>("useHcal", true);
433  desc_TrackAssoc.add<bool>("usePreshower", false);
434  desc_TrackAssoc.add<double>("dRPreshowerPreselection", 0.2);
435  desc_TrackAssoc.add<double>("trajectoryUncertaintyTolerance", 1.0);
436  desc.add<edm::ParameterSetDescription>("TrackAssociatorParameters", desc_TrackAssoc);
437  descriptions.add("isolatedTracksCone", desc);
438 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ printTrack()

void IsolatedTracksCone::printTrack ( const reco::Track pTrack)
private

Definition at line 1707 of file IsolatedTracksCone.cc.

References reco::TrackBase::charge(), reco::TrackBase::d0(), reco::TrackBase::eta(), reco::TrackBase::hitPattern(), mps_fire::i, reco::TrackBase::momentum(), reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), reco::TrackBase::numberOfValidHits(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), reco::TrackBase::phi(), printTrkHitPattern_, reco::TrackBase::pt(), reco::TrackBase::qoverp(), reco::TrackBase::qoverpError(), reco::TrackBase::quality(), reco::TrackBase::qualityByName(), reco::TrackBase::qualityName(), reco::TrackBase::referencePoint(), AlCaHLTBitMon_QueryRunRegistry::string, and reco::HitPattern::TRACK_HITS.

Referenced by ntuplePrintersDiff.TrackPrinter::diff(), and ntuplePrintersDiff.TrackPrinter::printTrackAndMatchedTrackingParticles().

1707  {
1708  std::string theTrackQuality = "highPurity";
1709  reco::TrackBase::TrackQuality trackQuality_ = reco::TrackBase::qualityByName(theTrackQuality);
1710 
1711  edm::LogVerbatim("IsoTrack") << " Reference Point " << pTrack->referencePoint() << "\n"
1712  << " TrackMmentum " << pTrack->momentum() << " (pt,eta,phi)(" << pTrack->pt() << ","
1713  << pTrack->eta() << "," << pTrack->phi() << ")"
1714  << " p " << pTrack->p() << "\n"
1715  << " Normalized chi2 " << pTrack->normalizedChi2() << " charge " << pTrack->charge()
1716  << " qoverp() " << pTrack->qoverp() << "+-" << pTrack->qoverpError() << " d0 "
1717  << pTrack->d0() << "\n"
1718  << " NValidHits " << pTrack->numberOfValidHits() << " NLostHits "
1719  << pTrack->numberOfLostHits() << " TrackQuality " << pTrack->qualityName(trackQuality_)
1720  << " " << pTrack->quality(trackQuality_);
1721 
1722  if (printTrkHitPattern_) {
1723  const reco::HitPattern& p = pTrack->hitPattern();
1724  for (int i = 0; i < p.numberOfAllHits(reco::HitPattern::TRACK_HITS); i++) {
1725  std::ostringstream st1;
1726  p.printHitPattern(reco::HitPattern::TRACK_HITS, i, st1);
1727  edm::LogVerbatim("IsoTrack") << st1.str();
1728  }
1729  }
1730 }
bool quality(const TrackQuality) const
Track quality.
Definition: TrackBase.h:552
Log< level::Info, true > LogVerbatim
double qoverp() const
q / p
Definition: TrackBase.h:599
static std::string qualityName(TrackQuality)
Definition: TrackBase.h:572
double qoverpError() const
error on signed transverse curvature
Definition: TrackBase.h:732
unsigned short numberOfValidHits() const
number of valid hits found
Definition: TrackBase.h:798
TrackQuality
track quality
Definition: TrackBase.h:150
double p() const
momentum vector magnitude
Definition: TrackBase.h:631
const Point & referencePoint() const
Reference point on the track.
Definition: TrackBase.h:667
double pt() const
track transverse momentum
Definition: TrackBase.h:637
int charge() const
track electric charge
Definition: TrackBase.h:596
double phi() const
azimuthal angle of momentum vector
Definition: TrackBase.h:649
unsigned short numberOfLostHits() const
number of cases where track crossed a layer without getting a hit.
Definition: TrackBase.h:801
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:652
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:504
double d0() const
dxy parameter in perigee convention (d0 = -dxy)
Definition: TrackBase.h:611
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
Definition: TrackBase.h:593
const Vector & momentum() const
track momentum vector
Definition: TrackBase.h:664

Member Data Documentation

◆ applyEcalIsolation_

const bool IsolatedTracksCone::applyEcalIsolation_
private

Definition at line 174 of file IsolatedTracksCone.cc.

◆ debugEcalSimInfo_

const int IsolatedTracksCone::debugEcalSimInfo_
private

Definition at line 173 of file IsolatedTracksCone.cc.

◆ debugTrks_

const int IsolatedTracksCone::debugTrks_
private

Definition at line 144 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ doMC_

const bool IsolatedTracksCone::doMC_
private

Definition at line 140 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ drLeadJetVeto_

const double IsolatedTracksCone::drLeadJetVeto_
private

Definition at line 143 of file IsolatedTracksCone.cc.

Referenced by IsolatedTracksCone().

◆ genPartEtaBins

std::array<double, nEtaBins_ + 1> IsolatedTracksCone::genPartEtaBins
private

Definition at line 138 of file IsolatedTracksCone.cc.

Referenced by beginJob().

◆ genPartPBins_

std::array<double, nPBins_ + 1> IsolatedTracksCone::genPartPBins_
private

Definition at line 137 of file IsolatedTracksCone.cc.

Referenced by beginJob().

◆ h_RawEta

TH1F* IsolatedTracksCone::h_RawEta
private

Definition at line 184 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ h_RawP

TH1F* IsolatedTracksCone::h_RawP
private

Definition at line 183 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ h_RawPhi

TH1F* IsolatedTracksCone::h_RawPhi
private

Definition at line 185 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ h_RawPt

TH1F* IsolatedTracksCone::h_RawPt
private

Definition at line 182 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ leadL1JetEta

double IsolatedTracksCone::leadL1JetEta
private

Definition at line 197 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ leadL1JetPhi

double IsolatedTracksCone::leadL1JetPhi
private

Definition at line 198 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ leadL1JetPT

double IsolatedTracksCone::leadL1JetPT
private

Definition at line 196 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ maxNearTrackP_

const double IsolatedTracksCone::maxNearTrackP_
private

Definition at line 172 of file IsolatedTracksCone.cc.

Referenced by IsolatedTracksCone().

◆ maxTrackEta_

const double IsolatedTracksCone::maxTrackEta_
private

Definition at line 172 of file IsolatedTracksCone.cc.

Referenced by analyze(), and IsolatedTracksCone().

◆ minTrackP_

const double IsolatedTracksCone::minTrackP_
private

Definition at line 172 of file IsolatedTracksCone.cc.

Referenced by analyze(), and IsolatedTracksCone().

◆ myverbose_

const int IsolatedTracksCone::myverbose_
private

Definition at line 141 of file IsolatedTracksCone.cc.

Referenced by IsolatedTracksCone().

◆ nEtaBins_

constexpr int IsolatedTracksCone::nEtaBins_ = 4
staticprivate

Definition at line 135 of file IsolatedTracksCone.cc.

◆ nEVT

int IsolatedTracksCone::nEVT
private

Definition at line 193 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and endJob().

◆ nEVT_failL1

int IsolatedTracksCone::nEVT_failL1
private

Definition at line 194 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), and endJob().

◆ nFailEta

int IsolatedTracksCone::nFailEta
private

Definition at line 190 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nFailHighPurityQaul

int IsolatedTracksCone::nFailHighPurityQaul
private

Definition at line 188 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nFailPt

int IsolatedTracksCone::nFailPt
private

Definition at line 189 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nMissEcal

int IsolatedTracksCone::nMissEcal
private

Definition at line 191 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nMissHcal

int IsolatedTracksCone::nMissHcal
private

Definition at line 192 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nPBins_

constexpr int IsolatedTracksCone::nPBins_ = 21
staticprivate

Definition at line 136 of file IsolatedTracksCone.cc.

◆ nRawTRK

int IsolatedTracksCone::nRawTRK
private

Definition at line 187 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ ntp_

TTree* IsolatedTracksCone::ntp_
private

Definition at line 180 of file IsolatedTracksCone.cc.

Referenced by analyze(), and buildTree().

◆ nTRK

int IsolatedTracksCone::nTRK
private

Definition at line 195 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), and buildTree().

◆ parameters_

TrackAssociatorParameters IsolatedTracksCone::parameters_
private

◆ printTrkHitPattern_

const bool IsolatedTracksCone::printTrkHitPattern_
private

Definition at line 145 of file IsolatedTracksCone.cc.

Referenced by printTrack().

◆ ptMinLeadJet_

const double IsolatedTracksCone::ptMinLeadJet_
private

Definition at line 143 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ t_distFromHotCell_h3x3

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_distFromHotCell_h3x3
private

Definition at line 262 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_distFromHotCell_h5x5

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_distFromHotCell_h5x5
private

Definition at line 265 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_dtFromLeadJet

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_dtFromLeadJet
private

Definition at line 214 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_e3x3

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_e3x3
private

Definition at line 220 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_h3x3

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_h3x3
private

Definition at line 225 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_h5x5

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_h5x5
private

Definition at line 226 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltDoubleLooseIsoTau15_Trk5

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltDoubleLooseIsoTau15_Trk5
private

Definition at line 312 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltHB

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltHB
private

Definition at line 297 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltHE

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltHE
private

Definition at line 298 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet110

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet110
private

Definition at line 303 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet140

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet140
private

Definition at line 304 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet180

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet180
private

Definition at line 305 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet30

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet30
private

Definition at line 300 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet50

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet50
private

Definition at line 301 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltJet80

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltJet80
private

Definition at line 302 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltL1Jet15

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltL1Jet15
private

Definition at line 299 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltL1SingleEG5

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltL1SingleEG5
private

Definition at line 306 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltMinBiasEcal

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltMinBiasEcal
private

Definition at line 309 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltMinBiasHcal

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltMinBiasHcal
private

Definition at line 308 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltMinBiasPixel

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltMinBiasPixel
private

Definition at line 310 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltSingleIsoTau30_Trk5

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltSingleIsoTau30_Trk5
private

Definition at line 311 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hltZeroBias

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hltZeroBias
private

Definition at line 307 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3
private

Definition at line 227 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3CharHad

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3CharHad
private

Definition at line 241 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3Matched

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3Matched
private

Definition at line 233 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NCharHad

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NCharHad
private

Definition at line 252 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NeutHad

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3NeutHad
private

Definition at line 239 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NMatched

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NMatched
private

Definition at line 248 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NNeutHad

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NNeutHad
private

Definition at line 251 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NPhoton

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NPhoton
private

Definition at line 250 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NRest

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NRest
private

Definition at line 249 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3NTotal

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim3x3NTotal
private

Definition at line 253 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3PdgMatched

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3PdgMatched
private

Definition at line 243 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3Photon

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3Photon
private

Definition at line 237 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3Rest

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3Rest
private

Definition at line 235 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim3x3Total

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim3x3Total
private

Definition at line 245 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5
private

Definition at line 228 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5CharHad

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5CharHad
private

Definition at line 242 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5Matched

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5Matched
private

Definition at line 234 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NCharHad

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NCharHad
private

Definition at line 259 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NeutHad

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5NeutHad
private

Definition at line 240 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NMatched

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NMatched
private

Definition at line 255 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NNeutHad

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NNeutHad
private

Definition at line 258 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NPhoton

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NPhoton
private

Definition at line 257 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NRest

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NRest
private

Definition at line 256 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5NTotal

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_hsim5x5NTotal
private

Definition at line 260 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5PdgMatched

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5PdgMatched
private

Definition at line 244 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5Photon

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5Photon
private

Definition at line 238 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5Rest

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5Rest
private

Definition at line 236 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_hsim5x5Total

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_hsim5x5Total
private

Definition at line 246 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_ietaFromHotCell_h3x3

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_ietaFromHotCell_h3x3
private

Definition at line 263 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_ietaFromHotCell_h5x5

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_ietaFromHotCell_h5x5
private

Definition at line 266 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_ievt

std::unique_ptr<std::vector<unsigned int> > IsolatedTracksCone::t_ievt
private

Definition at line 328 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_ilum

std::unique_ptr<std::vector<unsigned int> > IsolatedTracksCone::t_ilum
private

Definition at line 329 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_iphiFromHotCell_h3x3

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_iphiFromHotCell_h3x3
private

Definition at line 264 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_iphiFromHotCell_h5x5

std::unique_ptr<std::vector<int> > IsolatedTracksCone::t_iphiFromHotCell_h5x5
private

Definition at line 267 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_irun

std::unique_ptr<std::vector<unsigned int> > IsolatedTracksCone::t_irun
private

Definition at line 327 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_nRH_h3x3

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_nRH_h3x3
private

Definition at line 230 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_nRH_h5x5

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_nRH_h5x5
private

Definition at line 231 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_simP

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_simP
private

Definition at line 216 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkEcalEne

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkEcalEne
private

Definition at line 270 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkEta

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkEta
private

Definition at line 218 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkHcalEne

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkHcalEne
private

Definition at line 269 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkNLayersCrossed

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkNLayersCrossed
private

Definition at line 213 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkNOuterHits

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkNOuterHits
private

Definition at line 212 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkP

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkP
private

Definition at line 215 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkPhi

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkPhi
private

Definition at line 219 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_trkPt

std::unique_ptr<std::vector<double> > IsolatedTracksCone::t_trkPt
private

Definition at line 217 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_cone_hmaxNearP

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_cone_hmaxNearP
private

Definition at line 210 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_cone_hmaxNearP_goodTrk

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_cone_hmaxNearP_goodTrk
private

Definition at line 209 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_cone_hnLayers_maxNearP

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_cone_hnLayers_maxNearP
private

Definition at line 207 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_cone_hnNearTRKs

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_cone_hnNearTRKs
private

Definition at line 206 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_cone_htrkQual_maxNearP

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_cone_htrkQual_maxNearP
private

Definition at line 208 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_distFromHotCell

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_distFromHotCell
private

Definition at line 292 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_eDR

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_eDR
private

Definition at line 222 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_eMipDR

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_eMipDR
private

Definition at line 223 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hCone

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hCone
private

Definition at line 288 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hlTriggers

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hlTriggers
private

Definition at line 296 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hmaxNearP

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hmaxNearP
private

Definition at line 204 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hmaxNearP_goodTrk

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hmaxNearP_goodTrk
private

Definition at line 203 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hnLayers_maxNearP

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hnLayers_maxNearP
private

Definition at line 201 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hnNearTRKs

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hnNearTRKs
private

Definition at line 200 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimCone

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimCone
private

Definition at line 287 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeCharHad

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConeCharHad
private

Definition at line 276 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeMatched

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConeMatched
private

Definition at line 272 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNCharHad

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNCharHad
private

Definition at line 284 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNeutHad

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConeNeutHad
private

Definition at line 275 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNMatched

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNMatched
private

Definition at line 280 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNNeutHad

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNNeutHad
private

Definition at line 283 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNPhoton

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNPhoton
private

Definition at line 282 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNRest

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNRest
private

Definition at line 281 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeNTotal

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_hsimInfoConeNTotal
private

Definition at line 285 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConePdgMatched

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConePdgMatched
private

Definition at line 277 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConePhoton

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConePhoton
private

Definition at line 274 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeRest

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConeRest
private

Definition at line 273 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_hsimInfoConeTotal

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_hsimInfoConeTotal
private

Definition at line 278 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_htrkQual_maxNearP

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_htrkQual_maxNearP
private

Definition at line 202 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_ietaFromHotCell

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_ietaFromHotCell
private

Definition at line 293 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_iphiFromHotCell

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_iphiFromHotCell
private

Definition at line 294 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_nRecHitsCone

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_nRecHitsCone
private

Definition at line 289 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_nSimHitsCone

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_nSimHitsCone
private

Definition at line 290 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h3x3_ene

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_RH_h3x3_ene
private

Definition at line 316 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h3x3_ieta

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_h3x3_ieta
private

Definition at line 314 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h3x3_iphi

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_h3x3_iphi
private

Definition at line 315 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h5x5_ene

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_RH_h5x5_ene
private

Definition at line 319 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h5x5_ieta

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_h5x5_ieta
private

Definition at line 317 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_h5x5_iphi

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_h5x5_iphi
private

Definition at line 318 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r26_ene

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_RH_r26_ene
private

Definition at line 322 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r26_ieta

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_r26_ieta
private

Definition at line 320 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r26_iphi

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_r26_iphi
private

Definition at line 321 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r44_ene

std::unique_ptr<std::vector<std::vector<double> > > IsolatedTracksCone::t_v_RH_r44_ene
private

Definition at line 325 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r44_ieta

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_r44_ieta
private

Definition at line 323 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ t_v_RH_r44_iphi

std::unique_ptr<std::vector<std::vector<int> > > IsolatedTracksCone::t_v_RH_r44_iphi
private

Definition at line 324 of file IsolatedTracksCone.cc.

Referenced by analyze(), beginJob(), buildTree(), and clearTrackVectors().

◆ tok_caloEB_

const edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksCone::tok_caloEB_
private

Definition at line 161 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_caloEE_

const edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksCone::tok_caloEE_
private

Definition at line 162 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_caloHH_

const edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksCone::tok_caloHH_
private

Definition at line 163 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_caloTopology_

const edm::ESGetToken<CaloTopology, CaloTopologyRecord> IsolatedTracksCone::tok_caloTopology_
private

Definition at line 167 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_EB_

const edm::EDGetTokenT<EcalRecHitCollection> IsolatedTracksCone::tok_EB_
private

Definition at line 153 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_ecalChStatus_

const edm::ESGetToken<EcalChannelStatus, EcalChannelStatusRcd> IsolatedTracksCone::tok_ecalChStatus_
private

Definition at line 169 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_EE_

const edm::EDGetTokenT<EcalRecHitCollection> IsolatedTracksCone::tok_EE_
private

Definition at line 154 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_genTrack_

const edm::EDGetTokenT<reco::TrackCollection> IsolatedTracksCone::tok_genTrack_
private

Definition at line 157 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_geom_

const edm::ESGetToken<CaloGeometry, CaloGeometryRecord> IsolatedTracksCone::tok_geom_
private

Definition at line 166 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_hbhe_

const edm::EDGetTokenT<HBHERecHitCollection> IsolatedTracksCone::tok_hbhe_
private

Definition at line 155 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_L1extCenJet_

const edm::EDGetTokenT<l1extra::L1JetParticleCollection> IsolatedTracksCone::tok_L1extCenJet_
private

Definition at line 150 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_L1extFwdJet_

const edm::EDGetTokenT<l1extra::L1JetParticleCollection> IsolatedTracksCone::tok_L1extFwdJet_
private

Definition at line 151 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_L1extTauJet_

const edm::EDGetTokenT<l1extra::L1JetParticleCollection> IsolatedTracksCone::tok_L1extTauJet_
private

Definition at line 149 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_sevlv_

const edm::ESGetToken<EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd> IsolatedTracksCone::tok_sevlv_
private

Definition at line 170 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_simTk_

const edm::EDGetTokenT<edm::SimTrackContainer> IsolatedTracksCone::tok_simTk_
private

Definition at line 158 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_simVtx_

const edm::EDGetTokenT<edm::SimVertexContainer> IsolatedTracksCone::tok_simVtx_
private

Definition at line 159 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_topo_

const edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> IsolatedTracksCone::tok_topo_
private

Definition at line 168 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ tok_trigger_

const edm::EDGetTokenT<edm::TriggerResults> IsolatedTracksCone::tok_trigger_
private

Definition at line 164 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ trackAssociator_

std::unique_ptr<TrackDetectorAssociator> IsolatedTracksCone::trackAssociator_
private

Definition at line 178 of file IsolatedTracksCone.cc.

Referenced by analyze(), and IsolatedTracksCone().

◆ trackerHitAssociatorConfig_

const TrackerHitAssociator::Config IsolatedTracksCone::trackerHitAssociatorConfig_
private

Definition at line 147 of file IsolatedTracksCone.cc.

Referenced by analyze().

◆ useJetTrigger_

const bool IsolatedTracksCone::useJetTrigger_
private

Definition at line 142 of file IsolatedTracksCone.cc.

Referenced by analyze(), and IsolatedTracksCone().