ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSLateralShapeParametrization.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TFCSLateralShapeParametrization_h
6
#define TFCSLateralShapeParametrization_h
7
8
#include "
ISF_FastCaloSimEvent/TFCSParametrization.h
"
9
10
class
TFCSLateralShapeParametrization
:
public
TFCSParametrization
{
11
public
:
12
TFCSLateralShapeParametrization
(
const
char
*
name
=
nullptr
,
13
const
char
*
title
=
nullptr
);
14
15
bool
is_match_Ekin_bin
(
int
bin
)
const override
{
16
if
(
Ekin_bin
() == -1)
17
return
true
;
18
return
bin
==
Ekin_bin
();
19
};
20
bool
is_match_calosample
(
int
calosample
)
const override
{
21
return
calosample
==
m_calosample
;
22
};
23
24
virtual
bool
is_match_all_Ekin_bin
()
const override
{
25
if
(
Ekin_bin
() == -1)
26
return
true
;
27
return
false
;
28
};
29
virtual
bool
is_match_all_calosample
()
const override
{
return
false
; };
30
31
int
Ekin_bin
()
const
{
return
m_Ekin_bin
; };
32
void
set_Ekin_bin
(
int
bin
);
33
34
int
calosample
()
const
{
return
m_calosample
; };
35
void
set_calosample
(
int
cs);
36
37
virtual
void
set_pdgid_Ekin_eta_Ekin_bin_calosample
(
38
const
TFCSLateralShapeParametrization
&
ref
);
39
40
void
Print
(Option_t *option =
""
)
const override
;
41
42
protected
:
43
bool
compare
(
const
TFCSParametrizationBase
&
ref
)
const
;
44
45
private
:
46
int
m_Ekin_bin
;
47
int
m_calosample
;
48
49
ClassDefOverride(
TFCSLateralShapeParametrization
,
50
1)
// TFCSLateralShapeParametrization
51
};
52
53
#endif
TFCSLateralShapeParametrization::set_pdgid_Ekin_eta_Ekin_bin_calosample
virtual void set_pdgid_Ekin_eta_Ekin_bin_calosample(const TFCSLateralShapeParametrization &ref)
Definition:
TFCSLateralShapeParametrization.cxx:25
TFCSLateralShapeParametrization::Ekin_bin
int Ekin_bin() const
Definition:
TFCSLateralShapeParametrization.h:31
TFCSLateralShapeParametrization::m_Ekin_bin
int m_Ekin_bin
Definition:
TFCSLateralShapeParametrization.h:46
TFCSLateralShapeParametrization::is_match_calosample
bool is_match_calosample(int calosample) const override
Definition:
TFCSLateralShapeParametrization.h:20
TFCSLateralShapeParametrization::Print
void Print(Option_t *option="") const override
Definition:
TFCSLateralShapeParametrization.cxx:53
bin
Definition:
BinsDiffFromStripMedian.h:43
TFCSLateralShapeParametrization::TFCSLateralShapeParametrization
TFCSLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)
Definition:
TFCSLateralShapeParametrization.cxx:13
TFCSParametrizationBase
Definition:
TFCSParametrizationBase.h:46
TFCSLateralShapeParametrization::set_calosample
void set_calosample(int cs)
Definition:
TFCSLateralShapeParametrization.cxx:21
TFCSParametrization.h
TFCSLateralShapeParametrization::set_Ekin_bin
void set_Ekin_bin(int bin)
Definition:
TFCSLateralShapeParametrization.cxx:17
covarianceTool.title
title
Definition:
covarianceTool.py:542
TFCSParametrization
Definition:
TFCSParametrization.h:10
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TFCSLateralShapeParametrization::is_match_Ekin_bin
bool is_match_Ekin_bin(int bin) const override
Definition:
TFCSLateralShapeParametrization.h:15
TFCSLateralShapeParametrization::compare
bool compare(const TFCSParametrizationBase &ref) const
Definition:
TFCSLateralShapeParametrization.cxx:32
TFCSLateralShapeParametrization::calosample
int calosample() const
Definition:
TFCSLateralShapeParametrization.h:34
ref
const boost::regex ref(r_ef)
TFCSLateralShapeParametrization::is_match_all_calosample
virtual bool is_match_all_calosample() const override
Definition:
TFCSLateralShapeParametrization.h:29
TFCSLateralShapeParametrization
Definition:
TFCSLateralShapeParametrization.h:10
TFCSLateralShapeParametrization::m_calosample
int m_calosample
Definition:
TFCSLateralShapeParametrization.h:47
TFCSLateralShapeParametrization::is_match_all_Ekin_bin
virtual bool is_match_all_Ekin_bin() const override
Definition:
TFCSLateralShapeParametrization.h:24
Generated on Sun Dec 22 2024 21:19:17 for ATLAS Offline Software by
1.8.18