ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSHistoLateralShapeParametrizationFCal Class Reference

#include <TFCSHistoLateralShapeParametrizationFCal.h>

Inheritance diagram for TFCSHistoLateralShapeParametrizationFCal:
Collaboration diagram for TFCSHistoLateralShapeParametrizationFCal:

Public Types

enum  FCSStatusBits { k_phi_symmetric = }
 Status bit for FCS needs. More...
typedef std::map< TFCSParametrizationBase *, Duplicate_tFindDuplicates_t
typedef std::map< std::string, FindDuplicates_tFindDuplicateClasses_t

Public Member Functions

 TFCSHistoLateralShapeParametrizationFCal (const char *name=nullptr, const char *title=nullptr)
 ~TFCSHistoLateralShapeParametrizationFCal ()
virtual FCSReturnCode simulate_hit (Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
 simulated one hit position with weight that should be put into simulstate sometime later all hit weights should be resacled such that their final sum is simulstate->E(sample) someone also needs to map all hits into cells
virtual void set_geometry (ICaloGeometry *geo) override
 will actually not store the geometry information, but rather used to check the validity of the 2D shape histogram
bool is_phi_symmetric () const
virtual void set_phi_symmetric ()
virtual void reset_phi_symmetric ()
void set_number_of_hits (float nhits)
 set the integral of the histogram to the desired number of hits
float get_number_of_expected_hits () const
void set_r_offset (float r_offset)
 set an offset in r on the simulated histogram
float r_offset () const
void set_r_scale (float r_scale)
 set an scale factor for r on the simulated histogram
float r_scale () const
virtual double get_sigma2_fluctuation (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
 default for this class is to simulate get_number_of_expected_hits() hits, which gives fluctuations sigma^2=1/get_number_of_expected_hits()
virtual int get_number_of_hits (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
 default for this class is to simulate get_number_of_expected_hits() hits
bool Initialize (TH2 *hist)
 Init from histogram.
bool Initialize (const char *filepath, const char *histname)
TFCS2DFunctionHistogramhistogram ()
const TFCS2DFunctionHistogramhistogram () const
void Print (Option_t *option="") const override
virtual float get_E_hit (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
 Get hit energy from layer energy and number of hits.
virtual float getMinWeight () const
 Get minimum and maximum value of weight for hit energy reweighting.
virtual float getMaxWeight () const
bool is_match_Ekin_bin (int bin) const override
bool is_match_calosample (int calosample) const override
virtual bool is_match_all_Ekin_bin () const override
virtual bool is_match_all_calosample () const override
int Ekin_bin () const
void set_Ekin_bin (int bin)
int calosample () const
void set_calosample (int cs)
virtual void set_pdgid_Ekin_eta_Ekin_bin_calosample (const TFCSLateralShapeParametrization &ref)
void clear ()
virtual bool is_match_pdgid (int id) const override
virtual bool is_match_Ekin (float Ekin) const override
virtual bool is_match_eta (float eta) const override
virtual bool is_match_all_Ekin () const override
virtual bool is_match_all_eta () const override
const std::set< int > & pdgid () const override
double Ekin_nominal () const override
double Ekin_min () const override
double Ekin_max () const override
double eta_nominal () const override
double eta_min () const override
double eta_max () const override
virtual void set_pdgid (int id)
virtual void set_pdgid (const std::set< int > &ids)
virtual void add_pdgid (int id)
virtual void clear_pdgid ()
virtual void set_Ekin_nominal (double min)
virtual void set_Ekin_min (double min)
virtual void set_Ekin_max (double max)
virtual void set_eta_nominal (double min)
virtual void set_eta_min (double min)
virtual void set_eta_max (double max)
virtual void set_Ekin (const TFCSParametrizationBase &ref)
virtual void set_eta (const TFCSParametrizationBase &ref)
virtual void set_Ekin_eta (const TFCSParametrizationBase &ref)
virtual void set_pdgid_Ekin_eta (const TFCSParametrizationBase &ref)
virtual bool is_match_all_pdgid () const
virtual void set_match_all_pdgid ()
virtual void reset_match_all_pdgid ()
virtual unsigned int size () const
 Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
virtual const TFCSParametrizationBaseoperator[] (unsigned int) const
 Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
virtual TFCSParametrizationBaseoperator[] (unsigned int)
 Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
virtual void set_daughter (unsigned int, TFCSParametrizationBase *)
 Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter method allows to change these daughters - expert use only!
virtual bool operator== (const TFCSParametrizationBase &ref) const
 The == operator compares the content of instances.
virtual FCSReturnCode simulate (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
 Method in all derived classes to do some simulation.
virtual void CleanAuxInfo (TFCSSimulationState &) const
 Method in all derived classes to delete objects stored in the simulstate AuxInfo.
void FindDuplicates (FindDuplicateClasses_t &dup)
void RemoveDuplicates ()
void RemoveNameTitle ()
bool msgLvl (const MSG::Level lvl) const
 Check whether the logging system is active at the provided verbosity level.
MsgStream & msg () const
 Return a stream for sending messages directly (no decoration)
MsgStream & msg (const MSG::Level lvl) const
 Return a decorated starting stream for sending messages.
MSG::Level level () const
 Retrieve output level.
virtual void setLevel (MSG::Level lvl)
 Update outputlevel.

Static Public Member Functions

static std::string startMsg (MSG::Level lvl, const std::string &file, int line)
 Make a message to decorate the start of logging.

Protected Member Functions

bool compare (const TFCSParametrizationBase &ref) const

Protected Attributes

TFCS2DFunctionHistogram m_hist
 Histogram to be used for the shape simulation.
float m_nhits
float m_r_offset
float m_r_scale

Static Protected Attributes

static constexpr double init_Ekin_nominal = 0
static constexpr double init_Ekin_min = 0
 Do not persistify!
static constexpr double init_Ekin_max = 14000000
 Do not persistify!
static constexpr double init_eta_nominal = 0
 Do not persistify!
static constexpr double init_eta_min = -100
 Do not persistify!
static constexpr double init_eta_max = 100
 Do not persistify!

Private Attributes

int m_Ekin_bin
int m_calosample
std::set< int > m_pdgid
double m_Ekin_nominal
double m_Ekin_min
double m_Ekin_max
double m_eta_nominal
double m_eta_min
double m_eta_max
std::string m_nm
 Message source name.

Static Private Attributes

static boost::thread_specific_ptr< MsgStream > m_msg_tls ATLAS_THREAD_SAFE
 Do not persistify!

Detailed Description

Definition at line 14 of file TFCSHistoLateralShapeParametrizationFCal.h.

Member Typedef Documentation

◆ FindDuplicateClasses_t

typedef std::map<std::string, FindDuplicates_t> TFCSParametrizationBase::FindDuplicateClasses_t
inherited

Definition at line 142 of file TFCSParametrizationBase.h.

◆ FindDuplicates_t

Member Enumeration Documentation

◆ FCSStatusBits

Status bit for FCS needs.

Enumerator
k_phi_symmetric 

Set this bit to simulate phi symmetric histograms.

Definition at line 27 of file TFCSHistoLateralShapeParametrization.h.

27 {
29 BIT(15)
30 };
@ k_phi_symmetric
Set this bit to simulate phi symmetric histograms.

Constructor & Destructor Documentation

◆ TFCSHistoLateralShapeParametrizationFCal()

TFCSHistoLateralShapeParametrizationFCal::TFCSHistoLateralShapeParametrizationFCal ( const char * name = nullptr,
const char * title = nullptr )

Definition at line 21 of file TFCSHistoLateralShapeParametrizationFCal.cxx.

TFCSHistoLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)

◆ ~TFCSHistoLateralShapeParametrizationFCal()

TFCSHistoLateralShapeParametrizationFCal::~TFCSHistoLateralShapeParametrizationFCal ( )

Definition at line 26 of file TFCSHistoLateralShapeParametrizationFCal.cxx.

27{}

Member Function Documentation

◆ add_pdgid()

void TFCSParametrization::add_pdgid ( int id)
virtualinherited

Reimplemented in TFCSEnergyBinParametrization.

Definition at line 35 of file TFCSParametrization.cxx.

35{ m_pdgid.insert(id); }

◆ calosample()

int TFCSLateralShapeParametrization::calosample ( ) const
inlineinherited

◆ CleanAuxInfo()

virtual void TFCSParametrizationBase::CleanAuxInfo ( TFCSSimulationState & ) const
inlinevirtualinherited

Method in all derived classes to delete objects stored in the simulstate AuxInfo.

Definition at line 130 of file TFCSParametrizationBase.h.

130{};

◆ clear()

void TFCSParametrization::clear ( )
inherited

Definition at line 18 of file TFCSParametrization.cxx.

18 {
19 m_pdgid.clear();
26}
static constexpr double init_Ekin_nominal
static constexpr double init_eta_max
Do not persistify!
static constexpr double init_Ekin_max
Do not persistify!
static constexpr double init_eta_nominal
Do not persistify!
static constexpr double init_eta_min
Do not persistify!
static constexpr double init_Ekin_min
Do not persistify!

◆ clear_pdgid()

void TFCSParametrization::clear_pdgid ( )
virtualinherited

Reimplemented in TFCSEnergyBinParametrization.

Definition at line 37 of file TFCSParametrization.cxx.

37{ m_pdgid.clear(); }

◆ compare()

bool TFCSLateralShapeParametrization::compare ( const TFCSParametrizationBase & ref) const
protectedinherited

Definition at line 32 of file TFCSLateralShapeParametrization.cxx.

33 {
34 if (IsA() != ref.IsA()) {
35 ATH_MSG_DEBUG("compare(): different class types "
36 << IsA()->GetName() << " != " << ref.IsA()->GetName());
37 return false;
38 }
39 const TFCSLateralShapeParametrization &ref_typed =
40 static_cast<const TFCSLateralShapeParametrization &>(ref);
41 if (Ekin_bin() != ref_typed.Ekin_bin()) {
42 ATH_MSG_DEBUG("compare(): different Ekin bin");
43 return false;
44 }
45 if (calosample() != ref_typed.calosample()) {
46 ATH_MSG_DEBUG("compare(): different calosample");
47 return false;
48 }
49
50 return true;
51}
const boost::regex ref(r_ef)
#define ATH_MSG_DEBUG(x)
TFCSLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)
#define IsA
Declare the TObject style functions.

◆ Ekin_bin()

int TFCSLateralShapeParametrization::Ekin_bin ( ) const
inlineinherited

◆ Ekin_max()

double TFCSParametrization::Ekin_max ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 37 of file TFCSParametrization.h.

37{ return m_Ekin_max; };

◆ Ekin_min()

double TFCSParametrization::Ekin_min ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 36 of file TFCSParametrization.h.

36{ return m_Ekin_min; };

◆ Ekin_nominal()

double TFCSParametrization::Ekin_nominal ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 35 of file TFCSParametrization.h.

35{ return m_Ekin_nominal; };

◆ eta_max()

double TFCSParametrization::eta_max ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 40 of file TFCSParametrization.h.

40{ return m_eta_max; };

◆ eta_min()

double TFCSParametrization::eta_min ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 39 of file TFCSParametrization.h.

39{ return m_eta_min; };

◆ eta_nominal()

double TFCSParametrization::eta_nominal ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 38 of file TFCSParametrization.h.

38{ return m_eta_nominal; };

◆ FindDuplicates()

void TFCSParametrizationBase::FindDuplicates ( FindDuplicateClasses_t & dup)
inherited

Definition at line 90 of file TFCSParametrizationBase.cxx.

91 {
92
93 for (unsigned int i = 0; i < size(); ++i)
94 if ((*this)[i]) {
95 TFCSParametrizationBase *param = (*this)[i];
96 FindDuplicates_t &dup = dupclasses[param->GetName()];
97 // If param is already in the duplication list, skip over
98 auto checkexist = dup.find(param);
99 if (checkexist != dup.end()) {
100 ATH_MSG_WARNING(" [TFCSParametrizationBase::FindDuplicates] "
101 "DUPLICATE POINTER DETECTED");
102
103 ATH_MSG_WARNING(" - Pointer : " << param);
104 ATH_MSG_WARNING(" - Name : " << param->GetName());
105 ATH_MSG_WARNING(" - Class : " << param->ClassName());
106 ATH_MSG_WARNING(" - Occurs in parent : " << this
107 << " (" << this->ClassName() << ")"
108 << " index=" << i);
109
110 if (checkexist->second.replace) {
111 TFCSParametrizationBase *refparam = checkexist->second.replace;
112 ATH_MSG_DEBUG("Found duplicate pointer: "
113 << refparam << "=" << refparam->GetName()
114 << ", duplicate is " << param << "=" << param->GetName()
115 << " index " << i << " of " << this);
116 dup[refparam].mother.push_back(this);
117 dup[refparam].index.push_back(i);
118 }
119 continue;
120 }
121 // Add param to duplication list
122 dup[param] = Duplicate_t();
123 for (auto &ref : dup) {
124 TFCSParametrizationBase *refparam = ref.first;
125 // skip itself, as this just added above
126 if (param == refparam)
127 continue;
128 // skip nullptr reference
129 if (refparam == nullptr)
130 continue;
131 // skip reference that is itself going to get replaced
132 if (ref.second.replace)
133 continue;
134 // Check for objects with identical content
135 if (*param == *refparam) {
136 ATH_MSG_DEBUG("Found duplicate: "
137 << refparam << "=" << refparam->GetName()
138 << ", duplicate is " << param << "=" << param->GetName()
139 << " index " << i << " of " << this);
140
141 dup[param].replace = refparam;
142 dup[refparam].mother.push_back(this);
143 dup[refparam].index.push_back(i);
144 break;
145 }
146 }
147 // Continue for child objects in param
148 param->FindDuplicates(dupclasses);
149 }
150}
#define ATH_MSG_WARNING(x)
void FindDuplicates(FindDuplicateClasses_t &dup)
std::map< TFCSParametrizationBase *, Duplicate_t > FindDuplicates_t
virtual unsigned int size() const
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...
TFCSParametrizationBase(const char *name=nullptr, const char *title=nullptr)

◆ get_E_hit()

float TFCSLateralShapeParametrizationHitBase::get_E_hit ( TFCSSimulationState & simulstate,
const TFCSTruthState * truth,
const TFCSExtrapolationState * extrapol ) const
virtualinherited

Get hit energy from layer energy and number of hits.

Definition at line 31 of file TFCSLateralShapeParametrizationHitBase.cxx.

33 {
34 const int nhits = get_number_of_hits(simulstate, truth, extrapol);
35 const int sample = calosample();
36 if (nhits <= 0 || sample < 0)
37 return -1.;
38 else
39 return simulstate.E(sample) / nhits;
40}
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Call get_number_of_hits() only once per shower simulation, as it could be calculated with random numb...

◆ get_number_of_expected_hits()

float TFCSHistoLateralShapeParametrization::get_number_of_expected_hits ( ) const
inlineinherited

◆ get_number_of_hits()

int TFCSHistoLateralShapeParametrization::get_number_of_hits ( TFCSSimulationState & simulstate,
const TFCSTruthState * truth,
const TFCSExtrapolationState * extrapol ) const
overridevirtualinherited

default for this class is to simulate get_number_of_expected_hits() hits

Reimplemented from TFCSLateralShapeParametrizationHitBase.

Definition at line 88 of file TFCSHistoLateralShapeParametrization.cxx.

90 {
91 if (!simulstate.randomEngine()) {
92 return -1;
93 }
94
95 return CLHEP::RandPoisson::shoot(simulstate.randomEngine(), m_nhits);
96}
CLHEP::HepRandomEngine * randomEngine()

◆ get_sigma2_fluctuation()

double TFCSHistoLateralShapeParametrization::get_sigma2_fluctuation ( TFCSSimulationState & simulstate,
const TFCSTruthState * truth,
const TFCSExtrapolationState * extrapol ) const
overridevirtualinherited

default for this class is to simulate get_number_of_expected_hits() hits, which gives fluctuations sigma^2=1/get_number_of_expected_hits()

Reimplemented from TFCSLateralShapeParametrizationHitBase.

Definition at line 79 of file TFCSHistoLateralShapeParametrization.cxx.

81 {
82 // Limit to factor 1000 fluctuations
83 if (m_nhits < 0.001)
84 return 1000;
85 return 1.0 / m_nhits;
86}

◆ getMaxWeight()

float TFCSLateralShapeParametrizationHitBase::getMaxWeight ( ) const
virtualinherited

Reimplemented in TFCSHistoLateralShapeWeight.

Definition at line 46 of file TFCSLateralShapeParametrizationHitBase.cxx.

46 {
47 return -1.;
48}

◆ getMinWeight()

float TFCSLateralShapeParametrizationHitBase::getMinWeight ( ) const
virtualinherited

Get minimum and maximum value of weight for hit energy reweighting.

Reimplemented in TFCSHistoLateralShapeWeight.

Definition at line 42 of file TFCSLateralShapeParametrizationHitBase.cxx.

42 {
43 return -1.;
44}

◆ histogram() [1/2]

TFCS2DFunctionHistogram & TFCSHistoLateralShapeParametrization::histogram ( )
inlineinherited

Definition at line 79 of file TFCSHistoLateralShapeParametrization.h.

79{ return m_hist; };
TFCS2DFunctionHistogram m_hist
Histogram to be used for the shape simulation.

◆ histogram() [2/2]

const TFCS2DFunctionHistogram & TFCSHistoLateralShapeParametrization::histogram ( ) const
inlineinherited

Definition at line 80 of file TFCSHistoLateralShapeParametrization.h.

80{ return m_hist; };

◆ Initialize() [1/2]

bool TFCSHistoLateralShapeParametrization::Initialize ( const char * filepath,
const char * histname )
inherited

Definition at line 200 of file TFCSHistoLateralShapeParametrization.cxx.

201 {
202 // input file with histogram to fit
203 std::unique_ptr<TFile> inputfile(TFile::Open(filepath, "READ"));
204 if (inputfile == nullptr)
205 return false;
206
207 // histogram with hit pattern
208 TH2 *inputShape = (TH2 *)inputfile->Get(histname);
209 if (inputShape == nullptr)
210 return false;
211
212 bool OK = Initialize(inputShape);
213
214 inputfile->Close();
215
216 return OK;
217}

◆ Initialize() [2/2]

bool TFCSHistoLateralShapeParametrization::Initialize ( TH2 * hist)
inherited

Init from histogram.

The integral of the histogram is used as number of expected hits to be generated

Definition at line 188 of file TFCSHistoLateralShapeParametrization.cxx.

188 {
189 if (!hist)
190 return false;
191 m_hist.Initialize(hist);
192 if (m_hist.get_HistoContents().empty())
193 return false;
194
195 set_number_of_hits(hist->Integral());
196
197 return true;
198}
void set_number_of_hits(float nhits)
set the integral of the histogram to the desired number of hits

◆ is_match_all_calosample()

virtual bool TFCSLateralShapeParametrization::is_match_all_calosample ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrization.

Definition at line 29 of file TFCSLateralShapeParametrization.h.

29{ return false; };

◆ is_match_all_Ekin()

virtual bool TFCSParametrization::is_match_all_Ekin ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 25 of file TFCSParametrization.h.

25 {
26 return Ekin_min() == init_Ekin_min && Ekin_max() == init_Ekin_max;
27 };
double Ekin_min() const override
double Ekin_max() const override

◆ is_match_all_Ekin_bin()

virtual bool TFCSLateralShapeParametrization::is_match_all_Ekin_bin ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrization.

Definition at line 24 of file TFCSLateralShapeParametrization.h.

24 {
25 if (Ekin_bin() == -1)
26 return true;
27 return false;
28 };

◆ is_match_all_eta()

virtual bool TFCSParametrization::is_match_all_eta ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 28 of file TFCSParametrization.h.

28 {
29 return eta_min() == init_eta_min && eta_max() == init_eta_max;
30 };
double eta_max() const override
double eta_min() const override

◆ is_match_all_pdgid()

virtual bool TFCSParametrizationBase::is_match_all_pdgid ( ) const
inlinevirtualinherited

Definition at line 66 of file TFCSParametrizationBase.h.

66{ return TestBit(kMatchAllPDGID); };
@ kMatchAllPDGID
Set this bit in the TObject bit field if valid for all PDGID.

◆ is_match_calosample()

bool TFCSLateralShapeParametrization::is_match_calosample ( int calosample) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 20 of file TFCSLateralShapeParametrization.h.

20 {
21 return calosample == m_calosample;
22 };

◆ is_match_Ekin()

virtual bool TFCSParametrization::is_match_Ekin ( float Ekin) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 18 of file TFCSParametrization.h.

18 {
19 return (Ekin >= m_Ekin_min) && (Ekin < m_Ekin_max);
20 };

◆ is_match_Ekin_bin()

bool TFCSLateralShapeParametrization::is_match_Ekin_bin ( int bin) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 15 of file TFCSLateralShapeParametrization.h.

15 {
16 if (Ekin_bin() == -1)
17 return true;
18 return bin == Ekin_bin();
19 };

◆ is_match_eta()

virtual bool TFCSParametrization::is_match_eta ( float eta) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 21 of file TFCSParametrization.h.

21 {
22 return (eta >= m_eta_min) && (eta < m_eta_max);
23 };
Scalar eta() const
pseudorapidity method

◆ is_match_pdgid()

virtual bool TFCSParametrization::is_match_pdgid ( int id) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 15 of file TFCSParametrization.h.

15 {
16 return TestBit(kMatchAllPDGID) || m_pdgid.find(id) != m_pdgid.end();
17 };

◆ is_phi_symmetric()

bool TFCSHistoLateralShapeParametrization::is_phi_symmetric ( ) const
inlineinherited

Definition at line 36 of file TFCSHistoLateralShapeParametrization.h.

36{ return TestBit(k_phi_symmetric); };

◆ level()

MSG::Level ISF_FCS::MLogging::level ( ) const
inlineinherited

Retrieve output level.

Definition at line 201 of file MLogging.h.

201{ return msg().level(); }
MsgStream & msg() const
Return a stream for sending messages directly (no decoration)
Definition MLogging.h:231

◆ msg() [1/2]

MsgStream & ISF_FCS::MLogging::msg ( ) const
inlineinherited

Return a stream for sending messages directly (no decoration)

Definition at line 231 of file MLogging.h.

231 {
232 MsgStream *ms = m_msg_tls.get();
233 if (!ms) {
234 ms = new MsgStream(Athena::getMessageSvc(), m_nm);
235 m_msg_tls.reset(ms);
236 }
237 return *ms;
238}
std::string m_nm
Message source name.
Definition MLogging.h:211
IMessageSvc * getMessageSvc(bool quiet=false)

◆ msg() [2/2]

MsgStream & ISF_FCS::MLogging::msg ( const MSG::Level lvl) const
inlineinherited

Return a decorated starting stream for sending messages.

Definition at line 240 of file MLogging.h.

240 {
241 return msg() << lvl;
242}

◆ msgLvl()

bool ISF_FCS::MLogging::msgLvl ( const MSG::Level lvl) const
inlineinherited

Check whether the logging system is active at the provided verbosity level.

Definition at line 222 of file MLogging.h.

222 {
223 if (msg().level() <= lvl) {
224 msg() << lvl;
225 return true;
226 } else {
227 return false;
228 }
229}
MSG::Level level() const
Retrieve output level.
Definition MLogging.h:201

◆ operator==()

virtual bool TFCSParametrizationBase::operator== ( const TFCSParametrizationBase & ref) const
inlinevirtualinherited

The == operator compares the content of instances.

The implementation in the base class only returns true for a comparison with itself

Reimplemented in TFCSHitCellMapping, TFCSHitCellMappingWiggle, TFCSLateralShapeParametrizationHitNumberFromE, and TFCSPredictExtrapWeights.

Definition at line 119 of file TFCSParametrizationBase.h.

119 {
120 return compare(ref);
121 };
bool compare(const TFCSParametrizationBase &ref) const
Do not persistify!

◆ operator[]() [1/2]

virtual TFCSParametrizationBase * TFCSParametrizationBase::operator[] ( unsigned int )
inlinevirtualinherited

Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.

Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.

Definition at line 106 of file TFCSParametrizationBase.h.

106 {
107 return nullptr;
108 };

◆ operator[]() [2/2]

virtual const TFCSParametrizationBase * TFCSParametrizationBase::operator[] ( unsigned int ) const
inlinevirtualinherited

Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.

Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.

Definition at line 99 of file TFCSParametrizationBase.h.

99 {
100 return nullptr;
101 };

◆ pdgid()

const std::set< int > & TFCSParametrization::pdgid ( ) const
inlineoverridevirtualinherited

Reimplemented from TFCSParametrizationBase.

Definition at line 34 of file TFCSParametrization.h.

34{ return m_pdgid; };

◆ Print()

void TFCSHistoLateralShapeParametrization::Print ( Option_t * option = "") const
overrideinherited

Definition at line 219 of file TFCSHistoLateralShapeParametrization.cxx.

219 {
220 TString opt(option);
221 bool shortprint = opt.Index("short") >= 0;
222 bool longprint = msgLvl(MSG::DEBUG) || (msgLvl(MSG::INFO) && !shortprint);
223 TString optprint = opt;
224 optprint.ReplaceAll("short", "");
226
227 if (longprint) {
228 if (is_phi_symmetric()) {
229 ATH_MSG_INFO(optprint
230 << " Histo: " << m_hist.get_HistoBordersx().size() - 1
231 << "*" << m_hist.get_HistoBordersy().size() - 1
232 << " bins, #hits=" << m_nhits << ", r scale=" << m_r_scale
233 << ", r offset=" << m_r_offset << "mm (phi symmetric)");
234 } else {
235 ATH_MSG_INFO(optprint
236 << " Histo: " << m_hist.get_HistoBordersx().size() - 1
237 << "*" << m_hist.get_HistoBordersy().size() - 1
238 << " bins, #hits=" << m_nhits << ", r scale=" << m_r_scale
239 << ", r offset=" << m_r_offset << "mm (not phi symmetric)");
240 }
241 }
242}
#define ATH_MSG_INFO(x)
bool msgLvl(const MSG::Level lvl) const
Check whether the logging system is active at the provided verbosity level.
Definition MLogging.h:222
void Print(Option_t *option="") const override

◆ r_offset()

float TFCSHistoLateralShapeParametrization::r_offset ( ) const
inlineinherited

Definition at line 47 of file TFCSHistoLateralShapeParametrization.h.

47{ return m_r_offset; };

◆ r_scale()

float TFCSHistoLateralShapeParametrization::r_scale ( ) const
inlineinherited

Definition at line 51 of file TFCSHistoLateralShapeParametrization.h.

51{ return m_r_scale; };

◆ RemoveDuplicates()

void TFCSParametrizationBase::RemoveDuplicates ( )
inherited

Definition at line 152 of file TFCSParametrizationBase.cxx.

152 {
153 FindDuplicateClasses_t dupclasses;
154 FindDuplicates(dupclasses);
155
156 std::set<TFCSParametrizationBase *> dellist;
157 for (auto &dupiter : dupclasses) {
158 FindDuplicates_t &dup = dupiter.second;
159 for (auto onedup : dup) {
160 if (onedup.second.mother.empty())
161 continue;
162 TFCSParametrizationBase *ref = onedup.first;
163 ATH_MSG_DEBUG("Main object " << ref << "=" << ref->GetName());
164 for (unsigned int i = 0; i < onedup.second.mother.size(); ++i) {
165 int index = onedup.second.index[i];
166 TFCSParametrizationBase *mother = onedup.second.mother[i];
167 TFCSParametrizationBase *delparam = mother->operator[](index);
168 unsigned int delcount = dup[delparam].mother.size();
169 if (delcount == 0) {
170 ATH_MSG_DEBUG(" - Delete object "
171 << delparam << "=" << delparam->GetName() << " index "
172 << index << " of " << mother << ", has " << delcount
173 << " other replacements attached. Deleting");
174 mother->set_daughter(index, ref);
175 dellist.insert(delparam);
176 } else {
177 ATH_MSG_WARNING(" - Delete object "
178 << delparam << "=" << delparam->GetName() << " index "
179 << index << " of " << mother << ", has " << delcount
180 << " other replacements attached. Skipping");
181 }
182 }
183 }
184 }
185
186 ATH_MSG_INFO("RERUNNING DUPLICATE FINDING");
187 FindDuplicateClasses_t dupclasses2;
188 FindDuplicates(dupclasses2);
189
190 std::map<std::string, int> ndel;
191 for (auto *delparam : dellist) {
192 FindDuplicates_t &dup2 = dupclasses2[delparam->GetName()];
193 bool present = dup2.find(delparam) != dup2.end();
194 if (present) {
195 ATH_MSG_WARNING("- Delete object " << delparam << "="
196 << delparam->GetName()
197 << " still referenced somewhere!");
198 } else {
199 ATH_MSG_DEBUG("- Delete object " << delparam << "="
200 << delparam->GetName());
201 ++ndel[delparam->ClassName()];
202 delete delparam;
203 }
204 }
205 for (auto &del : ndel)
206 ATH_MSG_INFO("Deleted " << del.second << " duplicate objects of class "
207 << del.first);
208}
virtual void set_daughter(unsigned int, TFCSParametrizationBase *)
Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter meth...
std::map< std::string, FindDuplicates_t > FindDuplicateClasses_t
str index
Definition DeMoScan.py:362

◆ RemoveNameTitle()

void TFCSParametrizationBase::RemoveNameTitle ( )
inherited

Definition at line 210 of file TFCSParametrizationBase.cxx.

210 {
211 for (unsigned int i = 0; i < size(); ++i)
212 if ((*this)[i]) {
213 TFCSParametrizationBase *param = (*this)[i];
214 param->SetName("");
215 param->SetTitle("");
216
217 // Continue for child objects in param
218 param->RemoveNameTitle();
219 }
220}

◆ reset_match_all_pdgid()

virtual void TFCSParametrizationBase::reset_match_all_pdgid ( )
inlinevirtualinherited

Definition at line 84 of file TFCSParametrizationBase.h.

84{ ResetBit(kMatchAllPDGID); };

◆ reset_phi_symmetric()

virtual void TFCSHistoLateralShapeParametrization::reset_phi_symmetric ( )
inlinevirtualinherited

Definition at line 38 of file TFCSHistoLateralShapeParametrization.h.

38{ ResetBit(k_phi_symmetric); };

◆ set_calosample()

void TFCSLateralShapeParametrization::set_calosample ( int cs)
inherited

Definition at line 21 of file TFCSLateralShapeParametrization.cxx.

21 {
22 m_calosample = cs;
23}

◆ set_daughter()

virtual void TFCSParametrizationBase::set_daughter ( unsigned int ,
TFCSParametrizationBase *  )
inlinevirtualinherited

Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter method allows to change these daughters - expert use only!

The original element at this position is not deleted

Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.

Definition at line 113 of file TFCSParametrizationBase.h.

114 {};

◆ set_Ekin()

void TFCSParametrization::set_Ekin ( const TFCSParametrizationBase & ref)
virtualinherited

Definition at line 55 of file TFCSParametrization.cxx.

55 {
56 set_Ekin_nominal(ref.Ekin_nominal());
57 set_Ekin_min(ref.Ekin_min());
58 set_Ekin_max(ref.Ekin_max());
59}
virtual void set_Ekin_max(double max)
virtual void set_Ekin_min(double min)
virtual void set_Ekin_nominal(double min)

◆ set_Ekin_bin()

void TFCSLateralShapeParametrization::set_Ekin_bin ( int bin)
inherited

Definition at line 17 of file TFCSLateralShapeParametrization.cxx.

17 {
19}

◆ set_Ekin_eta()

void TFCSParametrization::set_Ekin_eta ( const TFCSParametrizationBase & ref)
virtualinherited

Definition at line 67 of file TFCSParametrization.cxx.

67 {
69 set_eta(ref);
70}
virtual void set_eta(const TFCSParametrizationBase &ref)
virtual void set_Ekin(const TFCSParametrizationBase &ref)

◆ set_Ekin_max()

void TFCSParametrization::set_Ekin_max ( double max)
virtualinherited

Definition at line 45 of file TFCSParametrization.cxx.

45{ m_Ekin_max = max; }
#define max(a, b)
Definition cfImp.cxx:41

◆ set_Ekin_min()

void TFCSParametrization::set_Ekin_min ( double min)
virtualinherited

Definition at line 43 of file TFCSParametrization.cxx.

43{ m_Ekin_min = min; }
#define min(a, b)
Definition cfImp.cxx:40

◆ set_Ekin_nominal()

void TFCSParametrization::set_Ekin_nominal ( double min)
virtualinherited

Definition at line 39 of file TFCSParametrization.cxx.

39 {
40 m_Ekin_nominal = nominal;
41}

◆ set_eta()

void TFCSParametrization::set_eta ( const TFCSParametrizationBase & ref)
virtualinherited

Definition at line 61 of file TFCSParametrization.cxx.

61 {
62 set_eta_nominal(ref.eta_nominal());
63 set_eta_min(ref.eta_min());
64 set_eta_max(ref.eta_max());
65}
virtual void set_eta_max(double max)
virtual void set_eta_nominal(double min)
virtual void set_eta_min(double min)

◆ set_eta_max()

void TFCSParametrization::set_eta_max ( double max)
virtualinherited

Definition at line 53 of file TFCSParametrization.cxx.

53{ m_eta_max = max; }

◆ set_eta_min()

void TFCSParametrization::set_eta_min ( double min)
virtualinherited

Definition at line 51 of file TFCSParametrization.cxx.

51{ m_eta_min = min; }

◆ set_eta_nominal()

void TFCSParametrization::set_eta_nominal ( double min)
virtualinherited

Definition at line 47 of file TFCSParametrization.cxx.

47 {
48 m_eta_nominal = nominal;
49}

◆ set_geometry()

void TFCSHistoLateralShapeParametrization::set_geometry ( ICaloGeometry * geo)
overridevirtualinherited

will actually not store the geometry information, but rather used to check the validity of the 2D shape histogram

Reimplemented from TFCSParametrizationBase.

Definition at line 39 of file TFCSHistoLateralShapeParametrization.cxx.

39 {
41 if (!m_hist.get_HistoContents().empty()) {
42 int first_fix_bin = -1;
43 for (int i = (int)(m_hist.get_HistoContents().size() - 1); i >= 0; --i) {
44 if (std::isnan(m_hist.get_HistoContents()[i])) {
45 ATH_MSG_DEBUG("nan in histo content for "
46 << GetTitle() << ", bin[" << i
47 << "]=" << m_hist.get_HistoContents()[i] << " -> 1");
48 m_hist.get_HistoContents()[i] = 1;
49 first_fix_bin = i;
50 }
51 }
52 if (first_fix_bin < 0)
53 return;
54
55 if (first_fix_bin == 0) {
56 ATH_MSG_WARNING("nan in histo content for "
57 << GetTitle()
58 << " for all bins. Fixed to probability 1 causing hits "
59 "to be deposited in the shower center");
60 } else {
61 int last_fix_bin = -1;
62 for (size_t i = 0; i < m_hist.get_HistoContents().size(); ++i) {
63 if (std::isnan(m_hist.get_HistoContents()[i])) {
64 ATH_MSG_DEBUG("nan in histo content for "
65 << GetTitle() << ", bin[" << i
66 << "]=" << m_hist.get_HistoContents()[i] << " -> 0");
67 m_hist.get_HistoContents()[i] = 0;
68 last_fix_bin = i;
69 }
70 }
71 ATH_MSG_WARNING("nan in histo content for "
72 << GetTitle() << ". Fixed up to bin " << last_fix_bin
73 << " with probability 0 and beyond bin " << first_fix_bin
74 << " with probability 1.");
75 }
76 }
77}
virtual void set_geometry(ICaloGeometry *geo)
Method to set the geometry access pointer.

◆ set_match_all_pdgid()

virtual void TFCSParametrizationBase::set_match_all_pdgid ( )
inlinevirtualinherited

Definition at line 83 of file TFCSParametrizationBase.h.

83{ SetBit(kMatchAllPDGID); };

◆ set_number_of_hits()

void TFCSHistoLateralShapeParametrization::set_number_of_hits ( float nhits)
inherited

set the integral of the histogram to the desired number of hits

Definition at line 98 of file TFCSHistoLateralShapeParametrization.cxx.

98 {
99 m_nhits = nhits;
100}

◆ set_pdgid() [1/2]

void TFCSParametrization::set_pdgid ( const std::set< int > & ids)
virtualinherited

Reimplemented in TFCSEnergyBinParametrization.

Definition at line 33 of file TFCSParametrization.cxx.

◆ set_pdgid() [2/2]

void TFCSParametrization::set_pdgid ( int id)
virtualinherited

Reimplemented in TFCSEnergyBinParametrization.

Definition at line 28 of file TFCSParametrization.cxx.

28 {
29 m_pdgid.clear();
30 m_pdgid.insert(id);
31}

◆ set_pdgid_Ekin_eta()

void TFCSParametrization::set_pdgid_Ekin_eta ( const TFCSParametrizationBase & ref)
virtualinherited

Definition at line 72 of file TFCSParametrization.cxx.

73 {
75 set_pdgid(ref.pdgid());
76}
virtual void set_Ekin_eta(const TFCSParametrizationBase &ref)
virtual void set_pdgid(int id)

◆ set_pdgid_Ekin_eta_Ekin_bin_calosample()

void TFCSLateralShapeParametrization::set_pdgid_Ekin_eta_Ekin_bin_calosample ( const TFCSLateralShapeParametrization & ref)
virtualinherited

Definition at line 25 of file TFCSLateralShapeParametrization.cxx.

26 {
27 set_calosample(ref.calosample());
28 set_Ekin_bin(ref.Ekin_bin());
30}
virtual void set_pdgid_Ekin_eta(const TFCSParametrizationBase &ref)

◆ set_phi_symmetric()

virtual void TFCSHistoLateralShapeParametrization::set_phi_symmetric ( )
inlinevirtualinherited

Definition at line 37 of file TFCSHistoLateralShapeParametrization.h.

37{ SetBit(k_phi_symmetric); };

◆ set_r_offset()

void TFCSHistoLateralShapeParametrization::set_r_offset ( float r_offset)
inlineinherited

set an offset in r on the simulated histogram

Definition at line 46 of file TFCSHistoLateralShapeParametrization.h.

◆ set_r_scale()

void TFCSHistoLateralShapeParametrization::set_r_scale ( float r_scale)
inlineinherited

set an scale factor for r on the simulated histogram

Definition at line 50 of file TFCSHistoLateralShapeParametrization.h.

◆ setLevel()

void ISF_FCS::MLogging::setLevel ( MSG::Level lvl)
virtualinherited

Update outputlevel.

Definition at line 105 of file MLogging.cxx.

105 {
106 lvl = (lvl >= MSG::NUM_LEVELS) ? MSG::ALWAYS
107 : (lvl < MSG::NIL) ? MSG::NIL
108 : lvl;
109 msg().setLevel(lvl);
110}

◆ simulate()

FCSReturnCode TFCSParametrizationBase::simulate ( TFCSSimulationState & simulstate,
const TFCSTruthState * truth,
const TFCSExtrapolationState * extrapol ) const
virtualinherited

Method in all derived classes to do some simulation.

Result should be returned in simulstate.

Simulate all energies in calo layers for energy parametrizations. Simulate cells for shape simulation.

Reimplemented in TFCSBinnedShowerBase, TFCSEnergyAndHitGAN, TFCSEnergyAndHitGANV2, TFCSEnergyBinParametrization, TFCSEnergyInterpolationHistogram, TFCSEnergyInterpolationLinear, TFCSEnergyInterpolationPiecewiseLinear, TFCSEnergyInterpolationSpline, TFCSEnergyRenormalization, TFCSInitWithEkin, TFCSInvisibleParametrization, TFCSLateralShapeParametrizationFluctChain, TFCSLateralShapeParametrizationHitChain, TFCSParametrizationBinnedChain, TFCSParametrizationChain, TFCSParametrizationPDGIDSelectChain, TFCSParametrizationPlaceholder, TFCSPCAEnergyParametrization, TFCSPredictExtrapWeights, and TFCSVoxelHistoLateralCovarianceFluctuations.

Definition at line 32 of file TFCSParametrizationBase.cxx.

34 {
35 ATH_MSG_ERROR("now in TFCSParametrizationBase::simulate(). This should "
36 "normally not happen");
37 // Force one retry to issue a printout from the chain causing the call to this
38 // method
39 return (FCSReturnCode)(FCSRetry + 1);
40}
#define ATH_MSG_ERROR(x)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...

◆ simulate_hit()

FCSReturnCode TFCSHistoLateralShapeParametrizationFCal::simulate_hit ( Hit & hit,
TFCSSimulationState & simulstate,
const TFCSTruthState * truth,
const TFCSExtrapolationState * extrapol )
overridevirtual

simulated one hit position with weight that should be put into simulstate sometime later all hit weights should be resacled such that their final sum is simulstate->E(sample) someone also needs to map all hits into cells

Reimplemented from TFCSHistoLateralShapeParametrization.

Definition at line 29 of file TFCSHistoLateralShapeParametrizationFCal.cxx.

31 {
32 if (!simulstate.randomEngine()) {
33 return FCSFatal;
34 }
35
36 const int pdgId = truth->pdgid();
37 const double charge = HepPDT::ParticleID(pdgId).charge();
38
39 const int cs = calosample();
40 // const double center_phi=0.5*( extrapol->phi(cs, CaloSubPos::SUBPOS_ENT) +
41 // extrapol->phi(cs, CaloSubPos::SUBPOS_EXT) ); const double center_r=0.5*(
42 // extrapol->r(cs, CaloSubPos::SUBPOS_ENT) + extrapol->r(cs,
43 // CaloSubPos::SUBPOS_EXT) ); const double center_z=0.5*( extrapol->z(cs,
44 // CaloSubPos::SUBPOS_ENT) + extrapol->z(cs, CaloSubPos::SUBPOS_EXT) );
45 const double center_phi = hit.center_phi();
46 const double center_r = hit.center_r();
47 const double center_z = hit.center_z();
48
49 float alpha, r, rnd1, rnd2;
50 rnd1 = CLHEP::RandFlat::shoot(simulstate.randomEngine());
51 rnd2 = CLHEP::RandFlat::shoot(simulstate.randomEngine());
52 if (is_phi_symmetric()) {
53 if (rnd2 >= 0.5) { // Fill negative phi half of shape
54 rnd2 -= 0.5;
55 rnd2 *= 2;
56 m_hist.rnd_to_fct(alpha, r, rnd1, rnd2);
57 alpha = -alpha;
58 } else { // Fill positive phi half of shape
59 rnd2 *= 2;
60 m_hist.rnd_to_fct(alpha, r, rnd1, rnd2);
61 }
62 } else {
63 m_hist.rnd_to_fct(alpha, r, rnd1, rnd2);
64 }
65 if (TMath::IsNaN(alpha) || TMath::IsNaN(r)) {
66 ATH_MSG_ERROR(" Histogram: "
67 << m_hist.get_HistoBordersx().size() - 1 << "*"
68 << m_hist.get_HistoBordersy().size() - 1
69 << " bins, #hits=" << m_nhits << " alpha=" << alpha
70 << " r=" << r << " rnd1=" << rnd1 << " rnd2=" << rnd2);
71 alpha = 0;
72 r = 0.001;
73
74 ATH_MSG_ERROR(" This error could probably be retried");
75 return FCSFatal;
76 }
77
78 const float hit_r = r * cos(alpha) + center_r;
79 float delta_phi = r * sin(alpha) / center_r;
80 // We derive the shower shapes for electrons and positively charged hadrons.
81 // Particle with the opposite charge are expected to have the same shower shape
82 // after the transformation: delta_phi --> -delta_phi
83 if ((charge < 0. && pdgId!=11) || pdgId==-11)
85 const float hit_phi = delta_phi + center_phi;
86
87 hit.setXYZE(hit_r * cos(hit_phi), hit_r * sin(hit_phi), center_z, hit.E());
88
89 ATH_MSG_DEBUG("HIT: E=" << hit.E() << " cs=" << cs << " x=" << hit.x()
90 << " y=" << hit.y() << " z=" << hit.z() << " r=" << r
91 << " alpha=" << alpha);
92
93 return FCSSuccess;
94}
double charge(const T &p)
Definition AtlasPID.h:997
CUDA_HOSTDEV void setXYZE(float x, float y, float z, float E)
int pdgid() const
int r
Definition globals.cxx:22
delta_phi(phi1, phi2)
Definition eFEXNTuple.py:14

◆ size()

virtual unsigned int TFCSParametrizationBase::size ( ) const
inlinevirtualinherited

Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.

Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.

Definition at line 93 of file TFCSParametrizationBase.h.

93{ return 0; };

◆ startMsg()

std::string ISF_FCS::MLogging::startMsg ( MSG::Level lvl,
const std::string & file,
int line )
staticinherited

Make a message to decorate the start of logging.

Print a message for the start of logging.

Definition at line 116 of file MLogging.cxx.

116 {
117 int col1_len = 20;
118 int col2_len = 5;
119 int col3_len = 10;
120 auto last_slash = file.find_last_of('/');
121 int path_len = last_slash == std::string::npos ? 0 : last_slash;
122 int trim_point = path_len;
123 int total_len = file.length();
124 if (total_len - path_len > col1_len)
125 trim_point = total_len - col1_len;
126 std::string trimmed_name = file.substr(trim_point);
127 const char *LevelNames[MSG::NUM_LEVELS] = {
128 "NIL", "VERBOSE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "ALWAYS"};
129 std::string level = LevelNames[lvl];
130 std::string level_string = std::string("(") + level + ") ";
131 std::stringstream output;
132 output << std::setw(col1_len) << std::right << trimmed_name << ":"
133 << std::setw(col2_len) << std::left << line << std::setw(col3_len)
134 << std::right << level_string;
135 return output.str();
136}
output
Definition merge.py:16
TFile * file

Member Data Documentation

◆ ATLAS_THREAD_SAFE

boost::thread_specific_ptr<MsgStream> m_msg_tls ISF_FCS::MLogging::ATLAS_THREAD_SAFE
inlinestaticprivateinherited

Do not persistify!

MsgStream instance (a std::cout like with print-out levels)

Definition at line 215 of file MLogging.h.

◆ init_Ekin_max

double TFCSParametrizationBase::init_Ekin_max = 14000000
staticconstexprprotectedinherited

Do not persistify!

Definition at line 155 of file TFCSParametrizationBase.h.

◆ init_Ekin_min

double TFCSParametrizationBase::init_Ekin_min = 0
staticconstexprprotectedinherited

Do not persistify!

Definition at line 154 of file TFCSParametrizationBase.h.

◆ init_Ekin_nominal

double TFCSParametrizationBase::init_Ekin_nominal = 0
staticconstexprprotectedinherited

Definition at line 153 of file TFCSParametrizationBase.h.

◆ init_eta_max

double TFCSParametrizationBase::init_eta_max = 100
staticconstexprprotectedinherited

Do not persistify!

Definition at line 158 of file TFCSParametrizationBase.h.

◆ init_eta_min

double TFCSParametrizationBase::init_eta_min = -100
staticconstexprprotectedinherited

Do not persistify!

Definition at line 157 of file TFCSParametrizationBase.h.

◆ init_eta_nominal

double TFCSParametrizationBase::init_eta_nominal = 0
staticconstexprprotectedinherited

Do not persistify!

Definition at line 156 of file TFCSParametrizationBase.h.

◆ m_calosample

int TFCSLateralShapeParametrization::m_calosample
privateinherited

Definition at line 47 of file TFCSLateralShapeParametrization.h.

◆ m_Ekin_bin

int TFCSLateralShapeParametrization::m_Ekin_bin
privateinherited

Definition at line 46 of file TFCSLateralShapeParametrization.h.

◆ m_Ekin_max

double TFCSParametrization::m_Ekin_max
privateinherited

Definition at line 64 of file TFCSParametrization.h.

◆ m_Ekin_min

double TFCSParametrization::m_Ekin_min
privateinherited

Definition at line 64 of file TFCSParametrization.h.

◆ m_Ekin_nominal

double TFCSParametrization::m_Ekin_nominal
privateinherited

Definition at line 64 of file TFCSParametrization.h.

◆ m_eta_max

double TFCSParametrization::m_eta_max
privateinherited

Definition at line 65 of file TFCSParametrization.h.

◆ m_eta_min

double TFCSParametrization::m_eta_min
privateinherited

Definition at line 65 of file TFCSParametrization.h.

◆ m_eta_nominal

double TFCSParametrization::m_eta_nominal
privateinherited

Definition at line 65 of file TFCSParametrization.h.

◆ m_hist

TFCS2DFunctionHistogram TFCSHistoLateralShapeParametrization::m_hist
protectedinherited

Histogram to be used for the shape simulation.

Definition at line 96 of file TFCSHistoLateralShapeParametrization.h.

◆ m_nhits

float TFCSHistoLateralShapeParametrization::m_nhits
protectedinherited

Definition at line 97 of file TFCSHistoLateralShapeParametrization.h.

◆ m_nm

std::string ISF_FCS::MLogging::m_nm
privateinherited

Message source name.

Definition at line 211 of file MLogging.h.

◆ m_pdgid

std::set<int> TFCSParametrization::m_pdgid
privateinherited

Definition at line 63 of file TFCSParametrization.h.

◆ m_r_offset

float TFCSHistoLateralShapeParametrization::m_r_offset
protectedinherited

Definition at line 98 of file TFCSHistoLateralShapeParametrization.h.

◆ m_r_scale

float TFCSHistoLateralShapeParametrization::m_r_scale
protectedinherited

Definition at line 99 of file TFCSHistoLateralShapeParametrization.h.


The documentation for this class was generated from the following files: