R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandMultiplicityCalorimetricPar.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2025 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#ifndef R3BNEULANDMULTIPLICITYCALORIMETRICPAR_H
15#define R3BNEULANDMULTIPLICITYCALORIMETRICPAR_H
16
17#include "FairParGenericSet.h"
18#include "FairParamList.h"
19#include "TCutG.h"
20#include "TMap.h"
21#include <map>
22
29
30class R3BNeulandMultiplicityCalorimetricPar : public FairParGenericSet
31{
32 public:
33 // needs to be public?
34 // Note: There MUST NOT be a //! after the variable
36
37 R3BNeulandMultiplicityCalorimetricPar(const char* name = "R3BNeulandMultiplicityCalorimetricPar",
38 const char* title = "Neuland Neutron 2D Parameters",
39 const char* context = "TestDefaultContext");
41
42 void clear() override;
43 void putParams(FairParamList*) override;
44 Bool_t getParams(FairParamList*) override;
45 void printParams() override;
46
47 std::map<UInt_t, TCutG*> GetNeutronCuts() const;
48 TCutG* GetNeutronCut(const Int_t n) const;
49 void SetNeutronCuts(const std::map<UInt_t, TCutG*>& cuts);
50 UInt_t GetNeutronMultiplicity(const Double_t energy, const Double_t nClusters) const;
51
52 private:
55
56 ClassDefOverride(R3BNeulandMultiplicityCalorimetricPar, 2)
57};
58
59#endif // R3BNEULANDMULTIPLICITYCALORIMETRICPAR_H
void SetNeutronCuts(const std::map< UInt_t, TCutG * > &cuts)
UInt_t GetNeutronMultiplicity(const Double_t energy, const Double_t nClusters) const
R3BNeulandMultiplicityCalorimetricPar(const char *name="R3BNeulandMultiplicityCalorimetricPar", const char *title="Neuland Neutron 2D Parameters", const char *context="TestDefaultContext")