PandaRoot
BSEmcPlotRecoHitVsMC.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 BSEMCPLOTRECOHITVSMC_HH
14 #define BSEMCPLOTRECOHITVSMC_HH
15 #include <memory>
16 
17 #include "Rtypes.h"
18 #include "TString.h"
19 #include "TVector3.h"
20 
21 #include "BSEmcPlotProcess.h"
22 
23 class BSEmcRecoHit;
24 class PndMCTrack;
25 class TBuffer;
26 class TClass;
27 class TMemberInspector;
28 
38  public:
39  BSEmcPlotRecoHitVsMC() : BSEmcPlotProcess("BSEmcPlotRecoHitVsMC"){};
40  virtual ~BSEmcPlotRecoHitVsMC(){};
41  virtual void RequestDataContainer(PndContainerRegister *t_register) /*override*/;
42  virtual void GetDataContainer(PndContainerRegister *t_register) /*override*/;
43  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
44  virtual void Process() /*override*/;
45 
46  private:
47  std::unique_ptr<PndMCTrack> GetMostPrimaryMCTrack(const BSEmcRecoHit *t_recohit) const;
48 
49  ClassDef(BSEmcPlotRecoHitVsMC, 1);
50 };
51 #endif /*BSEMCPLOTRECOHITVSMC_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.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void InitHistos(const TString &t_folderprefix)
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
Process creating plots to test Theta and Phi reconstruction of RecoHits vs MCTruth value...
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.