PandaRoot
PndMvdDigiEventAna.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 //
14 // C++ Interface: PndMvdMCEventAna
15 //
16 // Description:
17 //
18 //
19 // Author: t.stockmanns <stockman@ikp455>, (C) 2007
20 //
21 // Copyright: See COPYING file that comes with this distribution
22 //
23 //
24 #ifndef PNDMVDDIGIEVENTANA_H
25 #define PNDMVDDIGIEVENTANA_H
26 
27 #include "PndMvdEventAna.h"
28 #include "PndSdsMCPoint.h"
29 #include "PndSdsDigiPixel.h"
30 #include "TTree.h"
31 #include "TCanvas.h"
32 #include "TH1.h"
33 #include "TH2.h"
34 #include "TFile.h"
35 #include "TClonesArray.h"
36 
41  public:
43  PndMvdDigiEventAna(TString fileName);
44  virtual ~PndMvdDigiEventAna(){};
45 
46  virtual void InitBranch();
47  virtual void InitHistos();
48  virtual void AnaHitNr(Int_t hitNr);
49  void EndOfEventAction();
50 
51  void CreateMaxHitsHisto();
52  void DrawSingleModuleFEHisto(TString path);
53  void DrawAllModulesFEHisto();
54 
55  protected:
56  std::map<TString, std::vector<Int_t> *> fFeHits;
57  std::map<TString, std::vector<PndSdsDigiPixel>> fDigiPixelArray;
58 
60 };
61 
62 #endif
virtual void InitHistos()
void DrawAllModulesFEHisto()
virtual void AnaHitNr(Int_t hitNr)
virtual void InitBranch()
std::map< TString, std::vector< Int_t > * > fFeHits
void DrawSingleModuleFEHisto(TString path)
std::map< TString, std::vector< PndSdsDigiPixel > > fDigiPixelArray
ClassDef(PndMvdDigiEventAna, 2)