#include <IsoTrackCalib.h>
Public Member Functions | |
double | dR (double eta1, double eta2, double phi1, double phi2) |
IsoTrackCalib (const edm::ParameterSet &) | |
~IsoTrackCalib () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
void | clearTreeVectors () |
double | dEta (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
double | dinvPt (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
double | dP (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
double | dPhi (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
double | dPt (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
double | dR (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Private Attributes | |
double | a_charIsoR |
double | a_coneR |
double | a_mipR |
double | a_neutIsoR |
double | a_neutR1 |
double | a_neutR2 |
bool | changed |
double | cutCharge |
double | cutMip |
double | cutNeutral |
double | dr_L1 |
std::vector< double > | drCuts |
int | Event |
bool | firstEvent |
edm::Service< TFileService > | fs |
TH1I * | g_Accepts |
TH1I * | g_Pre |
TH1I * | g_PreHLT |
TH1I * | g_PreL1 |
TH1I * | h_HLTAccept |
std::vector< TH1I * > | h_HLTAccepts |
TH1I * | h_nHLT |
HLTConfigProvider | hltConfig_ |
std::vector< std::string > | HLTNames |
int | maxRunNo |
int | minRunNo |
int | nRun |
int | Run |
spr::trackSelectionParameters | selectionParameters |
std::vector< double > * | t_charge_iso |
std::vector< double > * | t_disthotcell |
std::vector< double > * | t_ehcal |
std::vector< double > * | t_emip |
std::vector< double > * | t_eventweight |
std::vector< int > * | t_ieta |
std::vector< double > * | t_ietahotcell |
std::vector< double > * | t_l1eta |
std::vector< double > * | t_l1phi |
std::vector< double > * | t_l1pt |
std::vector< double > * | t_l3eta |
std::vector< double > * | t_l3phi |
std::vector< double > * | t_l3pt |
std::vector< double > * | t_leadingeta |
std::vector< double > * | t_leadingphi |
std::vector< double > * | t_leadingpt |
std::vector< double > * | t_neu_iso |
std::vector< double > * | t_trackEta |
std::vector< double > * | t_trackP |
std::vector< double > * | t_trackPhi |
std::vector< double > * | t_trackPt |
std::vector< double > * | t_trackPx |
std::vector< double > * | t_trackPy |
std::vector< double > * | t_trackPz |
std::vector< double > * | t_trkL3mindr |
std::string | theTrackQuality |
edm::InputTag | theTriggerResultsLabel |
edm::EDGetTokenT< reco::BeamSpot > | tok_bs_ |
edm::EDGetTokenT < EcalRecHitCollection > | tok_EB_ |
edm::EDGetTokenT < EcalRecHitCollection > | tok_EE_ |
edm::EDGetTokenT < GenEventInfoProduct > | tok_ew_ |
edm::EDGetTokenT < reco::TrackCollection > | tok_genTrack_ |
edm::EDGetTokenT < HBHERecHitCollection > | tok_hbhe_ |
edm::EDGetTokenT< LumiDetails > | tok_lumi |
edm::EDGetTokenT < reco::PFJetCollection > | tok_pf_ |
edm::EDGetTokenT < reco::VertexCollection > | tok_recVtx_ |
edm::EDGetTokenT < trigger::TriggerEvent > | tok_trigEvt |
edm::EDGetTokenT < edm::TriggerResults > | tok_trigRes |
TTree * | tree |
edm::InputTag | triggerEvent_ |
std::map< std::pair< unsigned int, std::string >, unsigned int > | TrigList |
std::vector< std::string > | trigNames |
std::map< std::pair< unsigned int, std::string >, const std::pair< int, int > > | TrigPreList |
int | verbosity |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 68 of file IsoTrackCalib.h.
|
explicit |
Definition at line 6 of file IsoTrackCalib.cc.
References a_charIsoR, a_coneR, a_mipR, a_neutIsoR, a_neutR1, a_neutR2, cutCharge, cutMip, cutNeutral, dr_L1, drCuts, edm::ParameterSet::getUntrackedParameter(), roll_playback::k, spr::trackSelectionParameters::maxChi2, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, maxRunNo, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, minRunNo, reco::TrackBase::qualityByName(), selectionParameters, AlCaHLTBitMon_QueryRunRegistry::string, theTrackQuality, theTriggerResultsLabel, tok_bs_, tok_EB_, tok_EE_, tok_ew_, tok_genTrack_, tok_hbhe_, tok_lumi, tok_pf_, tok_recVtx_, tok_trigEvt, tok_trigRes, triggerEvent_, trigNames, and verbosity.
IsoTrackCalib::~IsoTrackCalib | ( | ) |
Definition at line 89 of file IsoTrackCalib.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 95 of file IsoTrackCalib.cc.
References a_charIsoR, a_coneR, a_mipR, a_neutR1, a_neutR2, ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), changed, spr::chargeIsolationCone(), clearTreeVectors(), dEta(), dPhi(), dR(), drCuts, spr::eCone_ecal(), spr::eCone_hcal(), trigger::TriggerObject::energy(), trigger::TriggerObject::eta(), eta(), reco::TrackBase::eta(), edm::EventID::event(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::filterTag(), spr::find(), firstEvent, edm::EventSetup::get(), edm::LuminosityBlock::getByToken(), edm::Event::getByToken(), edm::Event::getLuminosityBlock(), trigger::TriggerEvent::getObjects(), spr::goodTrack(), h_HLTAccept, h_HLTAccepts, h_nHLT, runregparse::hlt, hltConfig_, HLTNames, i, trigger::TriggerObject::id(), edm::EventBase::id(), HcalDetId::ieta(), edm::HandleBase::isValid(), j, roll_playback::k, LumiDetails::kOCC1, diffTwoXMLs::label, edm::InputTag::label(), edm::EventBase::luminosityBlock(), trigger::TriggerObject::mass(), HLTConfigProvider::moduleLabels(), edmConvertToStreamModule::modules, n, nRun, convertSQLiteXML::ok, reco::TrackBase::p(), phi, trigger::TriggerObject::phi(), reco::TrackBase::phi(), makeHLTPrescaleTable::prescales, HLTConfigProvider::prescaleValues(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), spr::propagateCALO(), EnergyCorrector::pt, trigger::TriggerObject::pt(), reco::TrackBase::pt(), trigger::TriggerObject::px(), reco::TrackBase::px(), trigger::TriggerObject::py(), reco::TrackBase::py(), trigger::TriggerObject::pz(), reco::TrackBase::pz(), edm::EventID::run(), Run, selectionParameters, HLTConfigProvider::size(), trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, t_charge_iso, t_disthotcell, t_ehcal, t_emip, t_eventweight, t_ieta, t_ietahotcell, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_leadingeta, t_leadingphi, t_leadingpt, t_neu_iso, t_trackEta, t_trackP, t_trackPhi, t_trackPt, t_trackPx, t_trackPy, t_trackPz, t_trkL3mindr, theTrackQuality, tok_bs_, tok_EB_, tok_EE_, tok_ew_, tok_genTrack_, tok_hbhe_, tok_lumi, tok_pf_, tok_recVtx_, tok_trigEvt, tok_trigRes, TrackInfoProducer_cfi::trackinfo, tree, triggerEvent_, HLTConfigProvider::triggerIndex(), edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), triggerResults, TrigList, trigNames, TrigPreList, verbosity, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 461 of file IsoTrackCalib.cc.
References fs, h_HLTAccept, h_nHLT, TFileService::make(), t_charge_iso, t_disthotcell, t_ehcal, t_emip, t_eventweight, t_ieta, t_ietahotcell, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_leadingeta, t_leadingphi, t_leadingpt, t_neu_iso, t_trackEta, t_trackP, t_trackPhi, t_trackPt, t_trackPx, t_trackPy, t_trackPz, t_trkL3mindr, and tree.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 544 of file IsoTrackCalib.cc.
References changed, firstEvent, fs, h_HLTAccepts, hltConfig_, HLTConfigProvider::init(), TFileService::make(), nRun, and edm::RunBase::run().
|
private |
Definition at line 598 of file IsoTrackCalib.cc.
References t_charge_iso, t_disthotcell, t_ehcal, t_emip, t_eventweight, t_ieta, t_ietahotcell, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_leadingeta, t_leadingphi, t_leadingpt, t_neu_iso, t_trackEta, t_trackP, t_trackPhi, t_trackPt, t_trackPx, t_trackPy, t_trackPz, and t_trkL3mindr.
Referenced by analyze().
|
private |
|
private |
Definition at line 594 of file IsoTrackCalib.cc.
|
private |
|
private |
Definition at line 578 of file IsoTrackCalib.cc.
References reco::deltaPhi().
Referenced by analyze().
|
private |
Definition at line 586 of file IsoTrackCalib.cc.
double IsoTrackCalib::dR | ( | double | eta1, |
double | eta2, | ||
double | phi1, | ||
double | phi2 | ||
) |
Referenced by analyze().
|
private |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 522 of file IsoTrackCalib.cc.
References first, fs, g_Accepts, g_Pre, g_PreHLT, g_PreL1, TFileService::make(), maxRunNo, minRunNo, n, edm::second(), TrigList, and TrigPreList.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 556 of file IsoTrackCalib.cc.
References nRun, and edm::RunBase::run().
|
static |
Definition at line 566 of file IsoTrackCalib.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 103 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 103 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 103 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 103 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 104 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 104 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 96 of file IsoTrackCalib.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 104 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 104 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 104 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 103 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 106 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 130 of file IsoTrackCalib.h.
|
private |
Definition at line 122 of file IsoTrackCalib.h.
Referenced by analyze(), beginRun(), looper.Looper::loop(), and Printer.Printer::process().
|
private |
Definition at line 97 of file IsoTrackCalib.h.
Referenced by beginJob(), beginRun(), and endJob().
|
private |
Definition at line 127 of file IsoTrackCalib.h.
Referenced by endJob().
|
private |
Definition at line 127 of file IsoTrackCalib.h.
Referenced by endJob().
|
private |
Definition at line 127 of file IsoTrackCalib.h.
Referenced by endJob().
|
private |
Definition at line 127 of file IsoTrackCalib.h.
Referenced by endJob().
|
private |
Definition at line 125 of file IsoTrackCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file IsoTrackCalib.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 125 of file IsoTrackCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file IsoTrackCalib.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 99 of file IsoTrackCalib.h.
Referenced by analyze().
|
private |
Definition at line 105 of file IsoTrackCalib.h.
Referenced by endJob(), and IsoTrackCalib().
|
private |
Definition at line 105 of file IsoTrackCalib.h.
Referenced by endJob(), and IsoTrackCalib().
|
private |
Definition at line 105 of file IsoTrackCalib.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 130 of file IsoTrackCalib.h.
Referenced by analyze(), and BeamSpotObj.BeamSpot::Reset().
|
private |
Definition at line 101 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 140 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 144 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 141 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 138 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 146 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 143 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 145 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 148 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 149 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 147 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 151 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 152 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 150 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 154 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 155 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 153 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 139 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 136 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 131 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 137 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 135 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 132 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 133 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 134 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 142 of file IsoTrackCalib.h.
Referenced by analyze(), beginJob(), and clearTreeVectors().
|
private |
Definition at line 102 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 108 of file IsoTrackCalib.h.
Referenced by IsoTrackCalib().
|
private |
Definition at line 115 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 116 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 117 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 119 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 113 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 118 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 109 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 120 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 114 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 110 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 111 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 129 of file IsoTrackCalib.h.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), analyze(), beginJob(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().
|
private |
Definition at line 108 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 123 of file IsoTrackCalib.h.
|
private |
Definition at line 99 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().
|
private |
Definition at line 124 of file IsoTrackCalib.h.
|
private |
Definition at line 100 of file IsoTrackCalib.h.
Referenced by analyze(), and IsoTrackCalib().