ATLAS Offline Software
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 
11 public:
13  const char *title = nullptr)
16  };
21  };
22 
26  15)
27  };
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 
42 protected:
43  virtual void recalc() override;
44 
45 private:
46  ClassDefOverride(TFCSParametrizationPDGIDSelectChain,
47  1) // TFCSParametrizationPDGIDSelectChain
48 };
49 
50 #endif
TFCSParametrizationChain
Definition: TFCSParametrizationChain.h:10
FCSReturnCode
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
Definition: TFCSParametrizationBase.h:41
TFCSParametrizationPDGIDSelectChain::FCSPDGIDStatusBits
FCSPDGIDStatusBits
Status bit for PDGID Selection.
Definition: TFCSParametrizationPDGIDSelectChain.h:24
TFCSParametrizationPDGIDSelectChain::simulate
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
Definition: TFCSParametrizationPDGIDSelectChain.cxx:27
TFCSParametrizationChain.h
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
RunActsMaterialValidation.extrapol
extrapol
Definition: RunActsMaterialValidation.py:91
TFCSParametrizationPDGIDSelectChain::SimulateOnlyOnePDGID
bool SimulateOnlyOnePDGID() const
Definition: TFCSParametrizationPDGIDSelectChain.h:30
TFCSParametrizationPDGIDSelectChain::TFCSParametrizationPDGIDSelectChain
TFCSParametrizationPDGIDSelectChain(const TFCSParametrizationPDGIDSelectChain &ref)
Definition: TFCSParametrizationPDGIDSelectChain.h:17
TFCSParametrizationPDGIDSelectChain::recalc
virtual void recalc() override
Default is to call recalc_pdgid_intersect() and recalc_Ekin_eta_intersect()
Definition: TFCSParametrizationPDGIDSelectChain.cxx:16
TFCSParametrizationPDGIDSelectChain::set_SimulateOnlyOnePDGID
void set_SimulateOnlyOnePDGID()
Definition: TFCSParametrizationPDGIDSelectChain.h:31
covarianceTool.title
title
Definition: covarianceTool.py:542
TFCSParametrizationPDGIDSelectChain::reset_SimulateOnlyOnePDGID
void reset_SimulateOnlyOnePDGID()
Definition: TFCSParametrizationPDGIDSelectChain.h:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TFCSParametrizationPDGIDSelectChain
Definition: TFCSParametrizationPDGIDSelectChain.h:10
TFCSParametrizationPDGIDSelectChain::TFCSParametrizationPDGIDSelectChain
TFCSParametrizationPDGIDSelectChain(const char *name=nullptr, const char *title=nullptr)
Definition: TFCSParametrizationPDGIDSelectChain.h:12
ref
const boost::regex ref(r_ef)
TFCSParametrizationPDGIDSelectChain::kSimulateOnlyOnePDGID
@ kSimulateOnlyOnePDGID
Set this bit in the TObject bit field if the PDGID selection loop should be aborted after the first s...
Definition: TFCSParametrizationPDGIDSelectChain.h:25
TFCSTruthState
Definition: TFCSTruthState.h:13
TFCSSimulationState
Definition: TFCSSimulationState.h:32
TFCSParametrizationPDGIDSelectChain::unit_test
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, TFCSExtrapolationState *extrapol=nullptr)
Definition: TFCSParametrizationPDGIDSelectChain.cxx:83