PandaRoot
PndMcListConverter.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 PNDMCLISTCONVERTER_H
14 #define PNDMCLISTCONVERTER_H 1
15 
16 #include "FairTask.h"
17 #include <map>
18 #include <string>
19 
20 class TClonesArray;
21 class TDatabasePDG;
22 
23 class PndMcListConverter : public FairTask {
24 
25  public:
28 
31 
33  virtual InitStatus Init();
34 
36  virtual void Exec(Option_t *opt);
37 
38  virtual void FinishEvent();
39  // void CreateStructure();
40 
41  void SetVerbose(Bool_t verb) { fVerbose = verb; };
42 
43  private:
45  TClonesArray *fMcCandidates;
46  TClonesArray *fMcTracks;
47 
51  virtual void SetParContainers();
52 
53  ClassDef(PndMcListConverter, 1);
54 };
55 
56 #endif
virtual void Exec(Option_t *opt)
void SetVerbose(Bool_t verb)
virtual InitStatus Init()
virtual void FinishEvent()