ATLAS Offline Software
TFCSFunction.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_TFCSFunction_h
6 #define ISF_FASTCALOSIMEVENT_TFCSFunction_h
7 
8 #include "TObject.h"
10 
11 
12 class TFCSFunction : public TObject, public ISF_FCS::MLogging {
13 public:
15  virtual ~TFCSFunction(){};
16 
19  virtual std::size_t MemorySize() const { return sizeof(*this); };
20 
22  virtual int ndim() const { return 0; };
23 
27  virtual void rnd_to_fct(float value[], const float rnd[]) const = 0;
28 
29 private:
30  ClassDef(TFCSFunction, 3) // TFCSFunction
31 };
32 
33 #endif
ISF_FCS::MLogging
Cut down AthMessaging.
Definition: MLogging.h:176
athena.value
value
Definition: athena.py:122
TFCSFunction::TFCSFunction
TFCSFunction()
Definition: TFCSFunction.h:14
TFCSFunction
Definition: TFCSFunction.h:12
TFCSFunction::ndim
virtual int ndim() const
Return the number of dimensions for the function.
Definition: TFCSFunction.h:22
TFCSFunction::~TFCSFunction
virtual ~TFCSFunction()
Definition: TFCSFunction.h:15
TFCSFunction::rnd_to_fct
virtual void rnd_to_fct(float value[], const float rnd[]) const =0
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function valu...
MLogging.h
TFCSFunction::MemorySize
virtual std::size_t MemorySize() const
Gives the total memory size, including the size of additional memory allocated inside the class.
Definition: TFCSFunction.h:19