ATLAS Offline Software
eflowFirstIntParameters.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EFLOWFIRSTINTPARAMETRS_H
6 #define EFLOWFIRSTINTPARAMETRS_H
7 
8 /********************************************************************
9 
10 NAME: eflowFirstIntParameters.h
11 PACKAGE: offline/Reconstruction/eflowRec
12 
13 AUTHORS: M.Hodgkinson, R Duxfield (based on R.Duxfields Root package)
14 CREATED: 18th Aug, 2005
15 
16 ********************************************************************/
17 
18 //Athena Headers
19 #include "eflowRec/eflowFirstInt.h"
21 //C++ Headers
22 #include <vector>
23 #include <istream>
24 
29 
30  public:
31 
34 
36 
37  const std::vector<double>& getShapeParameters(eflowCaloENUM layer) const {return m_parameters[layer];}
38  double getShapeParameter(eflowCaloENUM layer, int paramIndex) const {return m_parameters[layer][paramIndex];}
39 
40  void setShapeParameter(eflowCaloENUM layer, int paramNumber, double shapeParam) {m_parameters[layer][paramNumber] = shapeParam;}
41 
42  //TEMPORARY accessor to m_parameters
43  static int nShapeParams() {
44  return m_nShapeParams;
45  }
46 
47  private:
48 
49  void setShapeParameters(eflowCaloENUM layer, const std::vector<double>& p) {m_parameters[layer] = p;}
50 
51  private:
52  static const int m_nShapeParams;
53  std::vector< std::vector<double> > m_parameters;
54 
55 };
56 #endif
eflowCaloRegions.h
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
eflowFirstIntParameters::setShapeParameter
void setShapeParameter(eflowCaloENUM layer, int paramNumber, double shapeParam)
Definition: eflowFirstIntParameters.h:48
eflowFirstInt
This object holds the expected energy deposit of a track and the known width of that distribution.
Definition: eflowFirstInt.h:23
eflowFirstIntParameters::nShapeParams
static int nShapeParams()
Definition: eflowFirstIntParameters.h:51
eflowFirstIntParameters::getWeightedParameters
bool getWeightedParameters(const eflowFirstIntParameters *bin1, const eflowFirstIntParameters *bin2, const double w1)
Definition: eflowFirstIntParameters.cxx:31
eflowFirstIntParameters::m_parameters
std::vector< std::vector< double > > m_parameters
Definition: eflowFirstIntParameters.h:61
eflowFirstIntParameters::eflowFirstIntParameters
eflowFirstIntParameters()
Definition: eflowFirstIntParameters.cxx:23
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
eflowFirstIntParameters::getShapeParameters
const std::vector< double > & getShapeParameters(eflowCaloENUM layer) const
Definition: eflowFirstIntParameters.h:45
eflowFirstIntParameters::m_nShapeParams
static const int m_nShapeParams
Definition: eflowFirstIntParameters.h:60
bin2
Definition: KillBinsByStrip.h:34
eflowFirstIntParameters::~eflowFirstIntParameters
~eflowFirstIntParameters()
Definition: eflowFirstIntParameters.h:41
eflowCalo::LAYER
LAYER
Definition: eflowCaloRegions.h:36
dqt_zlumi_pandas.bin1
bin1
Definition: dqt_zlumi_pandas.py:329
eflowFirstIntParameters::getShapeParameter
double getShapeParameter(eflowCaloENUM layer, int paramIndex) const
Definition: eflowFirstIntParameters.h:46
eflowFirstIntParameters::setShapeParameters
void setShapeParameters(eflowCaloENUM layer, const std::vector< double > &p)
Definition: eflowFirstIntParameters.h:57
eflowFirstIntParameters
Extends eflowFirstInt to include parameters of the fits to radial shower profiles.
Definition: eflowFirstIntParameters.h:28
eflowFirstInt.h