13#ifndef TRGCDCWireHit_FLAG_ 
   14#define TRGCDCWireHit_FLAG_ 
   17#include "trg/cdc/CellHit.h" 
   19#ifdef TRGCDC_SHORT_NAMES 
   20#define TCWHit TRGCDCWireHit 
   30  class TRGCDCWireHitMC;
 
   38                           unsigned indexCDCHit = 0,
 
   39                           unsigned indexCDCSimHit = 0,
 
   40                           unsigned indexMCParticle = 0,
 
   42                           float driftLeftError = 0,
 
   44                           float driftRightError = 0,
 
   46                           float fudgeFacgtor = 1);
 
   55    static void* 
operator new (size_t);
 
   58    static void operator delete (
void*);
 
   83    static std::vector<TRGCDCWireHit*> 
_all;
 
A class to represent a wire hit in CDC.
A class to represent a MC wire hit in CDC.
A class to represent a wire hit in CDC.
const TRGCDCWireHitMC * _mc
This will be removed.
unsigned _iCDCSimHit
index of CDCSimHit
A class to represent a wire in CDC.
static int sortByWireId(const TRGCDCWireHit **a, const TRGCDCWireHit **b)
Sort function. This will be removed.
static std::vector< TRGCDCWireHit * > _all
Keeps all TRGCDCWireHit created by new().
const TRGCDCWire & wire(void) const
returns a pointer to a TRGCDCWire.
static void removeAll(void)
destructs all TRGCDCCellHit objects. (Called by TRGCDC)
virtual ~TRGCDCWireHit()
Destructor.
const TRGCDCWireHitMC * mc(void) const
This will be removed.
unsigned iCDCSimHit(void) const
return index of CDCSimHit
Abstract base class for different kinds of events.