CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 17 of file EcalSeverityLevelService.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file EcalSeverityLevelService.h.

References algo_.

EcalSeverityLevelService::~EcalSeverityLevelService ( )
inline

Definition at line 25 of file EcalSeverityLevelService.h.

References algo_.

25 {delete algo_;}
EcalSeverityLevelAlgo * algo_

Member Function Documentation

const EcalSeverityLevelAlgo* EcalSeverityLevelService::getAlgorithm ( ) const
inline

Definition at line 48 of file EcalSeverityLevelService.h.

References algo_.

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

Definition at line 29 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

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

Definition at line 34 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

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

Definition at line 42 of file EcalSeverityLevelService.h.

References algo_, and EcalSeverityLevelAlgo::severityLevel().

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

Member Data Documentation

EcalSeverityLevelAlgo* EcalSeverityLevelService::algo_
private