PandaRoot
BSEmcPlotAllRecoHits.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 BSEMCPLOTALLRECOHITS_HH
14 #define BSEMCPLOTALLRECOHITS_HH
15 
16 #include "Rtypes.h"
17 #include "TString.h"
18 
19 #include "PndContainerI.h"
20 
21 #include "BSEmcPlotProcess.h"
22 #include "BSEmcRecoHit.h"
23 
24 class TBuffer;
25 class TClass;
26 class TMemberInspector;
27 
37  public:
38  BSEmcPlotAllRecoHits() : BSEmcPlotProcess("BSEmcPlotAllRecoHits") {}
39  virtual void RequestDataContainer(PndContainerRegister *t_register) /*override*/;
40  virtual void GetDataContainer(PndContainerRegister *t_register) /*override*/;
41  virtual void Process() /*override*/;
42  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
43 
44  private:
45  void FillPositionPlot(const BSEmcRecoHit *t_recoHit);
46 
47  PndContainerI<BSEmcRecoHit> *fFWECRecoHitArray{};
48  PndContainerI<BSEmcRecoHit> *fBarrelRecoHitArray{};
49  PndContainerI<BSEmcRecoHit> *fBWECRecoHitArray{};
50  PndContainerI<BSEmcRecoHit> *fShashlikRecoHitArray{};
51  ClassDef(BSEmcPlotAllRecoHits, 1);
52 };
53 
54 #endif /*BSEMCPLOTALLRECOHITS_HH*/
Resembles/Contains all information a particle hitting the EMC can provide for later use in the PID st...
Definition: BSEmcRecoHit.h:43
Base Processclass for plotting.
Process to plot all EMC Reco Hits.
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void InitHistos(const TString &t_folderprefix)
Interface to a datacontainer to be used in PandaROOT.
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.