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
43 inline void SetFirstPlaneHorisontal() { fFirstPlaneHorisontal = kTRUE; }
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;
52 Bool_t fFirstPlaneHorisontal;
53
54 Int_t fnEvents;
55 Double_t fDistance;
56
57 TClonesArray* fLandDigi;
58 TClonesArray* fLosHit;
59
60 TH1F* fh_land_barid;
61 TH2F* fh_land_qdcbarid;
62 TH1F* fh_land_tof;
63 TH2F* fh_land_qdctof;
64 TH2F* fh_land_qdctof_norm;
65 TH2F* fh_land_timebarid;
66 TH2F* fh_land_tofbarid;
67 TH2F* fh_land_betabarid;
68 TH2F* fh_land_yx;
69 TH2F* fh_land_yx1;
70 TH2F* fh_land_yx2;
71 TH2F* fh_land_lbarid;
72 TH2F* fh_land_ltime;
73
74 TH1F* fh_land_beta;
75 TH1F* fh_land_qdc;
76 TH1F* fh_land_qdc_cut;
77
78 TH1F* fh_los_time;
79
80 TH2F* fh_los_corr;
81
82 TH1F* fh_land_norm_tof;
83
84 void CreateHistos();
85
86 void WriteHistos();
87
88 public:
89 ClassDef(R3BNeulandHitHist, 0)
90};
91
92#endif
void SetDistance(Double_t t)
virtual void Exec(Option_t *option)
void SetNofBars(Int_t nofBars)
void SetTimeOffset(Double_t t)
virtual void FinishTask()
virtual InitStatus Init()