ATLAS Offline Software
Loading...
Searching...
No Matches
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
10NAME: eflowFirstIntParameters.h
11PACKAGE: offline/Reconstruction/eflowRec
12
13AUTHORS: M.Hodgkinson, R Duxfield (based on R.Duxfields Root package)
14CREATED: 18th Aug, 2005
15
16********************************************************************/
17
18//Athena Headers
21//C++ Headers
22#include <vector>
23#include <istream>
24
29
30 public:
31
34
35 bool getWeightedParameters(const eflowFirstIntParameters* bin1, const eflowFirstIntParameters* bin2, const double w1);
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
Extends eflowFirstInt to include parameters of the fits to radial shower profiles.
double getShapeParameter(eflowCaloENUM layer, int paramIndex) const
bool getWeightedParameters(const eflowFirstIntParameters *bin1, const eflowFirstIntParameters *bin2, const double w1)
void setShapeParameters(eflowCaloENUM layer, const std::vector< double > &p)
void setShapeParameter(eflowCaloENUM layer, int paramNumber, double shapeParam)
const std::vector< double > & getShapeParameters(eflowCaloENUM layer) const
std::vector< std::vector< double > > m_parameters
eflowCalo::LAYER eflowCaloENUM