SND@LHC Software
Loading...
Searching...
No Matches
ecalMatch.h
Go to the documentation of this file.
1
/* Matching for the calorimeter. Use photon or electron with maximum energy deposition in 3x3 cluster
2
*/
3
#ifndef ECALMATCH
4
#define ECALMATCH
5
6
#include "FairTask.h"
7
8
class
TClonesArray;
9
class
ecalStructure
;
10
11
class
ecalMatch
:
public
FairTask
12
{
13
public
:
15
ecalMatch
(
const
char
* name,
const
Int_t verbose);
17
ecalMatch
();
18
20
Int_t
GetUse3x3
()
const
{
return
fUse3x3
;}
21
void
SetUse3x3
(Int_t use3x3=0) {
fUse3x3
=use3x3;}
22
24
virtual
void
Finish
();
26
virtual
void
Exec
(Option_t* option, TClonesArray* reconstructed, TClonesArray* mctracks);
28
virtual
InitStatus
Init
();
29
void
InitPython
(
ecalStructure
* str, TClonesArray* reconstructed, TClonesArray* mctracks);
31
~ecalMatch
();
32
private
:
34
Int_t
fEv
;
36
Int_t
fN
;
38
Int_t
fRejected
;
40
Int_t
fUse3x3
;
41
43
TClonesArray*
fReconstucted
;
45
TClonesArray*
fMCTracks
;
47
ecalStructure
*
fStr
;
48
49
ClassDef(
ecalMatch
, 1)
50
};
51
52
#endif
ecalMatch
Definition
ecalMatch.h:12
ecalMatch::fReconstucted
TClonesArray * fReconstucted
Definition
ecalMatch.h:43
ecalMatch::GetUse3x3
Int_t GetUse3x3() const
Definition
ecalMatch.h:20
ecalMatch::Finish
virtual void Finish()
Definition
ecalMatch.cxx:136
ecalMatch::Exec
virtual void Exec(Option_t *option, TClonesArray *reconstructed, TClonesArray *mctracks)
Definition
ecalMatch.cxx:17
ecalMatch::fStr
ecalStructure * fStr
Definition
ecalMatch.h:47
ecalMatch::InitPython
void InitPython(ecalStructure *str, TClonesArray *reconstructed, TClonesArray *mctracks)
Definition
ecalMatch.cxx:178
ecalMatch::fN
Int_t fN
Definition
ecalMatch.h:36
ecalMatch::fRejected
Int_t fRejected
Definition
ecalMatch.h:38
ecalMatch::~ecalMatch
~ecalMatch()
Definition
ecalMatch.cxx:142
ecalMatch::fUse3x3
Int_t fUse3x3
Definition
ecalMatch.h:40
ecalMatch::fMCTracks
TClonesArray * fMCTracks
Definition
ecalMatch.h:45
ecalMatch::Init
virtual InitStatus Init()
Definition
ecalMatch.cxx:147
ecalMatch::fEv
Int_t fEv
Definition
ecalMatch.h:34
ecalMatch::ecalMatch
ecalMatch()
Definition
ecalMatch.cxx:128
ecalMatch::SetUse3x3
void SetUse3x3(Int_t use3x3=0)
Definition
ecalMatch.h:21
ecalStructure
Definition
ecalStructure.h:25
ecal
ecalMatch.h
Generated by
1.9.8