Complete the implementation of the hit and sensitive detector classes for the Drift chamber (ChamberHit, ChamberSD
) to account the following information when a charged track passed through the detector:
ChamberHit::Print()
Complete the implementation of the sensitive detector class for the EM calorimeter (EmCalorimeterSD
) to account the following information in the calorimeter hits (EmCalorimeterHit
):
In difference from the Chamber hits, the Calorimeter hits are created in EmCalorimeterSD::Initialize()
and updated in EmCalorimeterSD::ProcessHits()
.
The class EmCalorimeterHit
is already implemented.
To control your implementation, add printing of the calorimeter hit collection at end of each event (in EmCalorimeterSD::EndOfEvent()
), see the similar code in ChamberSD
class)
Implement drawing of Chamber hits:
Add and implement the ChamberHit::Draw()
function.(See B2TrackerHit
class in basic/B2/B2a
example).
Activate drawing hits in vis.mac
macro