CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
APVShotsAnalyzer Class Reference

#include <DPGAnalysis/SiStripTools/plugins/APVShotsAnalyzer.cc>

Inheritance diagram for APVShotsAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 APVShotsAnalyzer (const edm::ParameterSet &)
 
 ~APVShotsAnalyzer ()
 
- 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
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginJob () override
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &) override
 
virtual void endJob () override
 
virtual void endRun (const edm::Run &, const edm::EventSetup &) override
 
void updateDetCabling (const edm::EventSetup &setup)
 

Private Attributes

edm::EDGetTokenT
< APVCyclePhaseCollection
_apvphasecollToken
 
uint32_t _cacheIdDet
 DB cache ID used to establish if the cabling has changed during the run. More...
 
TH2F * _channelvsfed
 
const SiStripDetCabling_detCabling
 The cabling object. More...
 
edm::EDGetTokenT
< edm::DetSetVector
< SiStripDigi > > 
_digicollectionToken
 
TH1F * _fed
 
TH1F ** _fedrun
 
edm::EDGetTokenT
< EventWithHistory
_historyProductToken
 
TH1F * _median
 
TH1F ** _medianrun
 
TH2F * _medianVsFED
 
int _nevents
 
TH1F * _nShots
 
TProfile * _nShotsbxcycle
 
TProfile * _nShotsbxcycleprev
 
TProfile * _nShotsdbx
 
TProfile * _nShotsdbxincycle
 
TProfile * _nShotsdbxincycleprev
 
TProfile * _nShotsdbxprev
 
TH1F ** _nShotsrun
 
TH2F * _nShotsVsFED
 
TProfile ** _nShotsVsTimerun
 
const std::string _phasepart
 
RunHistogramManager _rhm
 
TH1F * _stripMult
 
TH1F ** _stripMultrun
 
TH1F * _subDetector
 
TH1F ** _subDetectorrun
 
std::string _suffix
 
bool _useCabling
 
TH1F * _whichAPV
 
TH1F ** _whichAPVrun
 
bool _zs
 
TkHistoMaptkhisto
 
TkHistoMaptkhisto2
 

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)
 

Detailed Description

Description: <one line="" class="" summary>="">

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

Definition at line 70 of file APVShotsAnalyzer.cc.

Constructor & Destructor Documentation

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

Definition at line 143 of file APVShotsAnalyzer.cc.

APVShotsAnalyzer::~APVShotsAnalyzer ( )

Definition at line 225 of file APVShotsAnalyzer.cc.

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 241 of file APVShotsAnalyzer.cc.

void APVShotsAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 443 of file APVShotsAnalyzer.cc.

void APVShotsAnalyzer::beginRun ( const edm::Run iRun,
const edm::EventSetup  
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 395 of file APVShotsAnalyzer.cc.

virtual void APVShotsAnalyzer::endJob ( )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 436 of file APVShotsAnalyzer.cc.

void APVShotsAnalyzer::updateDetCabling ( const edm::EventSetup setup)
private

Definition at line 472 of file APVShotsAnalyzer.cc.

Member Data Documentation

edm::EDGetTokenT<APVCyclePhaseCollection> APVShotsAnalyzer::_apvphasecollToken
private

Definition at line 89 of file APVShotsAnalyzer.cc.

uint32_t APVShotsAnalyzer::_cacheIdDet
private

DB cache ID used to establish if the cabling has changed during the run.

Definition at line 127 of file APVShotsAnalyzer.cc.

TH2F* APVShotsAnalyzer::_channelvsfed
private

Definition at line 101 of file APVShotsAnalyzer.cc.

const SiStripDetCabling* APVShotsAnalyzer::_detCabling
private

The cabling object.

Definition at line 128 of file APVShotsAnalyzer.cc.

edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > APVShotsAnalyzer::_digicollectionToken
private

Definition at line 87 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_fed
private

Definition at line 100 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_fedrun
private

Definition at line 121 of file APVShotsAnalyzer.cc.

edm::EDGetTokenT<EventWithHistory> APVShotsAnalyzer::_historyProductToken
private

Definition at line 88 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_median
private

Definition at line 98 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_medianrun
private

Definition at line 119 of file APVShotsAnalyzer.cc.

TH2F* APVShotsAnalyzer::_medianVsFED
private

Definition at line 110 of file APVShotsAnalyzer.cc.

int APVShotsAnalyzer::_nevents
private

Definition at line 93 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_nShots
private

Definition at line 95 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsbxcycle
private

Definition at line 103 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsbxcycleprev
private

Definition at line 106 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsdbx
private

Definition at line 104 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsdbxincycle
private

Definition at line 105 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsdbxincycleprev
private

Definition at line 108 of file APVShotsAnalyzer.cc.

TProfile* APVShotsAnalyzer::_nShotsdbxprev
private

Definition at line 107 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_nShotsrun
private

Definition at line 115 of file APVShotsAnalyzer.cc.

TH2F* APVShotsAnalyzer::_nShotsVsFED
private

Definition at line 111 of file APVShotsAnalyzer.cc.

TProfile** APVShotsAnalyzer::_nShotsVsTimerun
private

Definition at line 116 of file APVShotsAnalyzer.cc.

const std::string APVShotsAnalyzer::_phasepart
private

Definition at line 90 of file APVShotsAnalyzer.cc.

RunHistogramManager APVShotsAnalyzer::_rhm
private

Definition at line 113 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_stripMult
private

Definition at line 97 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_stripMultrun
private

Definition at line 118 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_subDetector
private

Definition at line 99 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_subDetectorrun
private

Definition at line 120 of file APVShotsAnalyzer.cc.

std::string APVShotsAnalyzer::_suffix
private

Definition at line 92 of file APVShotsAnalyzer.cc.

bool APVShotsAnalyzer::_useCabling
private

Definition at line 126 of file APVShotsAnalyzer.cc.

TH1F* APVShotsAnalyzer::_whichAPV
private

Definition at line 96 of file APVShotsAnalyzer.cc.

TH1F** APVShotsAnalyzer::_whichAPVrun
private

Definition at line 117 of file APVShotsAnalyzer.cc.

bool APVShotsAnalyzer::_zs
private

Definition at line 91 of file APVShotsAnalyzer.cc.

TkHistoMap* APVShotsAnalyzer::tkhisto
private

Definition at line 123 of file APVShotsAnalyzer.cc.

TkHistoMap * APVShotsAnalyzer::tkhisto2
private

Definition at line 123 of file APVShotsAnalyzer.cc.