PandaRoot
BSEmcBarrelZDependentMCDepositProductionProcess.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- PndEmcHitProducer header file -----
15 // ----- Created 14/08/06 by S.Spataro -----
16 // -------------------------------------------------------------------------
17 #ifndef BSEEMBARRELZDEPENDENTMCDEPOSITPRODUCTIONPROCESS_HH
18 #define BSEEMBARRELZDEPENDENTMCDEPOSITPRODUCTIONPROCESS_HH
19 
20 #include "Rtypes.h"
21 #include "RtypesCore.h"
22 #include "TString.h"
23 
25 
27 class BSEmcMCPar;
28 class BSEmcMCPoint;
30 class TBuffer;
31 class TClass;
32 class TMemberInspector;
33 
45  public:
48  virtual void SetupParameters(const PndParameterRegister *t_paramRegister) /*override*/;
49  void IsDayOneSetup(Bool_t t_isDayOneSetup) { fIsDayOneSetup = t_isDayOneSetup; }
50 
51  protected:
52  virtual Double_t GetEnergy(const BSEmcMCPoint *t_point) const /*override*/;
53  virtual Bool_t SkipPoint(const BSEmcMCPoint *t_point) const /*override*/;
54 
55  protected:
57 
58  private:
59  void Setup(BSEmcMCPar *t_par);
60  Bool_t fIsDayOneSetup{kFALSE};
62 
63 };
64 
65 #endif /*BSEEMBARRELZDEPENDENTMCDEPOSITPRODUCTIONPROCESS_HH*/
Container for runtime parameters that are required for the transformation from BSEmcMCPoints to BSEmc...
Definition: BSEmcMCPar.h:36
virtual Bool_t SkipPoint(const BSEmcMCPoint *t_point) const
Parameter to load Values relevant for the non-uniform lightyield of Barrel crystals.
Deposit Producer taking the z dependency of the lightyield of a crystal into account.
Process to create BSEmcMCDeposits out of BSEmcMCPoints.
represents a mc hit in an emc crystal
Definition: BSEmcMCPoint.h:40
virtual void SetupParameters(const PndParameterRegister *t_paramRegister)
Fetch all parameters from the PndParameterRegister.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual Double_t GetEnergy(const BSEmcMCPoint *t_point) const