Belle II Software development
TRGCDCTracker2D Class Reference

A class to represent a CDC 2D tracker board. More...

#include <Tracker2D.h>

Inheritance diagram for TRGCDCTracker2D:
TRGBoard

Public Member Functions

 TRGCDCTracker2D (const std::string &name, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput)
 Constructor.
 
virtual ~TRGCDCTracker2D ()
 Destructor.
 
void simulate (void)
 simulates firmware.
 
void push_back (const TRGCDCTrackSegmentFinder *)
 Appends a TSF board.
 
void dump (const std::string &message="", const std::string &pre="") const
 dumps contents.
 
const std::string & name (void) const
 returns name.
 
const TRGClockclockSystem (void) const
 returns system clock.
 
const TRGClockclockData (void) const
 returns data clock.
 
const TRGClockclockUserInput (void) const
 returns Aurora user clock for input.
 
const TRGClockclockUserOutput (void) const
 returns Aurora user clock for output.
 
unsigned nInput (void) const
 returns input channels.
 
const TRGChannelinput (unsigned i) const
 returns input channel i.
 
unsigned nOutput (void) const
 returns output channels.
 
TRGChanneloutput (unsigned i) const
 returns output channel i.
 
void appendInput (const TRGChannel *)
 appends an input Aurora channel.
 
void appendOutput (TRGChannel *)
 appends an output Aurora channel.
 

Static Public Member Functions

static std::string version (void)
 returns version.
 
static unsigned nTSF (void)
 returns # of TSF.
 
static unsigned nTSF (unsigned i)
 returns # of TSF in super layer i. (i=0 to 4)
 
static void unpacker (const TRGState &input, TRGState &output)
 Unpack TSF output.
 
static TRGState packer (const TRGState &input, TRGState &registers, bool &logicStillActive)
 Packer for 3D tracker.
 
static void HoughMappingPlus (void)
 Do core logic simulation for positive charge.
 
static void HoughMappingMinus (void)
 Do core logic simulation for negative charge.
 

Public Attributes

elements
 STL member.
 

Private Member Functions

void setConstants (void)
 Sets constants.
 

Static Private Member Functions

static void hitInformation (const TRGState &registers)
 Gets TSF hit information for one certin clock from the registers.
 

Private Attributes

const std::string _name
 Name of a board.
 
const TRGClock_clockSystem
 System clock.
 
const TRGClock_clockData
 Data clock.
 
const TRGClock_clockUserInput
 User clock.
 
const TRGClock_clockUserOutput
 User clock.
 
std::vector< const TRGChannel * > _inputChannels
 Input Aurora channel.
 
std::vector< TRGChannel * > _outputChannels
 Output Aurora channel.
 

Static Private Attributes

static unsigned _nTSF = 0
 # of TSFs.
 
static std::vector< unsigned > _n
 # of TSFs in super layer i.
 
static TRGState _ts
 Keeps TS hit info.
 

Detailed Description

A class to represent a CDC 2D tracker board.

Definition at line 35 of file Tracker2D.h.

Member Data Documentation

◆ _clockData

const TRGClock* _clockData
privateinherited

Data clock.

Definition at line 90 of file Board.h.

◆ _clockSystem

const TRGClock* _clockSystem
privateinherited

System clock.

Definition at line 87 of file Board.h.

◆ _clockUserInput

const TRGClock* _clockUserInput
privateinherited

User clock.

Definition at line 93 of file Board.h.

◆ _clockUserOutput

const TRGClock* _clockUserOutput
privateinherited

User clock.

Definition at line 96 of file Board.h.

◆ _inputChannels

std::vector<const TRGChannel*> _inputChannels
privateinherited

Input Aurora channel.

Definition at line 99 of file Board.h.

◆ _name

const std::string _name
privateinherited

Name of a board.

Definition at line 84 of file Board.h.

◆ _outputChannels

std::vector<TRGChannel*> _outputChannels
privateinherited

Output Aurora channel.

Definition at line 102 of file Board.h.


The documentation for this class was generated from the following files: