/
CbmMCMatchLoaderTask.h
70 lines (42 loc) · 1.28 KB
/
CbmMCMatchLoaderTask.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// -------------------------------------------------------------------------
// ----- PNDMCMATCHCREATORTASK header file -----
// ----- Created 20/03/07 by R.Kliemt -----
// -------------------------------------------------------------------------
/** PNDMCMATCHCREATORTASK.h
*@author T.Stockmanns <t.stockmanns@fz-juelich.de>
**
** Displays all available informations for a given event
**/
#ifndef CBMMCMATCHLOADERTASK_H
#define CBMMCMATCHLOADERTASK_H
// framework includes
#include "FairTask.h"
//#include <vector>
//#include <map>
class CbmMCMatch;
class TClonesArray;
class CbmMCMatchLoaderTask : public FairTask
{
public:
/** Default constructor **/
CbmMCMatchLoaderTask();
/** Destructor **/
virtual ~CbmMCMatchLoaderTask();
/** Virtual method Init **/
virtual void SetParContainers();
virtual InitStatus Init();
/** Virtual method Exec **/
virtual void Exec(Option_t* opt);
virtual void Finish();
private:
TClonesArray* fMCLink;
int fEventNr;
CbmMCMatch* fMCMatch;
void Register();
void Reset();
void ProduceHits();
CbmMCMatchLoaderTask(const CbmMCMatchLoaderTask&);
CbmMCMatchLoaderTask& operator=(const CbmMCMatchLoaderTask&);
ClassDef(CbmMCMatchLoaderTask,1);
};
#endif