Belle II Software  release-08-01-10
EventTimeFinder.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 //-----------------------------------------------------------------------------
10 // Description : A class to find an event timing
11 //-----------------------------------------------------------------------------
12 
13 #ifndef TRGCDCEventTimeFinder_FLAG_
14 #define TRGCDCEventTimeFinder_FLAG_
15 
16 #include "trg/trg/Board.h"
17 #include "trg/trg/SignalVector.h"
18 
19 #ifdef TRGCDC_SHORT_NAMES
20 #define TCETFinder TRGCDCEventTimeFinder
21 #define ETFinder TRGCDCEventTimeFinder
22 #endif
23 
24 namespace Belle2 {
30  class TRGCDCTrackSegmentFinder;
31 
34  : public TRGBoard,
35  public std::vector <const TRGCDCTrackSegmentFinder*> {
36 
37  public:
38 
40  TRGCDCEventTimeFinder(const std::string& name,
41  const TRGClock& systemClock,
42  const TRGClock& dataClock,
43  const TRGClock& userClockInput,
44  const TRGClock& userClockOutput);
45 
48 
49  public:
50 
52  static std::string version(void);
53 
56 
58  void simulate(void);
59 
61  TRGSignalVector* packerForTracker(vector<TRGSignalVector*>&,
62  vector<int>&,
63  const unsigned);
64 
65  private:
66 
68  //TRGSignalBundle * _tisb;
69 
71  };
72 
74 } // namespace Belle2
75 
76 #endif
A class to represent a trigger board.
Definition: Board.h:25
A class of TRGCDC Event Time Finder.
TRGSignalVector * packerForTracker(vector< TRGSignalVector * > &, vector< int > &, const unsigned)
Output packer for tracker.
static std::string version(void)
return version
a class of TrackSegmentFinder in TRGCDC
A class to represent a digitized signal. Unit is nano second.
Definition: Clock.h:38
A class to represent a bundle of digitized signals.
Definition: SignalVector.h:26
void push_back(const TRGCDCTrackSegmentFinder *)
push back the TRGCDCTrackSegmentFinder pointer
TRGCDCEventTimeFinder(const std::string &name, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput)
Constructor.
const std::string & name(void) const
returns name.
Definition: Board.h:109
void simulate(void)
Firmware simulation. yi.
Abstract base class for different kinds of events.