Definition of the B3a::EventAction class

Dears,
Why in the archive “EventAction.hh” of the exampleB3a, “G4int fCollID_cryst” e “G4int fCollID_patient” are = -1 instead of =0?
Thank’s

As the C++ indexing scheme, ID starts from 0. To indicate the ID has not yet retrieved, it is initialized to -1.

I understood! Thanks!