13#define TRG_SHORT_NAMES
14#define TRGCDC_SHORT_NAMES
16#include "trg/trg/Debug.h"
17#include "trg/trg/Channel.h"
18#include "trg/trg/Utilities.h"
19#include "trg/cdc/TRGCDC.h"
20#include "trg/cdc/Cell.h"
21#include "trg/cdc/Wire.h"
22#include "trg/cdc/WireHit.h"
23#include "trg/cdc/Segment.h"
24#include "trg/cdc/SegmentHit.h"
25#include "trg/cdc/EventTimeFinder.h"
26#include "trg/cdc/FrontEnd.h"
27#include "trg/cdc/Merger.h"
46 :
TRGBoard(name, systemClock, dataClock, userClockInput, userClockOutput)
60 std::vector<const TRGCDCTrackSegmentFinder*>::push_back(a);
67 const string sn =
"ETF::simulate : " +
name();
71 for (
unsigned i = 0; i <
nOutput(); i++) {
73 if (output(i)->signal())
74 delete output(i)->signal();
A class to represent a trigger board.
a class of TrackSegmentFinder in TRGCDC
A class to represent a digitized signal. Unit is nano second.
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.
static void enterStage(const std::string &stageName)
Declare that you enter new stage.
~TRGCDCEventTimeFinder()
Destructor.
static void leaveStage(const std::string &stageName)
Declare that you leave a stage.
void simulate(void)
Firmware simulation. yi.
unsigned nOutput(void) const
returns output channels.
Abstract base class for different kinds of events.