13#ifndef TRGCDCSegmentHit_FLAG_
14#define TRGCDCSegmentHit_FLAG_
16#include "trg/cdc/CellHit.h"
18#ifdef TRGCDC_SHORT_NAMES
19#define TCSHit TRGCDCSegmentHit
45 static void*
operator new (size_t);
48 static void operator delete (
void*);
53 virtual void dump(
const std::string& message = std::string(
""),
54 const std::string& prefix = std::string(
""))
const override;
73 static std::vector<TRGCDCSegmentHit*>
_all;
A class to represent a wire hit in CDC.
virtual const TRGSignal & signal(void) const =0
returns trigger output. Null will returned if no signal.
A class to represent a track segment hit in CDC.
A class to represent a wire in CDC.
A class to represent a digitized signal. Unit is nano second.
virtual const TRGCDCCell & cell(void) const
returns a pointer to a TRGCDCWire.
const TRGSignal & signal(void) const
returns trigger output. Null will returned if no signal.
static void removeAll(void)
destructs all TRGCDCCellHit objects. (Called by TRGCDC)
static std::vector< TRGCDCSegmentHit * > _all
Keeps all TRGCDCSegmentHit created by new().
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override
dumps debug information.
virtual ~TRGCDCSegmentHit()
Destructor.
const TRGCDCSegment & segment(void) const
returns a pointer to a track segment.
static int sortById(const TRGCDCSegmentHit **a, const TRGCDCSegmentHit **b)
Sorting funnction.
Abstract base class for different kinds of events.