ATLAS Offline Software
Loading...
Searching...
No Matches
RIO_OnTrackErrorScaling.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4/* Dear emacs, this is -*-c++-*- */
5#ifndef _RIO_OnTrackErrorScaling_H_
6#define _RIO_OnTrackErrorScaling_H_
7
8#include <vector>
10
12
14{
15public:
16 enum Type {
17 Pixel = 0,
18 SCT = 1,
19 TRT = 2,
22 };
25
26 // CLID of the actual implementation
27 virtual CLID clid() const;
28
29 std::vector<std::vector<double> > &params() { return m_params; }
30 const std::vector<std::vector<double> > &params() const { return m_params; }
31
32 virtual bool postProcess() { return true; }
33
34 virtual Type type() const {return Unknown;}
35
42 void checkParameters(const char *label, unsigned int n_paramter_sets,
43 const char *const *param_names,
44 unsigned int n_paramters) const;
45
46private:
47 std::vector<std::vector<double> > m_params;
48};
49
50CLASS_DEF( RIO_OnTrackErrorScaling, 167367682 , 1 )
51
52#include "AthenaKernel/CondCont.h"
54
55
56#endif
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
uint32_t CLID
The Class ID type.
#define protected
void checkParameters(const char *label, unsigned int n_paramter_sets, const char *const *param_names, unsigned int n_paramters) const
Convenience function to check whether the number of parameters is correct.
std::vector< std::vector< double > > & params()
std::vector< std::vector< double > > m_params
const std::vector< std::vector< double > > & params() const
virtual ~RIO_OnTrackErrorScaling()
std::string label(const std::string &format, int i)
Definition label.h:19
Definition HitInfo.h:33