R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTacquilaMapped2CalPar.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 R3BNEULANDTACQUILAMAPPED2CALPAR_H
15#define R3BNEULANDTACQUILAMAPPED2CALPAR_H
16
17#include "FairTask.h"
18
19class R3BTCalPar;
20class TClonesArray;
21class R3BEventHeader;
22class R3BTCalEngine;
23
32class R3BNeulandTacquilaMapped2CalPar : public FairTask
33{
34
35 public:
41
48 R3BNeulandTacquilaMapped2CalPar(const char* name, Int_t iVerbose = 1);
49
55
62 virtual InitStatus Init();
63
69 virtual void Exec(Option_t* option);
70
76 virtual void FinishEvent();
77
82 virtual void FinishTask();
83
88 inline void SetUpdateRate(Int_t rate) { fUpdateRate = rate; }
89
97 inline void SetMinStats(Int_t minStats) { fMinStats = minStats; }
98
103 inline void SetTrigger(Int_t trigger) { fTrigger = trigger; }
104
109 inline void SetNofModules(Int_t nPMTs) { fNofPMTs = nPMTs; }
110
111 private:
112 Int_t fUpdateRate;
113 Int_t fMinStats;
114 Int_t fTrigger;
115
116 Int_t fNofPMTs;
117
118 Int_t fNEvents;
119 R3BTCalPar* fCal_Par;
120 TClonesArray* fHits;
121 R3BEventHeader* header;
122
123 R3BTCalEngine* fEngine;
124
125 public:
127};
128
129#endif
An analysis task for TCAL calibration of NeuLAND data.
void SetUpdateRate(Int_t rate)
Method for setting the update rate.
virtual void FinishEvent()
A method for finish of processing of an event.
virtual void Exec(Option_t *option)
Method for event loop implementation.
void SetNofModules(Int_t nPMTs)
Method for setting number of modules in NeuLAND setup.
void SetTrigger(Int_t trigger)
Method for selecting events with certain trigger value.
void SetMinStats(Int_t minStats)
Method for setting minimum required statistics per module.
virtual void FinishTask()
Method for finish of the task execution.
virtual InitStatus Init()
Method for task initialization.