ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
LArNonLinearity Class Reference

Add non linearity in calorimeter for test at L2. More...

#include <LArNonLinearity.h>

Inheritance diagram for LArNonLinearity:
Collaboration diagram for LArNonLinearity:

Public Member Functions

 LArNonLinearity (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~LArNonLinearity ()
 
virtual StatusCode initialize () override
 
virtual void MakeCorrection (CaloCell *theCell, const EventContext &ctx) const override
 
virtual StatusCode execute (CaloCellContainer *cellCollection, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Static Protected Member Functions

static void setenergy (CaloCell *lar_cell, float energy)
 
static void addenergy (CaloCell *lar_cell, float energy)
 
static void scaleenergy (CaloCell *lar_cell, float scale)
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

const LArEM_IDm_emID
 
const LArHEC_IDm_hecID
 
const LArFCAL_IDm_fcalID
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Static Private Attributes

static const double m_etatrans = 0.8
 
static const double m_etrans [6]
 
static const double m_emax [6]
 
static const double m_p0 [6][2]
 
static const double m_p1 [6][2]
 
static const double m_p2 [6][2]
 
static const double m_p3 [6][2]
 

Detailed Description

Add non linearity in calorimeter for test at L2.

PACKAGE: offline/LArCalorimeter/LArCellRec

Author
G.Unal CREATED: August 2003
      (non linearity = residuals of a linear calibration
       fit, from L.Serin)

Definition at line 31 of file LArNonLinearity.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ LArNonLinearity()

LArNonLinearity::LArNonLinearity ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 74 of file LArNonLinearity.cxx.

76  : CaloCellCorrection(type, name, parent),m_emID(nullptr),m_hecID(nullptr),m_fcalID(nullptr)
77 
78 {
79 
80 }

◆ ~LArNonLinearity()

LArNonLinearity::~LArNonLinearity ( )
virtualdefault

Member Function Documentation

◆ addenergy()

void CaloCellCorrection::addenergy ( CaloCell lar_cell,
float  energy 
)
staticprotectedinherited

Definition at line 94 of file CaloCellCorrection.cxx.

95 {
96  theCell->addEnergy( energy );
97 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode CaloCellCorrection::execute ( CaloCellContainer cellCollection,
const EventContext &  ctx 
) const
virtualinherited

Definition at line 58 of file CaloCellCorrection.cxx.

60 {
61 
62  ATH_MSG_DEBUG("Executing CaloCellCorrection");
63 
64  if (!cellCollection) {
65  ATH_MSG_ERROR( "Cell Correction tool receives invalid cell Collection" );
66  return StatusCode::FAILURE;
67  }
68 
69  // Loop over all the CaloCell Objects and call Make Correction.
70  // Note that this is the base class of all the concrete correction
71  // classes which implement a Make Correction method.
72 
73  for (CaloCell* cell : *cellCollection) {
74  MakeCorrection ( cell, ctx );
75  }
76 
77  // Done, Return success
78 
79  return StatusCode::SUCCESS;
80 
81 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ initialize()

StatusCode LArNonLinearity::initialize ( )
overridevirtual

Definition at line 83 of file LArNonLinearity.cxx.

84 {
85  ATH_MSG_INFO( name() );
86  ATH_MSG_INFO( " Initialize LArNonLinearity " );
87 
88  // pointer to identifier helpers:
89  ATH_CHECK(detStore()->retrieve(m_emID,"LArEM_ID"));
90  ATH_CHECK(detStore()->retrieve(m_hecID,"HEC_ID"));
91  ATH_CHECK(detStore()->retrieve(m_fcalID,"FCAL_ID"));
92 
93  return StatusCode::SUCCESS;
94 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ interfaceID()

static const InterfaceID& CaloCellCorrection::interfaceID ( )
inlinestaticinherited

Definition at line 54 of file CaloCellCorrection.h.

54 { return IID_CaloCellCorrection;}

◆ MakeCorrection()

void LArNonLinearity::MakeCorrection ( CaloCell theCell,
const EventContext &  ctx 
) const
overridevirtual

Implements CaloCellCorrection.

Definition at line 103 of file LArNonLinearity.cxx.

105 {
106  float eta = theCell->eta();
107  Identifier id = theCell->ID();
108 
109  double corr=0. ; // corr=residual to subtract to
110  // true energy
111  double energy = theCell->energy();
112 
113  if(m_emID->is_lar_em(id) &&
114  m_emID->is_em_barrel(id) ) // only for barrel EM Calorimeter:
115  {
116 
117  int sampling = m_emID->sampling(id);
118  if (sampling >0 && sampling < 4) // nothing for barrel PS
119  {
120 
121 // check A or B electrodes
122  int ielec;
123  if (fabs(eta)<m_etatrans) {ielec=0;}
124  else {ielec=1;}
125  int index =ielec + 2*(sampling-1); // from 0 to 5 (see above)
126 
127  if (energy>2.*GeV)
128  ATH_MSG_DEBUG( " energy " << energy
129  << " sampling " << sampling
130  << " eta " << eta
131  << " index " << index );
132 
133 // check E less than E maximum validity
134 
135  if (energy < m_emax[index] )
136  {
137 // energy range (high gain or middle gain)
138  int irange;
139  if (energy < m_etrans[index] ) {irange=0;}
140  else {irange=1;}
141 
142  if (irange==0)
143  { // ignore offset for high gain
144  corr = m_p1[index][irange] *energy
145  +m_p2[index][irange] *energy*energy
146  +m_p3[index][irange] *energy*energy*energy;
147  } else
148  {
149  corr = m_p0[index][irange]
150  +m_p1[index][irange] *energy
151  +m_p2[index][irange] *energy*energy
152  +m_p3[index][irange] *energy*energy*energy;
153  }
154 // convert corr back to GEV
155  corr = corr*GeV;
156 
157  if (energy>2.*GeV)
158  {
159  ATH_MSG_DEBUG( " pol coeff " << m_p0[index][irange] << " "
160  << m_p1[index][irange] << " " << m_p2[index][irange] << " "
161  << m_p3[index][irange] );
162  ATH_MSG_DEBUG( "energy,index,corr = " << energy << " " << index << " " << corr );
163  }
164 
165  }
166  }
167  } // ENDIF for barrel EM
168 
169 
170 // Correct cell energy
171 
172  setenergy(theCell, energy-corr);
173 
174 }

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ scaleenergy()

void CaloCellCorrection::scaleenergy ( CaloCell lar_cell,
float  scale 
)
staticprotectedinherited

Definition at line 99 of file CaloCellCorrection.cxx.

100 {
101  theCell->scaleEnergy( scale );
102 }

◆ setenergy()

void CaloCellCorrection::setenergy ( CaloCell lar_cell,
float  energy 
)
staticprotectedinherited

Definition at line 89 of file CaloCellCorrection.cxx.

90 {
91  theCell->setEnergy( energy );
92 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_emax

const double LArNonLinearity::m_emax
staticprivate
Initial value:
=
{60.*GeV, 60.*GeV, 260.*GeV, 500.*GeV, 170.*GeV, 250.*GeV}

Definition at line 49 of file LArNonLinearity.h.

◆ m_emID

const LArEM_ID* LArNonLinearity::m_emID
private

Definition at line 56 of file LArNonLinearity.h.

◆ m_etatrans

const double LArNonLinearity::m_etatrans = 0.8
staticprivate

Definition at line 47 of file LArNonLinearity.h.

◆ m_etrans

const double LArNonLinearity::m_etrans
staticprivate
Initial value:
=
{6.5*GeV, 6.0*GeV, 26.0*GeV, 50.0*GeV, 17.5*GeV, 25.0*GeV }

Definition at line 48 of file LArNonLinearity.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_fcalID

const LArFCAL_ID* LArNonLinearity::m_fcalID
private

Definition at line 58 of file LArNonLinearity.h.

◆ m_hecID

const LArHEC_ID* LArNonLinearity::m_hecID
private

Definition at line 57 of file LArNonLinearity.h.

◆ m_p0

const double LArNonLinearity::m_p0
staticprivate
Initial value:
=
{{0.44e-2, 0.158}, {0.691e-3, 0.121},
{0.166e-1, 0.226}, {0.347e-1, 0.753},
{0.869e-2, 0.269}, {0.422e-1, 0.3598}}

Definition at line 50 of file LArNonLinearity.h.

◆ m_p1

const double LArNonLinearity::m_p1
staticprivate
Initial value:
=
{{-0.16e-2/GeV, -0.159e-1/GeV}, {+0.379e-2/GeV, -0.100e-1/GeV},
{-0.105e-2/GeV, -0.1559e-2/GeV}, {-0.605e-2/GeV, -0.452e-2/GeV},
{+0.248e-2/GeV, -0.252e-2/GeV}, {-0.690e-2/GeV, -0.881e-2/GeV}}

Definition at line 51 of file LArNonLinearity.h.

◆ m_p2

const double LArNonLinearity::m_p2
staticprivate
Initial value:
=
{{-0.45e-3/(GeV*GeV),+0.406e-3/(GeV*GeV)},
{-0.252e-2/(GeV*GeV), +0.159e-3/(GeV*GeV)},
{-0.208e-3/(GeV*GeV),-0.263e-4/(GeV*GeV)},
{-0.66e-3/(GeV*GeV), -0.146e-4/(GeV*GeV)},
{-0.920e-3/(GeV*GeV),-0.645e-4/(GeV*GeV)},
{+0.689e-4/(GeV*GeV), +0.4773e-4/(GeV*GeV)}}

Definition at line 52 of file LArNonLinearity.h.

◆ m_p3

const double LArNonLinearity::m_p3
staticprivate
Initial value:
=
{{0.1037e-3/(GeV*GeV*GeV), -0.291e-5/(GeV*GeV*GeV)},
{+0.332e-3/(GeV*GeV*GeV), -0.309e-7/(GeV*GeV*GeV)},
{+0.100e-4/(GeV*GeV*GeV), +0.1300e-6/(GeV*GeV*GeV)},
{+0.115e-4/(GeV*GeV*GeV), +0.545e-7/(GeV*GeV*GeV)},
{0.472e-4/(GeV*GeV*GeV), 0.459e-6/(GeV*GeV*GeV)},
{0.759e-5/(GeV*GeV*GeV), -0.543e-7/(GeV*GeV*GeV)}}

Definition at line 53 of file LArNonLinearity.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
LArNonLinearity::m_emax
static const double m_emax[6]
Definition: LArNonLinearity.h:49
LArNonLinearity::m_p3
static const double m_p3[6][2]
Definition: LArNonLinearity.h:53
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
LArNonLinearity::m_p2
static const double m_p2[6][2]
Definition: LArNonLinearity.h:52
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
index
Definition: index.py:1
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LArNonLinearity::m_p0
static const double m_p0[6][2]
Definition: LArNonLinearity.h:50
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LArEM_Base_ID::sampling
int sampling(const Identifier id) const
return sampling according to :
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
LArNonLinearity::m_fcalID
const LArFCAL_ID * m_fcalID
Definition: LArNonLinearity.h:58
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
CaloCell::energy
double energy() const
get energy (data member)
Definition: CaloCell.h:311
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
CaloCellCorrection::MakeCorrection
virtual void MakeCorrection(CaloCell *cellCollection, const EventContext &ctx) const =0
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CaloCellCorrection::CaloCellCorrection
CaloCellCorrection(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellCorrection.cxx:43
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloCell::ID
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition: CaloCell.h:279
LArNonLinearity::m_emID
const LArEM_ID * m_emID
Definition: LArNonLinearity.h:56
DeMoScan.index
string index
Definition: DeMoScan.py:364
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LArEM_Base_ID::is_em_barrel
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
CaloCellCorrection::setenergy
static void setenergy(CaloCell *lar_cell, float energy)
Definition: CaloCellCorrection.cxx:89
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
LArNonLinearity::m_p1
static const double m_p1[6][2]
Definition: LArNonLinearity.h:51
LArNonLinearity::m_hecID
const LArHEC_ID * m_hecID
Definition: LArNonLinearity.h:57
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LArNonLinearity::m_etrans
static const double m_etrans[6]
Definition: LArNonLinearity.h:48
LArNonLinearity::m_etatrans
static const double m_etatrans
Definition: LArNonLinearity.h:47
AtlasDetectorID::is_lar_em
bool is_lar_em(Identifier id) const
Definition: AtlasDetectorID.h:818
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
CaloCell::eta
virtual double eta() const override final
get eta (through CaloDetDescrElement)
Definition: CaloCell.h:366
fitman.k
k
Definition: fitman.py:528
Identifier
Definition: IdentifierFieldParser.cxx:14