CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
PFRecHitQTestThreshold Class Reference

#include <PFRecHitQTests.h>

Inheritance diagram for PFRecHitQTestThreshold:
PFRecHitQTestBase

Public Member Functions

void beginEvent (const edm::Event &event, const edm::EventSetup &iSetup) override
 
 PFRecHitQTestThreshold ()
 
 PFRecHitQTestThreshold (const edm::ParameterSet &iConfig)
 
bool test (reco::PFRecHit &hit, const EcalRecHit &rh, bool &clean, bool fullReadOut) override
 
bool test (reco::PFRecHit &hit, const HBHERecHit &rh, bool &clean) override
 
bool test (reco::PFRecHit &hit, const HFRecHit &rh, bool &clean) override
 
bool test (reco::PFRecHit &hit, const HORecHit &rh, bool &clean) override
 
bool test (reco::PFRecHit &hit, const CaloTower &rh, bool &clean) override
 
bool test (reco::PFRecHit &hit, const HGCRecHit &rh, bool &clean) override
 
- Public Member Functions inherited from PFRecHitQTestBase
 PFRecHitQTestBase ()=default
 
 PFRecHitQTestBase (const edm::ParameterSet &iConfig)
 
virtual ~PFRecHitQTestBase ()=default
 

Protected Member Functions

bool pass (const reco::PFRecHit &hit)
 

Protected Attributes

double threshold_
 

Detailed Description

Definition at line 18 of file PFRecHitQTests.h.

Constructor & Destructor Documentation

PFRecHitQTestThreshold::PFRecHitQTestThreshold ( )
inline

Definition at line 20 of file PFRecHitQTests.h.

20 {}
PFRecHitQTestThreshold::PFRecHitQTestThreshold ( const edm::ParameterSet iConfig)
inline

Definition at line 22 of file PFRecHitQTests.h.

23  : PFRecHitQTestBase(iConfig), threshold_(iConfig.getParameter<double>("threshold")) {}
T getParameter(std::string const &) const
PFRecHitQTestBase()=default

Member Function Documentation

void PFRecHitQTestThreshold::beginEvent ( const edm::Event event,
const edm::EventSetup iSetup 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 25 of file PFRecHitQTests.h.

25 {}
bool PFRecHitQTestThreshold::pass ( const reco::PFRecHit hit)
inlineprotected
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const EcalRecHit rh,
bool &  clean,
bool  fullReadOut 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 27 of file PFRecHitQTests.h.

References or, and pass().

Referenced by PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALTimeVsDepth::test(), and PFRecHitQTestHCALThresholdVsDepth::test().

27  {
28  return fullReadOut or pass(hit);
29  }
bool pass(const reco::PFRecHit &hit)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const HBHERecHit rh,
bool &  clean 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 30 of file PFRecHitQTests.h.

References pass().

30 { return pass(hit); }
bool pass(const reco::PFRecHit &hit)
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const HFRecHit rh,
bool &  clean 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 32 of file PFRecHitQTests.h.

References pass().

32 { return pass(hit); }
bool pass(const reco::PFRecHit &hit)
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const HORecHit rh,
bool &  clean 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 33 of file PFRecHitQTests.h.

References pass().

33 { return pass(hit); }
bool pass(const reco::PFRecHit &hit)
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const CaloTower rh,
bool &  clean 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 35 of file PFRecHitQTests.h.

References pass().

35 { return pass(hit); }
bool pass(const reco::PFRecHit &hit)
bool PFRecHitQTestThreshold::test ( reco::PFRecHit hit,
const HGCRecHit rh,
bool &  clean 
)
inlineoverridevirtual

Implements PFRecHitQTestBase.

Definition at line 37 of file PFRecHitQTests.h.

References pass().

37 { return pass(hit); }
bool pass(const reco::PFRecHit &hit)

Member Data Documentation

double PFRecHitQTestThreshold::threshold_
protected