FairRoot/PandaRoot
PndFtsRecoHitProducer.cxx
Go to the documentation of this file.
1 // ========================================
2 // PndFtsRecoHitProducer
3 //
4 // Class for kalman fitting with genfit for FTS
5 //
6 // This FTS specific reco hit producer was created to be able
7 // to access the tube array TCA from in addition to the hit TCA
8 // when constructing the reco hit.
9 //
10 // It inherits from GFAbsRecoHitProducer and has been written
11 // following the GFRecoHitProducer
12 // ========================================
13 
14 #include "PndFtsRecoHitProducer.h"
15 
16 #include<iostream>
17 
18 // template <class hit_T,class recoHit_T>
19 // PndFtsRecoHitProducer<hit_T,recoHit_T>::PndFtsRecoHitProducer(TClonesArray* theArr, TClonesArray* theTubeArr) {
20 // hitArrayTClones = theArr;
21 // tubeArrayTClones = theTubeArr;
22 // }
23 
24 // template <class hit_T,class recoHit_T>
25 // PndFtsRecoHitProducer<hit_T,recoHit_T>::~PndFtsRecoHitProducer() {
26 // }
27 
28 
29 // template <class hit_T,class recoHit_T>
30 // GFAbsRecoHit* PndFtsRecoHitProducer<hit_T,recoHit_T>::produce(int index) {
31 // assert(hitArrayTClones!=NULL);
32 // assert(tubeArrayTClones!=NULL);
33 // if(hitArrayTClones->At(index) == 0) {
34 // GFException e("In PndFtsRecoHitProducer: index for hit in TClonesArray out of bounds",__LINE__,__FILE__);
35 // e.setFatal();
36 // throw e;
37 // }
38 
39 // return ( new recoHit_T( (hit_T*) hitArrayTClones->At(index), tubeArrayTClones ) );
40 // }
41 
42 
43 
44