Newer
Older
#ifndef CHERPROTO_HIT_H
#define CHERPROTO_HIT_H
#include "G4VHit.hh"
#include "G4Allocator.hh"
#include "G4THitsCollection.hh"
#include "G4UnitsTable.hh"
#include <iomanip>
class CherProtoHit: public G4VHit
{
public:
CherProtoHit();
~CherProtoHit();
virtual void Print() { G4cout << "Number of Optical Photons: " << npe << G4endl; }
void Reset() { npe = 0; }
void AddOnePhoton() { npe++; }
G4int GetNPE() const { return npe; }