#include <PhysicsTools/EcalDeadCellBoundaryEnergyFilter/src/EcalDeadCellBoundaryEnergyFilter.cc>
Public Member Functions | |
EcalDeadCellBoundaryEnergyFilter (const edm::ParameterSet &) | |
~EcalDeadCellBoundaryEnergyFilter () | |
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 () |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual bool | filter (edm::Event &, const edm::EventSetup &) override |
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 |
Static Public Member Functions inherited from edm::EDFilter | |
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) |
Description: <one line="" class="" summary>=""> Event filtering for anomalous ECAL events where the energy measured by ECAL is significantly biased due to energy depositions in passive or problematic detector regions. The filter will handle ECAL flags and will compute the boundary energy in the channels surrounding the problematic regions such as dead channels and gaps.
Filter Algos : a) "TuningMode" keep all events and save event info in a ROOT TTree for tuning/algo development b) "FilterMode" returns false for all events passing the AnomalousEcalVariables.isDeadEcalCluster() function (—>rejects events affected by energy deposits in Dead Cells)
Implementation: <Notes on="" implementation>="">
Definition at line 60 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
explicit |
Definition at line 115 of file EcalDeadCellBoundaryEnergyFilter.cc.
References gather_cfg::cout, cutBoundEnergyDeadCellsEB, debug_, i_EBDead, i_EBGap, i_EEDead, i_EEGap, maxBoundaryEnergy_, skimDead_, skimGap_, v_boundaryInfoDeadCells_EB, v_boundaryInfoDeadCells_EE, v_enNeighboursGap_EB, and v_enNeighboursGap_EE.
EcalDeadCellBoundaryEnergyFilter::~EcalDeadCellBoundaryEnergyFilter | ( | ) |
Definition at line 166 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 470 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 474 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
overrideprivatevirtual |
Implements edm::EDFilter.
Definition at line 171 of file EcalDeadCellBoundaryEnergyFilter.cc.
References funct::abs(), BoundaryInformation::boundaryEnergy, BoundaryInformation::boundaryET, EcalBoundaryInfoCalculator< EcalDetId >::boundaryRecHits(), EcalBoundaryInfoCalculator< EcalDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EcalDetId >::checkRecHitHasInvalidNeighbour(), gather_cfg::cout, fwrapper::cs, cutBoundEnergyDeadCellsEB, cutBoundEnergyDeadCellsEE, cutBoundEnergyGapEB, cutBoundEnergyGapEE, debug_, BoundaryInformation::detIds, ebBoundaryCalc, egHLT::errCodes::EBRecHits, EBRecHitsToken_, eeBoundaryCalc, egHLT::errCodes::EERecHits, EERecHitsToken_, enableGap_, eta, PV3DBase< T, PVType, FrameType >::eta(), EcalBoundaryInfoCalculator< EcalDetId >::gapRecHits(), geometry, edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), i_EBDead, i_EBGap, i_EEDead, i_EEGap, hit::id, limitDeadCellToChannelStatusEB_, limitDeadCellToChannelStatusEE_, limitFilterToEB_, limitFilterToEE_, maxBoundaryEnergy_, edm::Event::put(), EcalBoundaryInfoCalculator< EcalDetId >::setDebugMode(), skimDead_, skimGap_, ntuplemaker::status, taggingMode_, v_boundaryInfoDeadCells_EB, v_boundaryInfoDeadCells_EE, v_enNeighboursGap_EB, and v_enNeighboursGap_EE.
|
private |
Definition at line 82 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 82 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 82 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 82 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 104 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 94 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 73 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 95 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 74 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 103 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 85 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
private |
Definition at line 86 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
private |
Definition at line 76 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
private |
Definition at line 84 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 84 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 84 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 84 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 71 of file EcalDeadCellBoundaryEnergyFilter.cc.
|
private |
Definition at line 100 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 101 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 99 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 99 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 97 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 80 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 79 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 77 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by filter().
|
private |
Definition at line 91 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 92 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 88 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().
|
private |
Definition at line 89 of file EcalDeadCellBoundaryEnergyFilter.cc.
Referenced by EcalDeadCellBoundaryEnergyFilter(), and filter().