ATLAS Offline Software
Loading...
Searching...
No Matches
eflowFirstIntParameters.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EFLOWREC_EFLOWFIRSTINTPARAMETRS_H
6#define EFLOWREC_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
19#include "eflowFirstInt.h"
20#include "eflowCaloRegions.h"
21//C++ Headers
22#include <vector>
23
28
29 public:
30
33
34 bool getWeightedParameters(const eflowFirstIntParameters* bin1, const eflowFirstIntParameters* bin2, const double w1);
35
36 const std::vector<double>& getShapeParameters(eflowCaloENUM layer) const {return m_parameters[layer];}
37 double getShapeParameter(eflowCaloENUM layer, int paramIndex) const {return m_parameters[layer][paramIndex];}
38
39 void setShapeParameter(eflowCaloENUM layer, int paramNumber, double shapeParam) {m_parameters[layer][paramNumber] = shapeParam;}
40
41 //TEMPORARY accessor to m_parameters
42 static int nShapeParams() {
43 return m_nShapeParams;
44 }
45
46 private:
47
48 void setShapeParameters(eflowCaloENUM layer, const std::vector<double>& p) {m_parameters[layer] = p;}
49
50 private:
51 static const int m_nShapeParams;
52 std::vector< std::vector<double> > m_parameters;
53
54};
55#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