PandaRoot
BSEmcPlotCluster.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef BSEMCPLOTCLUSTER_HH
14 #define BSEMCPLOTCLUSTER_HH
15 
16 #include "Rtypes.h"
17 #include "RtypesCore.h"
18 #include "TString.h"
19 
20 #include "BSEmcPlotProcess.h"
21 
22 class BSEmcCluster;
23 class TBuffer;
24 class TClass;
25 class TMemberInspector;
26 
36  public:
37  BSEmcPlotCluster() : BSEmcPlotProcess("BSEmcPlotCluster") {}
38  virtual void RequestDataContainer(PndContainerRegister *t_register) /*override*/;
39  virtual void GetDataContainer(PndContainerRegister *t_register) /*override*/;
40  virtual void Process() /*override*/;
41  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
42 
43  private:
44  Int_t GetMaxDigiIndex(const BSEmcCluster *t_cluster) const;
45  Double_t GetMaxTimeDiff(const BSEmcCluster *t_cluster) const;
46 
47  Int_t fEvent{0};
48  ClassDef(BSEmcPlotCluster, 1);
49 };
50 
51 #endif /*BSEMCPLOTCLUSTER_HH*/
Base Processclass for plotting.
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
Plots some cluster values such as energy, number of digis, etc.
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
a cluster (group of neighboring crystals) of hit emc crystals
Definition: BSEmcCluster.h:66
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void InitHistos(const TString &t_folderprefix)