#include <DPGAnalysis/SiStripTools/src/APVShotsFilter.cc>
Public Member Functions | |
APVShotsFilter (const edm::ParameterSet &) | |
~APVShotsFilter () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
virtual void | beginJob () |
virtual bool | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual bool | beginRun (edm::Run &, edm::EventSetup const &) |
virtual void | endJob () |
virtual bool | endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual bool | endRun (edm::Run &, edm::EventSetup const &) |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
void | updateDetCabling (const edm::EventSetup &setup) |
Private Attributes | |
uint32_t | _cacheIdDet |
DB cache ID used to establish if the cabling has changed during the run. More... | |
const SiStripDetCabling * | _detCabling |
The cabling object. More... | |
int | _nevents |
bool | _selectAPVshots |
bool | _useCabling |
bool | _zs |
edm::EDGetTokenT < APVCyclePhaseCollection > | apvphaseToken_ |
edm::EDGetTokenT < edm::DetSetVector < SiStripDigi > > | digisToken_ |
edm::EDGetTokenT < EventWithHistory > | heToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 56 of file APVShotsFilter.cc.
|
explicit |
Definition at line 104 of file APVShotsFilter.cc.
References apvphaseToken_, digisToken_, edm::ParameterSet::getParameter(), and heToken_.
APVShotsFilter::~APVShotsFilter | ( | ) |
Definition at line 125 of file APVShotsFilter.cc.
References _detCabling.
|
privatevirtual |
|
privatevirtual |
Definition at line 271 of file APVShotsFilter.cc.
|
privatevirtual |
Definition at line 257 of file APVShotsFilter.cc.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 249 of file APVShotsFilter.cc.
References _nevents.
|
privatevirtual |
Definition at line 278 of file APVShotsFilter.cc.
|
privatevirtual |
Definition at line 264 of file APVShotsFilter.cc.
|
static |
Definition at line 304 of file APVShotsFilter.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
privatevirtual |
Implements edm::EDFilter.
Definition at line 141 of file APVShotsFilter.cc.
References _detCabling, _nevents, _selectAPVshots, _useCabling, _zs, apvphaseToken_, digisToken_, sistrip::FED_ID_MAX, FedChannelConnection::fedCh(), FedChannelConnection::fedId(), edm::Event::getByToken(), SiStripDetCabling::getConnection(), SiStripDetCabling::getConnections(), APVShotFinder::getShots(), heToken_, FedChannelConnection::isConnected(), LogDebug, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, and updateDetCabling().
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
Definition at line 285 of file APVShotsFilter.cc.
References _cacheIdDet, _detCabling, _useCabling, EnergyCorrector::c, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by filter().
|
private |
DB cache ID used to establish if the cabling has changed during the run.
Definition at line 88 of file APVShotsFilter.cc.
Referenced by updateDetCabling().
|
private |
The cabling object.
Definition at line 89 of file APVShotsFilter.cc.
Referenced by filter(), updateDetCabling(), and ~APVShotsFilter().
|
private |
Definition at line 84 of file APVShotsFilter.cc.
|
private |
Definition at line 81 of file APVShotsFilter.cc.
Referenced by filter().
|
private |
Definition at line 87 of file APVShotsFilter.cc.
Referenced by filter(), and updateDetCabling().
|
private |
Definition at line 83 of file APVShotsFilter.cc.
Referenced by filter().
|
private |
Definition at line 78 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().
|
private |
Definition at line 79 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().
|
private |
Definition at line 77 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().