 |
Belle II Software
release-05-02-19
|
42 const std::string&
name =
"signal");
49 const std::string&
name =
"signal");
57 const std::string&
name(
void)
const;
60 const std::string&
name(
const std::string& newName);
63 bool edge(
void)
const;
73 void dump(
const std::string& message =
"",
74 const std::string& pre =
"")
const;
100 int time(
int newTime);
192 if (
_time != a._time)
return false;
193 if (
_edge != a._edge)
return false;
194 if (
_clock != a._clock)
return false;
203 return (!
operator==(a));
A class to represent a digitized signal. Unit is nano second.
bool _edge
Edge type. true : rising, false : falling.
TRGTime & shift(int unit)
delays by clock unit.
bool operator!=(const TRGTime &) const
returns false if two are the same.
TRGSignal operator|(const TRGTime &) const
oring two TRGTime. A result is TRGSignal.
bool operator==(const TRGTime &) const
returns true if two are the same.
bool edge(void) const
returns edge information.
const std::string & name(void) const
returns name.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
const TRGClock & clock(void) const
returns clock.
static bool sortByTime(const TRGTime &a, const TRGTime &b)
returns true if a is older than b.
Abstract base class for different kinds of events.
const TRGClock * _clock
Clock.
TRGSignal operator&(const TRGTime &) const
adding two TRGTime. A result is TRGSignal.
int time(void) const
returns timing in clock position.
virtual ~TRGTime()
Destructor.
TRGTime(const TRGTime &)
Copy constructor.
A class to represent a signal timing in the trigger system.
A class to represent a digitized signal. Unit is nano second.
int _time
Time in clock unit.
TRGTime & reverse(void)
reverse edge.