ATLAS Offline Software
TFCSParametrizationFloatSelectChain.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_FASTCALOSIMEVENT_TFCSParametrizationFloatSelectChain_h
6 #define ISF_FASTCALOSIMEVENT_TFCSParametrizationFloatSelectChain_h
7 
9 
12 public:
14  const char *title = nullptr)
19 
20  virtual int push_back_in_bin(TFCSParametrizationBase *param, float low,
21  float up);
23  virtual void push_back_in_bin(TFCSParametrizationBase *param,
24  unsigned int bin) override;
25 
26  // return -1 if outside range
27  int val_to_bin(float val) const;
28 
29  virtual double get_bin_low_edge(int bin) const {
30  return m_bin_low_edge[bin];
31  };
32  virtual double get_bin_up_edge(int bin) const {
33  return m_bin_low_edge[bin + 1];
34  };
35 
36  static void unit_test(TFCSSimulationState *simulstate = nullptr,
37  TFCSTruthState *truth = nullptr,
38  const TFCSExtrapolationState *extrapol = nullptr);
39 
40 protected:
41  std::vector<float> m_bin_low_edge;
42 
43 private:
44  ClassDefOverride(TFCSParametrizationFloatSelectChain,
45  1) // TFCSParametrizationFloatSelectChain
46 };
47 
48 #endif
TFCSParametrizationFloatSelectChain
Definition: TFCSParametrizationFloatSelectChain.h:11
bin
Definition: BinsDiffFromStripMedian.h:43
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
RunActsMaterialValidation.extrapol
extrapol
Definition: RunActsMaterialValidation.py:91
TFCSParametrizationFloatSelectChain::get_bin_low_edge
virtual double get_bin_low_edge(int bin) const
Definition: TFCSParametrizationFloatSelectChain.h:29
TFCSParametrizationFloatSelectChain::unit_test
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, const TFCSExtrapolationState *extrapol=nullptr)
Definition: TFCSParametrizationFloatSelectChain.cxx:110
TFCSParametrizationBase
Definition: TFCSParametrizationBase.h:46
TFCSParametrizationBinnedChain
Definition: TFCSParametrizationBinnedChain.h:10
TFCSParametrizationFloatSelectChain::push_back_in_bin
virtual int push_back_in_bin(TFCSParametrizationBase *param, float low, float up)
Definition: TFCSParametrizationFloatSelectChain.cxx:14
TFCSParametrizationBinnedChain.h
covarianceTool.title
title
Definition: covarianceTool.py:542
CalibCoolCompareRT.up
up
Definition: CalibCoolCompareRT.py:109
TFCSParametrizationFloatSelectChain::TFCSParametrizationFloatSelectChain
TFCSParametrizationFloatSelectChain(const TFCSParametrizationFloatSelectChain &ref)
Definition: TFCSParametrizationFloatSelectChain.h:16
TFCSParametrizationFloatSelectChain::TFCSParametrizationFloatSelectChain
TFCSParametrizationFloatSelectChain(const char *name=nullptr, const char *title=nullptr)
Definition: TFCSParametrizationFloatSelectChain.h:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
plotBeamSpotVxVal.bin
int bin
Definition: plotBeamSpotVxVal.py:83
TFCSParametrizationFloatSelectChain::val_to_bin
int val_to_bin(float val) const
Definition: TFCSParametrizationFloatSelectChain.cxx:92
TFCSParametrizationFloatSelectChain::get_bin_up_edge
virtual double get_bin_up_edge(int bin) const
Definition: TFCSParametrizationFloatSelectChain.h:32
ref
const boost::regex ref(r_ef)
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TFCSTruthState
Definition: TFCSTruthState.h:13
TFCSSimulationState
Definition: TFCSSimulationState.h:32
TFCSParametrizationFloatSelectChain::m_bin_low_edge
std::vector< float > m_bin_low_edge
Definition: TFCSParametrizationFloatSelectChain.h:41