 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGSignalVector_FLAG_
15 #define TRGSignalVector_FLAG_
56 const std::string&
name(
void)
const;
59 const std::string&
name(
const std::string& newName);
68 bool active(
int clockPosition)
const;
78 void dump(
const std::string& message =
"",
79 const std::string& pre =
"")
const;
125 return _name = newName;
139 return (!
operator==(a));
virtual ~TRGSignalVector()
Destructor.
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.
const std::string & name(void) const
returns name.
bool operator!=(const TRGSignalVector &) const
compare two TRGSignalVectors.
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.
Abstract base class for different kinds of events.
TRGSignalVector & operator+=(const TRGSignal &)
appends TRGSignal.
bool operator==(const TRGSignalVector &) const
compare two TRGSignalVectors.
TRGSignalVector(const std::string &name, const TRGClock &, unsigned size=0)
Default constructor.
const TRGClock * _clock
Clock.
TRGState state(int clockPosition) const
returns state at given clock position.
A class to represent a digitized signal. Unit is nano second.
A class to represent a bundle of digitized signals.
const TRGSignalVector & set(const TRGState &, int clockPosition)
sets state at given clock.