#include <DPGAnalysis/SiStripTools/src/APVShotsFilter.cc>
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Private Member Functions | |
void | endJob () override |
bool | filter (edm::Event &, const edm::EventSetup &) override |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 98 of file APVShotsFilter.cc.
References apvphaseToken_, digisToken_, edm::ParameterSet::getParameter(), and heToken_.
|
override |
Definition at line 119 of file APVShotsFilter.cc.
References _detCabling.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 237 of file APVShotsFilter.cc.
References _nevents.
|
static |
Definition at line 264 of file APVShotsFilter.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 135 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(), hcalSimParameters_cfi::he, 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 245 of file APVShotsFilter.cc.
References _cacheIdDet, _detCabling, _useCabling, EnergyCorrector::c, edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by filter().
|
private |
DB cache ID used to establish if the cabling has changed during the run.
Definition at line 82 of file APVShotsFilter.cc.
Referenced by updateDetCabling().
|
private |
The cabling object.
Definition at line 83 of file APVShotsFilter.cc.
Referenced by filter(), updateDetCabling(), and ~APVShotsFilter().
|
private |
Definition at line 78 of file APVShotsFilter.cc.
|
private |
Definition at line 75 of file APVShotsFilter.cc.
Referenced by filter().
|
private |
Definition at line 81 of file APVShotsFilter.cc.
Referenced by filter(), and updateDetCabling().
|
private |
Definition at line 77 of file APVShotsFilter.cc.
Referenced by filter().
|
private |
Definition at line 72 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().
|
private |
Definition at line 73 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().
|
private |
Definition at line 71 of file APVShotsFilter.cc.
Referenced by APVShotsFilter(), and filter().