#include "StripDigi.hh" // -- one more nasty trick for new and delete operator overloading: G4Allocator StripDigiAllocator; StripDigi::StripDigi(const int& pn,const int& sn) : charge(0) , stripNumber(sn) , planeNumber(pn) , isPrimary(false) { } void StripDigi::Print() { //Add one to the plane no. since they start at 0 but det. no starts at 1 if(charge>0) G4cout << "Digit: Plane = "<< planeNumber+1 << " Strip = " << stripNumber << " with Charge = " << charge << " electrons" << G4endl; }