R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandClusterMon.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 R3BNEULANDCLUSTERMON_H
15#define R3BNEULANDCLUSTERMON_H
16
26
27#include "FairTask.h"
28#include "Filterable.h"
29#include "R3BNeulandCluster.h"
30#include <R3BIOConnector.h>
31#include <Rtypes.h>
32#include <RtypesCore.h>
33#include <TString.h>
34#include <vector>
35
36class TH1D;
37class TH2D;
38class TH3D;
39
40class R3BNeulandClusterMon : public FairTask
41{
42 public:
43 explicit R3BNeulandClusterMon(TString input = "NeulandClusters",
44 TString output = "NeulandClusterMon",
45 const Option_t* option = "");
46
47 protected:
48 auto Init() -> InitStatus override;
49 void Finish() override;
50
51 public:
52 void Exec(Option_t*) override;
53 void SetBeta(double b) { fBeta = b; }
55
56 private:
58 std::vector<R3BNeulandCluster> fNeulandClustersBuffer;
59 TString fOutput;
60
61 double fBeta; // just for ClusterRValue
62
64 TH3D* fh3;
65
77
81
83
86
95
97
105
106 TH1D* fhZ;
110 TH1D* fhDeltaT;
112
115
116 TH1D* hT;
117 TH1D* hTNeigh;
118
120
121 public:
123};
124
125#endif // R3BNEULANDCLUSTERMON_H
std::function< bool(const T)> Filter
Definition Filterable.h:24
TH2D * fhClusterMaxEnergyDigiMinusFirstDigiPosVSEnergy
void Exec(Option_t *) override
TH2D * fhClusterForemostMinusMaxEnergyDigiPosVSEnergy
TH2D * fhClusterCentroidMinusFirstDigiPosVSEnergy
std::vector< R3BNeulandCluster > fNeulandClustersBuffer
Filterable< R3BNeulandCluster * > fClusterFilters
void AddFilter(const Filterable< R3BNeulandCluster * >::Filter &f)
R3B::InputVectorConnector< R3BNeulandCluster > fNeulandClusters
TH2D * fhClusterMaxEnergyDigiMinusCentroidVSEnergy
R3BNeulandClusterMon(TString input="NeulandClusters", TString output="NeulandClusterMon", const Option_t *option="")
auto Init() -> InitStatus override
ClassDefOverride(R3BNeulandClusterMon, 0)
InputConnector< std::vector< ElementType > > InputVectorConnector