 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGCDCWireHit_FLAG_
15 #define TRGCDCWireHit_FLAG_
18 #include "trg/cdc/CellHit.h"
20 #ifdef TRGCDC_SHORT_NAMES
21 #define TCWHit TRGCDCWireHit
31 class TRGCDCWireHitMC;
39 unsigned indexCDCHit = 0,
40 unsigned indexCDCSimHit = 0,
41 unsigned indexMCParticle = 0,
43 float driftLeftError = 0,
45 float driftRightError = 0,
47 float fudgeFacgtor = 1);
56 static void*
operator new(size_t);
59 static void operator delete(
void*);
84 static std::vector<TRGCDCWireHit*>
_all;
static std::vector< TRGCDCWireHit * > _all
Keeps all TRGCDCWireHit created by new().
const TRGCDCWireHitMC * mc(void) const
This will be removed.
static int sortByWireId(const TRGCDCWireHit **a, const TRGCDCWireHit **b)
Sort function. This will be removed.
const TRGCDCWire & wire(void) const
returns a pointer to a TRGCDCWire.
A class to represent a MC wire hit in CDC.
A class to represent a wire in CDC.
unsigned _iCDCSimHit
index of CDCSimHit
TRGCDCWireHit(const TRGCDCWire &, unsigned indexCDCHit=0, unsigned indexCDCSimHit=0, unsigned indexMCParticle=0, float driftLeft=0, float driftLeftError=0, float driftRight=0, float driftRightError=0, int mcLRflag=1, float fudgeFacgtor=1)
Constructor.
A class to represent a wire hit in CDC.
Abstract base class for different kinds of events.
A class to represent a wire hit in CDC.
virtual ~TRGCDCWireHit()
Destructor.
const TRGCDCWireHitMC * _mc
This will be removed.
static void removeAll(void)
destructs all TRGCDCCellHit objects. (Called by TRGCDC)
unsigned iCDCSimHit(void) const
return index of CDCSimHit