ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSParametrizationPDGIDSelectChain.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_FASTCALOSIMEVENT_TFCSParametrizationPDGIDSelectChain_h
6#define ISF_FASTCALOSIMEVENT_TFCSParametrizationPDGIDSelectChain_h
7
9
11public:
12 TFCSParametrizationPDGIDSelectChain(const char *name = nullptr,
13 const char *title = nullptr)
14 : TFCSParametrizationChain(name, title) {
16 };
22
26 15)
28 };
29
30 bool SimulateOnlyOnePDGID() const { return TestBit(kSimulateOnlyOnePDGID); };
33
34 virtual FCSReturnCode
35 simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth,
36 const TFCSExtrapolationState *extrapol) const override;
37
38 static void unit_test(TFCSSimulationState *simulstate = nullptr,
39 TFCSTruthState *truth = nullptr,
40 TFCSExtrapolationState *extrapol = nullptr);
41
42protected:
43 virtual void recalc() override;
44
45private:
47 1) // TFCSParametrizationPDGIDSelectChain
48};
49
50#endif
const boost::regex ref(r_ef)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
TFCSParametrizationChain(const char *name=nullptr, const char *title=nullptr)
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, TFCSExtrapolationState *extrapol=nullptr)
TFCSParametrizationPDGIDSelectChain(const TFCSParametrizationPDGIDSelectChain &ref)
virtual void recalc() override
Default is to call recalc_pdgid_intersect() and recalc_Ekin_eta_intersect()
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
TFCSParametrizationPDGIDSelectChain(const char *name=nullptr, const char *title=nullptr)
@ kSimulateOnlyOnePDGID
Set this bit in the TObject bit field if the PDGID selection loop should be aborted after the first s...