FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairMCMatchCreatorTask.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
// -------------------------------------------------------------------------
9
// ----- FAIRMCMATCHCREATORTASK header file -----
10
// ----- Created 20/03/07 by R.Kliemt -----
11
// -------------------------------------------------------------------------
12
19
#ifndef FAIRMCMATCHCREATORTASK_H
20
#define FAIRMCMATCHCREATORTASK_H
21
22
#include "
FairTask.h
"
// for InitStatus, FairTask
23
24
#include <Rtypes.h>
// for Bool_t, etc
25
#include <map>
// for map
26
#include <string>
// for string
27
28
class
FairMCMatch
;
29
class
TClonesArray;
30
31
class
FairMCMatchCreatorTask
:
public
FairTask
32
{
33
public
:
35
FairMCMatchCreatorTask
();
36
38
virtual
~FairMCMatchCreatorTask
();
39
41
virtual
void
SetParContainers
();
42
void
SetPersistance
(Bool_t pers) { fPersistance = pers; }
43
Bool_t
GetPersistance
() {
return
fPersistance; }
44
45
virtual
InitStatus
Init
();
46
48
virtual
void
Exec
(Option_t* opt);
49
50
virtual
void
Finish
();
51
52
virtual
void
InitDataStages
() = 0;
53
54
protected
:
55
FairMCMatch
*
fMCMatch
;
56
57
private
:
58
std::map<std::string, TClonesArray*> fBranches;
59
Bool_t fPersistance;
60
TClonesArray* fMCLink;
//->
61
Int_t fEventNr;
62
63
InitStatus
InitBranches();
64
65
void
Register();
66
67
void
Reset();
68
69
void
ProduceHits();
70
71
FairMCMatchCreatorTask
(
const
FairMCMatchCreatorTask
&);
72
FairMCMatchCreatorTask
& operator=(
const
FairMCMatchCreatorTask
&);
73
74
ClassDef(
FairMCMatchCreatorTask
, 1);
75
};
76
77
#endif
FairMCMatchCreatorTask::SetPersistance
void SetPersistance(Bool_t pers)
Definition:
FairMCMatchCreatorTask.h:42
FairTask
Definition:
FairTask.h:40
InitStatus
InitStatus
Definition:
FairTask.h:33
FairMCMatchCreatorTask::Exec
virtual void Exec(Option_t *opt)
Definition:
FairMCMatchCreatorTask.cxx:92
FairMCMatchCreatorTask::Init
virtual InitStatus Init()
Definition:
FairMCMatchCreatorTask.cxx:35
FairMCMatchCreatorTask::SetParContainers
virtual void SetParContainers()
Definition:
FairMCMatchCreatorTask.cxx:90
FairMCMatchCreatorTask::GetPersistance
Bool_t GetPersistance()
Definition:
FairMCMatchCreatorTask.h:43
FairMCMatchCreatorTask::fMCMatch
FairMCMatch * fMCMatch
Definition:
FairMCMatchCreatorTask.h:55
FairMCMatchCreatorTask::InitDataStages
virtual void InitDataStages()=0
FairMCMatchCreatorTask::FairMCMatchCreatorTask
FairMCMatchCreatorTask()
Definition:
FairMCMatchCreatorTask.cxx:24
FairMCMatchCreatorTask::Finish
virtual void Finish()
Definition:
FairMCMatchCreatorTask.cxx:135
FairMCMatch
Definition:
FairMCMatch.h:38
FairMCMatchCreatorTask::~FairMCMatchCreatorTask
virtual ~FairMCMatchCreatorTask()
Definition:
FairMCMatchCreatorTask.cxx:33
FairTask.h
FairMCMatchCreatorTask
Definition:
FairMCMatchCreatorTask.h:31
FairRoot
datamatch
FairMCMatchCreatorTask.h
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5