ATLAS Offline Software
Public Member Functions | List of all members
RIO_OnTrackErrorScalingKit Class Referenceabstract

#include <RIO_OnTrackErrorScalingKit.h>

Inheritance diagram for RIO_OnTrackErrorScalingKit:
Collaboration diagram for RIO_OnTrackErrorScalingKit:

Public Member Functions

virtual ~RIO_OnTrackErrorScalingKit ()
 
virtual unsigned int nParametres () const =0
 
virtual const char *constparamNames () const =0
 
virtual size_t getParamIndex (const std::string &name) const
 
virtual std::unique_ptr< RIO_OnTrackErrorScalingcreate () const =0
 

Detailed Description

Definition at line 11 of file RIO_OnTrackErrorScalingKit.h.

Constructor & Destructor Documentation

◆ ~RIO_OnTrackErrorScalingKit()

virtual RIO_OnTrackErrorScalingKit::~RIO_OnTrackErrorScalingKit ( )
inlinevirtual

Definition at line 14 of file RIO_OnTrackErrorScalingKit.h.

14 {}

Member Function Documentation

◆ create()

virtual std::unique_ptr<RIO_OnTrackErrorScaling> RIO_OnTrackErrorScalingKit::create ( ) const
pure virtual

◆ getParamIndex()

size_t RIO_OnTrackErrorScalingKit::getParamIndex ( const std::string &  name) const
virtual

Definition at line 6 of file RIO_OnTrackErrorScalingKit.cxx.

6  {
7  const char* const* param_names = paramNames();
8  for(size_t idx=0; idx<nParametres(); ++idx) {
9  if (strcmp(param_names[idx],name.c_str())==0) return idx;
10  }
11  std::stringstream message;
12  message << "RIO_OnTrackErrorScaling parameter " << name << " not found.";
13  throw std::runtime_error(message.str());
14  return nParametres();
15 }

◆ nParametres()

virtual unsigned int RIO_OnTrackErrorScalingKit::nParametres ( ) const
pure virtual

◆ paramNames()

virtual const char* const* RIO_OnTrackErrorScalingKit::paramNames ( ) const
pure virtual

The documentation for this class was generated from the following files:
RIO_OnTrackErrorScalingKit::nParametres
virtual unsigned int nParametres() const =0
ReweightUtils.message
message
Definition: ReweightUtils.py:15
RIO_OnTrackErrorScalingKit::paramNames
virtual const char *const * paramNames() const =0
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69