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
8class TClonesArray;
9class ecalStructure;
10
11class ecalMatch : public FairTask
12{
13public:
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();
32private:
34 Int_t fEv;
36 Int_t fN;
38 Int_t fRejected;
40 Int_t fUse3x3;
41
43 TClonesArray* fReconstucted;
45 TClonesArray* fMCTracks;
48
49 ClassDef(ecalMatch, 1)
50};
51
52#endif
TClonesArray * fReconstucted
Definition ecalMatch.h:43
Int_t GetUse3x3() const
Definition ecalMatch.h:20
virtual void Finish()
virtual void Exec(Option_t *option, TClonesArray *reconstructed, TClonesArray *mctracks)
Definition ecalMatch.cxx:17
ecalStructure * fStr
Definition ecalMatch.h:47
void InitPython(ecalStructure *str, TClonesArray *reconstructed, TClonesArray *mctracks)
Int_t fN
Definition ecalMatch.h:36
Int_t fRejected
Definition ecalMatch.h:38
Int_t fUse3x3
Definition ecalMatch.h:40
TClonesArray * fMCTracks
Definition ecalMatch.h:45
virtual InitStatus Init()
Int_t fEv
Definition ecalMatch.h:34
void SetUse3x3(Int_t use3x3=0)
Definition ecalMatch.h:21