![]() |
![]() |
#include <UserCode/HcalLaserEventFilter/src/HcalLaserEventFilter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | filter (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
std::vector< int > | GetCMSSWVersion (std::string const &) const |
bool | IsGreaterThanMinCMSSWVersion (std::vector< int > const &) const |
Private Attributes | |
const bool | debug_ |
bool | forceUseHcalNoiseSummary_ |
bool | forceUseRecHitCollection_ |
const edm::InputTag | hbheInputLabel_ |
edm::EDGetTokenT< HBHERecHitCollection > | hbheToken_ |
const edm::InputTag | hcalNoiseSummaryLabel_ |
edm::EDGetTokenT< HcalNoiseSummary > | hcalNoiseSummaryToken_ |
const double | minLaserMonitorCharge_ |
const unsigned int | minOccupiedHBHE_ |
std::vector< int > | minVersion_ |
const bool | reverseFilter_ |
std::vector< std::pair< edm::RunNumber_t, edm::EventNumber_t > > | RunEventData_ |
const bool | taggingMode_ |
bool | useHcalNoiseSummary_ |
const bool | vetoByHBHEOccupancy_ |
const bool | vetoByLaserMonitor_ |
const bool | vetoByRunEventNumber_ |
Additional Inherited Members | |
![]() | |
typedef EDFilterBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
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: Filter for removing Hcal laser events
Implementation: Filter allows users to remove specific (run,event) pairs that have been identified as noise It also allows users to remove events in which the number of HBHE rechits exceeds a given threshold (5000 by default).
Definition at line 50 of file HcalLaserEventFilter.cc.
|
explicit |
Definition at line 109 of file HcalLaserEventFilter.cc.
References GetCMSSWVersion(), edm::ParameterSet::getParameter(), edm::getReleaseVersion(), mps_fire::i, IsGreaterThanMinCMSSWVersion(), minVersion_, writedatasetfile::run, RunEventData_, AlCaHLTBitMon_QueryRunRegistry::string, and useHcalNoiseSummary_.
|
override |
Definition at line 155 of file HcalLaserEventFilter.cc.
|
static |
Definition at line 283 of file HcalLaserEventFilter.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
overrideprivate |
Definition at line 170 of file HcalLaserEventFilter.cc.
References debug_, edm::EventID::event(), forceUseHcalNoiseSummary_, forceUseRecHitCollection_, edm::Event::getByToken(), HcalNoiseSummary::GetLaserMonitorCharge(), HcalNoiseSummary::GetRecHitCount(), hbheInputLabel_, hbheToken_, hcalNoiseSummaryLabel_, hcalNoiseSummaryToken_, mps_fire::i, edm::EventBase::id(), createfilelist::int, minLaserMonitorCharge_, minOccupiedHBHE_, edm::Event::put(), reverseFilter_, edm::EventID::run(), RunEventData_, edm::SortedCollection< T, SORT >::size(), taggingMode_, useHcalNoiseSummary_, vetoByHBHEOccupancy_, vetoByLaserMonitor_, and vetoByRunEventNumber_.
|
private |
Definition at line 314 of file HcalLaserEventFilter.cc.
References edmScanValgrind::buffer, tablePrinter::prefix, AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::t, and groupFilesInBlocks::temp.
Referenced by HcalLaserEventFilter().
|
private |
Definition at line 346 of file HcalLaserEventFilter.cc.
References DEFINE_FWK_MODULE, and minVersion_.
Referenced by HcalLaserEventFilter().
|
private |
Definition at line 77 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 94 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 93 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 84 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 85 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 86 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 87 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 74 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 71 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 95 of file HcalLaserEventFilter.cc.
Referenced by HcalLaserEventFilter(), and IsGreaterThanMinCMSSWVersion().
|
private |
Definition at line 81 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 67 of file HcalLaserEventFilter.cc.
Referenced by filter(), and HcalLaserEventFilter().
|
private |
Definition at line 89 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 92 of file HcalLaserEventFilter.cc.
Referenced by filter(), and HcalLaserEventFilter().
|
private |
Definition at line 70 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 73 of file HcalLaserEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 66 of file HcalLaserEventFilter.cc.
Referenced by filter().