R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTcalFill.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// ----------------------------------------------------------------
15// ----- R3BNeulandTcalFill -----
16// ----- Created 27-01-2015 by M.Heil -----
17// ----------------------------------------------------------------
18
19#ifndef R3BNEULANDTCALFILL_H
20#define R3BNEULANDTCALFILL_H
21
22#include "FairTask.h"
23
24class R3BTCalPar;
25class TClonesArray;
26class R3BEventHeader;
27class R3BTCalEngine;
28
37class R3BNeulandTcalFill : public FairTask
38{
39
40 public:
46
53 R3BNeulandTcalFill(const char* name, Int_t iVerbose = 1);
54
59 virtual ~R3BNeulandTcalFill();
60
67 virtual InitStatus Init();
68
74 virtual void Exec(Option_t* option);
75
81 virtual void FinishEvent();
82
87 virtual void FinishTask();
88
93 inline void SetUpdateRate(Int_t rate) { fUpdateRate = rate; }
94
102 inline void SetMinStats(Int_t minStats) { fMinStats = minStats; }
103
108 inline void SetTrigger(Int_t trigger) { fTrigger = trigger; }
109
116 inline void SetNofModules(Int_t nPlanes, Int_t nBars, Int_t n17)
117 {
118 fNofPlanes = nPlanes;
119 fNofBars = nBars;
120 fNof17 = n17;
121 }
122
123 private:
124 Int_t fUpdateRate;
125 Int_t fMinStats;
126 Int_t fTrigger;
127
128 Int_t fNofPlanes;
129 Int_t fNofBars;
130 Int_t fNof17;
131
132 Int_t fNEvents;
133 R3BTCalPar* fCal_Par;
134 TClonesArray* fHits;
135 R3BEventHeader* header;
136
137 R3BTCalEngine* fEngine;
138
139 public:
140 ClassDef(R3BNeulandTcalFill, 1)
141};
142
143#endif // Test 1
An analysis task for TCAL calibration of NeuLAND Tamex data.
void SetTrigger(Int_t trigger)
Method for selecting events with certain trigger value.
virtual ~R3BNeulandTcalFill()
Destructor.
R3BNeulandTcalFill()
Default constructor.
virtual void FinishTask()
Method for finish of the task execution.
virtual void Exec(Option_t *option)
Method for event loop implementation.
void SetMinStats(Int_t minStats)
Method for setting minimum required statistics per module.
void SetNofModules(Int_t nPlanes, Int_t nBars, Int_t n17)
Method for setting number of modules in NeuLAND setup.
virtual void FinishEvent()
A method for finish of processing of an event.
virtual InitStatus Init()
Method for task initialization.
void SetUpdateRate(Int_t rate)
Method for setting the update rate.
constexpr Int_t nPlanes