17#include "trg/trg/Board.h"
18#include "trg/trg/SignalVector.h"
19#include "trg/trg/SignalBundle.h"
21#ifdef TRGCDC_SHORT_NAMES
22#define TCTracker2D TRGCDCTracker2D
32 class TRGCDCTrackSegmentFinder;
37 public std::vector<const TRGCDCTrackSegmentFinder*> {
53 static std::string
version(
void);
63 static unsigned nTSF(
void);
66 static unsigned nTSF(
unsigned i);
74 bool& logicStillActive);
88 void dump(
const std::string& message =
"",
89 const std::string& pre =
"")
const;
105 static std::vector<unsigned>
_n;
117 return 160 + 192 + 256 + 320 + 384;
A class to represent a trigger board.
a class of TrackSegmentFinder in TRGCDC
A class to represent a CDC 2D tracker board.
static void HoughMappingPlus(void)
Do core logic simulation for positive charge.
static void HoughMappingMinus(void)
Do core logic simulation for negative charge.
A class to represent a digitized signal. Unit is nano second.
A class to represent a state of multi bits.
static TRGState packer(const TRGState &input, TRGState ®isters, bool &logicStillActive)
Packer for 3D tracker.
static void unpacker(const TRGState &input, TRGState &output)
Unpack TSF output.
void push_back(const TRGCDCTrackSegmentFinder *)
Appends a TSF board.
virtual ~TRGCDCTracker2D()
Destructor.
const std::string & name(void) const
returns name.
static std::vector< unsigned > _n
# of TSFs in super layer i.
static unsigned nTSF(void)
returns # of TSF.
static unsigned _nTSF
# of TSFs.
static std::string version(void)
returns version.
void simulate(void)
simulates firmware.
static void hitInformation(const TRGState ®isters)
Gets TSF hit information for one certin clock from the registers.
static TRGState _ts
Keeps TS hit info.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
void setConstants(void)
Sets constants.
Abstract base class for different kinds of events.