#include <UserCode/HcalLaserHBHEFilter2012/src/HcalLaserHBHEFilter2012.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 |
Private Attributes | |
std::vector< int > | CalibTS_ |
edm::InputTag | digiLabel_ |
bool | forceFilterTrue_ |
double | HBHEcalibThreshold_ |
int | minCalibChannelsHBHELaser_ |
double | minFracDiffHBHELaser_ |
std::ofstream | outfile_ |
std::string | prefix_ |
edm::EDGetTokenT< HcalCalibDigiCollection > | tok_calib_ |
edm::EDGetTokenT< HBHEDigiCollection > | tok_hbhe_ |
bool | verbose_ |
bool | WriteBadToFile_ |
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: [filters out HBHE laser events based on number of HBHE calib digis above threshold and the distribution of HBHE calib digis]
Implementation: [Notes on implementation]
Definition at line 51 of file HcalLaserHBHEFilter2012.cc.
|
explicit |
Definition at line 89 of file HcalLaserHBHEFilter2012.cc.
References CalibTS_, digiLabel_, forceFilterTrue_, edm::ParameterSet::getUntrackedParameter(), HBHEcalibThreshold_, mps_fire::i, minCalibChannelsHBHELaser_, minFracDiffHBHELaser_, outfile_, prefix_, AlCaHLTBitMon_QueryRunRegistry::string, tok_calib_, tok_hbhe_, verbose_, and WriteBadToFile_.
|
override |
Definition at line 114 of file HcalLaserHBHEFilter2012.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 235 of file HcalLaserHBHEFilter2012.cc.
References outfile_, and WriteBadToFile_.
|
static |
Definition at line 242 of file HcalLaserHBHEFilter2012.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 129 of file HcalLaserHBHEFilter2012.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalCalibDetId::calibFlavor(), CalibTS_, gather_cfg::cout, digiLabel_, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), forceFilterTrue_, edm::Event::getByToken(), photonIsolationHIProducer_cfi::hbhe, HBHEcalibThreshold_, HcalBarrel, HcalEndcap, HcalCalibDetId::hcalSubdet(), HcalCalibDetId::HOCrosstalk, mps_fire::i, HcalCalibDataFrame::id(), HBHEDataFrame::id(), edm::EventBase::id(), HcalDetId::ieta(), HcalDetId::iphi(), edm::HandleBase::isValid(), edm::EventBase::luminosityBlock(), minCalibChannelsHBHELaser_, minFracDiffHBHELaser_, outfile_, prefix_, edm::EventID::run(), HcalDetId::subdet(), tok_calib_, tok_hbhe_, verbose_, WriteBadToFile_, and HcalCalibDataFrame::zsMarkAndPass().
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 72 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 67 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 74 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 71 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 65 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 66 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 75 of file HcalLaserHBHEFilter2012.cc.
Referenced by endJob(), filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 64 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 68 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 69 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 63 of file HcalLaserHBHEFilter2012.cc.
Referenced by filter(), and HcalLaserHBHEFilter2012().
|
private |
Definition at line 73 of file HcalLaserHBHEFilter2012.cc.
Referenced by endJob(), filter(), and HcalLaserHBHEFilter2012().