#include <trackCount/TrackCount/src/TrackCount.cc>
Public Member Functions | |
TrackCount (const edm::ParameterSet &) | |
~TrackCount () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
Private Attributes | |
const bool | m_2dhistos |
TH1F * | m_chisq |
TH1F * | m_chisqnorm |
TH2F * | m_chisqnormvseta |
TH2F * | m_chisqvseta |
const bool | m_dump |
TH1D * | m_halgo |
TH1F * | m_hcos |
TH1F * | m_heta |
TH1F * | m_hhpfrac |
TProfile2D * | m_hnhitphieta |
TProfile2D * | m_hnlayerphieta |
TH1D * | m_hnlayers |
TH1D * | m_hnlosthits |
TH1D * | m_hnlostlayers |
TH1D * | m_hnpixellayers |
TH1D * | m_hnpixelrhits |
TH1D * | m_hnrhits |
TH1D * | m_hnstriplayers |
TH1D * | m_hnstriprhits |
TH1F * | m_hphi |
TH2D * | m_hphieta |
TH1F * | m_hpt |
TProfile2D * | m_hptphieta |
TH1F * | m_hsqsumptsq |
const unsigned int | m_LSfrac |
edm::EDGetTokenT< LumiDetails > | m_lumiProducerToken |
const unsigned int | m_maxLS |
TH1F * | m_ndof |
TH2F * | m_ndofvseta |
TH1F * | m_nhptrk |
const unsigned int | m_nptbin |
TH1F * | m_ntrk |
TProfile * | m_ntrkvslumi |
TH2D * | m_ntrkvslumi2D |
TProfile ** | m_ntrkvsorbrun |
const double | m_ptmax |
const double | m_ptmin |
RunHistogramManager | m_rhm |
const bool | m_runHisto |
edm::EDGetTokenT< reco::TrackCollection > | m_trkcollToken |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 65 of file TrackCount.cc.
|
explicit |
Definition at line 135 of file TrackCount.cc.
References reco::TrackBase::algoSize, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), diffTwoXMLs::label, m_2dhistos, m_chisq, m_chisqnorm, m_chisqnormvseta, m_chisqvseta, m_halgo, m_hcos, m_heta, m_hhpfrac, m_hnhitphieta, m_hnlayerphieta, m_hnlayers, m_hnlosthits, m_hnlostlayers, m_hnpixellayers, m_hnpixelrhits, m_hnrhits, m_hnstriplayers, m_hnstriprhits, m_hphi, m_hphieta, m_hpt, m_hptphieta, m_hsqsumptsq, m_LSfrac, m_maxLS, m_ndof, m_ndofvseta, m_nhptrk, m_nptbin, m_ntrk, m_ntrkvslumi, m_ntrkvslumi2D, m_ntrkvsorbrun, M_PI, m_ptmax, m_ptmin, m_rhm, m_runHisto, TFileService::make(), and RunHistogramManager::makeTProfile().
|
override |
Definition at line 247 of file TrackCount.cc.
|
overrideprivate |
Definition at line 262 of file TrackCount.cc.
References edm::EventBase::bunchCrossing(), edm::LuminosityBlock::getByToken(), edm::Event::getByToken(), edm::Event::getLuminosityBlock(), LumiDetails::isValid(), edm::HandleBase::isValid(), LumiDetails::kOCC1, LumiDetails::lumiValue(), m_2dhistos, m_chisq, m_chisqnorm, m_chisqnormvseta, m_chisqvseta, m_dump, m_halgo, m_hcos, m_heta, m_hhpfrac, m_hnhitphieta, m_hnlayerphieta, m_hnlayers, m_hnlosthits, m_hnlostlayers, m_hnpixellayers, m_hnpixelrhits, m_hnrhits, m_hnstriplayers, m_hnstriprhits, m_hphi, m_hphieta, m_hpt, m_hptphieta, m_hsqsumptsq, m_lumiProducerToken, m_ndof, m_ndofvseta, m_nhptrk, m_ntrk, m_ntrkvslumi, m_ntrkvslumi2D, m_ntrkvsorbrun, m_runHisto, m_trkcollToken, edm::EventBase::orbitNumber(), EnergyCorrector::pt, jets_cff::quality, reco::TrackBase::qualityByName(), mathSSE::sqrt(), reco::HitPattern::TRACK_HITS, and l1t::tracks.
|
overrideprivate |
Definition at line 361 of file TrackCount.cc.
References RunHistogramManager::beginRun(), DEFINE_FWK_MODULE, m_rhm, and m_runHisto.
|
private |
Definition at line 114 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 87 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 88 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 91 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 90 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 116 of file TrackCount.cc.
Referenced by analyze().
|
private |
Definition at line 102 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 85 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 84 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 81 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 104 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 105 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 99 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 94 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 98 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 100 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 96 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 95 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 101 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 97 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 83 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 103 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 86 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 93 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 82 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 113 of file TrackCount.cc.
Referenced by TrackCount().
|
private |
Definition at line 118 of file TrackCount.cc.
Referenced by analyze().
|
private |
Definition at line 112 of file TrackCount.cc.
Referenced by TrackCount().
|
private |
Definition at line 89 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 92 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 80 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 119 of file TrackCount.cc.
Referenced by TrackCount().
|
private |
Definition at line 77 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 78 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 79 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 107 of file TrackCount.cc.
Referenced by analyze(), and TrackCount().
|
private |
Definition at line 121 of file TrackCount.cc.
Referenced by TrackCount().
|
private |
Definition at line 120 of file TrackCount.cc.
Referenced by TrackCount().
|
private |
Definition at line 111 of file TrackCount.cc.
Referenced by beginRun(), and TrackCount().
|
private |
Definition at line 115 of file TrackCount.cc.
Referenced by analyze(), beginRun(), and TrackCount().
|
private |
Definition at line 117 of file TrackCount.cc.
Referenced by analyze().