CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EcalSeverityLevelService Class Reference

A service to retrieve to provide a hook to EcalSeverityLevelAlgo. More...

#include <EcalSeverityLevelService.h>

Public Member Functions

 EcalSeverityLevelService (const edm::ParameterSet &p, edm::ActivityRegistry &r)
 
const EcalSeverityLevelAlgogetAlgorithm () const
 
EcalSeverityLevelAlgo::EcalSeverityLevel severityLevel (const EcalRecHit &rh) const
 
EcalSeverityLevelAlgo::EcalSeverityLevel severityLevel (const DetId &id, const EcalRecHitCollection &rhs, const edm::EventSetup &es) const
 
EcalSeverityLevelAlgo::EcalSeverityLevel severityLevel (const DetId &id, const EcalRecHitCollection &rhs, const EcalChannelStatus &chs) const
 
 ~EcalSeverityLevelService ()
 

Private Attributes

EcalSeverityLevelAlgoalgo_
 

Detailed Description

A service to retrieve to provide a hook to EcalSeverityLevelAlgo.

Definition at line 16 of file EcalSeverityLevelService.h.

Constructor & Destructor Documentation

EcalSeverityLevelService::EcalSeverityLevelService ( const edm::ParameterSet p,
edm::ActivityRegistry r 
)
inline

Definition at line 19 of file EcalSeverityLevelService.h.

References algo_.

EcalSeverityLevelService::~EcalSeverityLevelService ( )
inline

Definition at line 24 of file EcalSeverityLevelService.h.

References algo_.

24 {delete algo_;}
EcalSeverityLevelAlgo * algo_

Member Function Documentation

const EcalSeverityLevelAlgo* EcalSeverityLevelService::getAlgorithm ( ) const
inline

Definition at line 47 of file EcalSeverityLevelService.h.

References algo_.

47 {return algo_;}
EcalSeverityLevelAlgo * algo_
EcalSeverityLevelAlgo::EcalSeverityLevel EcalSeverityLevelService::severityLevel ( const EcalRecHit rh) const
inline

Definition at line 28 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

28  {
29  return algo_->severityLevel(rh);
30  }
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
EcalSeverityLevelAlgo * algo_
EcalSeverityLevelAlgo::EcalSeverityLevel EcalSeverityLevelService::severityLevel ( const DetId id,
const EcalRecHitCollection rhs,
const edm::EventSetup es 
) const
inline

Definition at line 33 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

35  {
36  return algo_->severityLevel(id,rhs,es);
37  }
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
EcalSeverityLevelAlgo * algo_
EcalSeverityLevelAlgo::EcalSeverityLevel EcalSeverityLevelService::severityLevel ( const DetId id,
const EcalRecHitCollection rhs,
const EcalChannelStatus chs 
) const
inline

Definition at line 41 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

43  {
44  return algo_->severityLevel(id,rhs,chs);
45  }
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
EcalSeverityLevelAlgo * algo_

Member Data Documentation

EcalSeverityLevelAlgo* EcalSeverityLevelService::algo_
private