 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGSignalBundle_FLAG_
15 #define TRGSignalBundle_FLAG_
18 #include "trg/trg/Clock.h"
27 class TRGSignalVector;
48 const unsigned outputBitSize,
55 const unsigned outputBitSize,
56 const unsigned registerBitSize,
59 bool& logicStillActive));
67 const std::string&
name(
void)
const;
70 const std::string&
name(
const std::string& newName);
89 void dump(
const std::string& message =
"",
90 const std::string& pre =
"")
const;
93 void dumpCOE(
const std::string& fileName =
"",
103 void readCOE(
const std::string& fileName =
"");
127 return _name = newName;
void dumpCOE(const std::string &fileName="", int start=0, int stop=0) const
makes coe output.
A class to represent a digitized signal. Unit is nano second.
std::vector< int > stateChanges(void) const
returns a list of clock position of state change.
A class to represent a state of multi bits.
A class to represent a bundle of SignalVectors.
const std::string & name(void) const
returns name.
bool active(void) const
returns true if there is a signal.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
const TRGClock & clock(void) const
returns clock.
void readCOE(const std::string &fileName="")
reads data from a file.
Abstract base class for different kinds of events.
virtual ~TRGSignalBundle()
Destructor.
TRGSignal ored(void) const
returns signal of all ORed.
TRGSignalBundle(const TRGClock &)
Default constructor.
TRGState state(int clockPosition) const
returns state at given clock position.
A class to represent a digitized signal. Unit is nano second.
const TRGClock * _clock
Clock.