ATLAS Offline Software
Loading...
Searching...
No Matches
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
12class TFCSFunction : public TObject, public ISF_FCS::MLogging {
13public:
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
29private:
30 ClassDef(TFCSFunction, 3) // TFCSFunction
31};
32
33#endif
static TRandom * rnd
Cut down AthMessaging.
Definition MLogging.h:176
virtual ~TFCSFunction()
virtual int ndim() const
Return the number of dimensions for the function.
virtual std::size_t MemorySize() const
Gives the total memory size, including the size of additional memory allocated inside the class.
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...