Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HitRebuilderInterfaceTAC.h
Go to the documentation of this file.
1 /*
2  * HitBuilderInterfaceTAC.h
3  *
4  * Created on: Jun 23, 2017
5  * Author: Hovanes Egiyan
6  */
7 
8 #ifndef LIBRARIES_TAC_HITREBUILDERINTERFACETAC_H_
9 #define LIBRARIES_TAC_HITREBUILDERINTERFACETAC_H_
10 
11 #include <vector>
12 #include <set>
13 
14 #include <JANA/JFactory.h>
15 #include <JANA/JEventLoop.h>
16 #include <DAQ/Df250WindowRawData.h>
17 #include <TAC/DTACHit.h>
18 
19 //class DTACHit;
20 //class Df250WindowRawData;
21 //class JEventLoop;
22 
24 protected:
25  virtual double getTimeFromRawData(const std::vector<uint16_t>& samples) = 0;
26  virtual const Df250WindowRawData* getRawData(const DTACHit* baseHit) = 0;
27  jerror_t readCCDB(jana::JEventLoop* eventLoop) = delete;
28 
29 public:
31  }
33  }
34  virtual std::vector<DTACHit*> operator()(
35  std::vector<const DTACHit*>& baseHitVector) = 0;
36 };
37 
38 #endif /* LIBRARIES_TAC_HITREBUILDERINTERFACETAC_H_ */
virtual const Df250WindowRawData * getRawData(const DTACHit *baseHit)=0
virtual double getTimeFromRawData(const std::vector< uint16_t > &samples)=0
virtual std::vector< DTACHit * > operator()(std::vector< const DTACHit * > &baseHitVector)=0
jerror_t readCCDB(jana::JEventLoop *eventLoop)=delete