R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandHitHist.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// ----- R3BNeulandHitHist -----
16// ----- Created 22-04-2014 by D.Kresan -----
17// -----------------------------------------------------------------------------
18
19#ifndef R3BNEULANDHITHIST_H
20#define R3BNEULANDHITHIST_H
21
22#include "FairTask.h"
23
24class TClonesArray;
25class TH1F;
26class TH2F;
27
28class R3BNeulandHitHist : public FairTask
29{
30 public:
32 R3BNeulandHitHist(const char* name, Int_t iVerbose);
33 virtual ~R3BNeulandHitHist();
34
35 virtual InitStatus Init();
36
37 virtual void Exec(Option_t* option);
38
39 virtual void FinishTask();
40
41 inline void SetNofBars(Int_t nofBars) { fNofBars = nofBars; }
42
44
45 inline void SetTimeOffset(Double_t t) { fTimeOffset = t; }
46
47 inline void SetDistance(Double_t t) { fDistance = t; }
48
49 private:
50 Int_t fNofBars;
51 Double_t fTimeOffset;
53
54 Int_t fnEvents;
55 Double_t fDistance;
56
57 TClonesArray* fLandDigi;
58 TClonesArray* fLosHit;
59
73
77
79
81
83
84 void CreateHistos();
85
86 void WriteHistos();
87
88 public:
89 ClassDef(R3BNeulandHitHist, 0)
90};
91
92#endif
void SetDistance(Double_t t)
TClonesArray * fLosHit
virtual void Exec(Option_t *option)
TClonesArray * fLandDigi
void SetNofBars(Int_t nofBars)
void SetTimeOffset(Double_t t)
virtual void FinishTask()
virtual InitStatus Init()