ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
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
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 "
eflowFirstInt.h
"
20
#include "
eflowCaloRegions.h
"
21
//C++ Headers
22
#include <vector>
23
27
class
eflowFirstIntParameters
:
public
eflowFirstInt
{
28
29
public
:
30
31
eflowFirstIntParameters
();
32
~eflowFirstIntParameters
() {}
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
bin2
Definition
KillBinsByStrip.h:34
eflowFirstIntParameters
Extends eflowFirstInt to include parameters of the fits to radial shower profiles.
Definition
eflowFirstIntParameters.h:27
eflowFirstIntParameters::m_nShapeParams
static const int m_nShapeParams
Definition
eflowFirstIntParameters.h:51
eflowFirstIntParameters::getShapeParameter
double getShapeParameter(eflowCaloENUM layer, int paramIndex) const
Definition
eflowFirstIntParameters.h:37
eflowFirstIntParameters::nShapeParams
static int nShapeParams()
Definition
eflowFirstIntParameters.h:42
eflowFirstIntParameters::eflowFirstIntParameters
eflowFirstIntParameters()
Definition
eflowFirstIntParameters.cxx:22
eflowFirstIntParameters::getWeightedParameters
bool getWeightedParameters(const eflowFirstIntParameters *bin1, const eflowFirstIntParameters *bin2, const double w1)
Definition
eflowFirstIntParameters.cxx:30
eflowFirstIntParameters::setShapeParameters
void setShapeParameters(eflowCaloENUM layer, const std::vector< double > &p)
Definition
eflowFirstIntParameters.h:48
eflowFirstIntParameters::setShapeParameter
void setShapeParameter(eflowCaloENUM layer, int paramNumber, double shapeParam)
Definition
eflowFirstIntParameters.h:39
eflowFirstIntParameters::getShapeParameters
const std::vector< double > & getShapeParameters(eflowCaloENUM layer) const
Definition
eflowFirstIntParameters.h:36
eflowFirstIntParameters::~eflowFirstIntParameters
~eflowFirstIntParameters()
Definition
eflowFirstIntParameters.h:32
eflowFirstIntParameters::m_parameters
std::vector< std::vector< double > > m_parameters
Definition
eflowFirstIntParameters.h:52
eflowFirstInt::eflowFirstInt
eflowFirstInt()
Definition
eflowFirstInt.h:25
eflowCaloRegions.h
eflowCaloENUM
eflowCalo::LAYER eflowCaloENUM
Definition
eflowCaloRegions.h:49
eflowFirstInt.h
Generated on
for ATLAS Offline Software by
1.17.0