61 {fEnergyDeposit += edep; fEnergyDeposit2 += edep*edep;};
64 {fTrakLenCharged += length; fTrakLenCharged2 += length*length;};
67 {fTrakLenNeutral += length; fTrakLenNeutral2 += length*length;};
70 {
if (std::abs(theta) <= fMscThetaCentral) { fMscEntryCentral++;
71 fMscProjecTheta += theta; fMscProjecTheta2 += theta*theta;}
75 {fNbStepsCharged += nSteps; fNbStepsCharged2 += nSteps*nSteps;};
78 {fNbStepsNeutral += nSteps; fNbStepsNeutral2 += nSteps*nSteps;};
86 {
if (flag == 1) fTransmit[0]++;
87 else if (flag == 2) {fTransmit[0]++; fTransmit[1]++; }};
90 {
if (flag == 1) fReflect[0]++;
91 else if (flag == 2) {fReflect[0]++; fReflect[1]++; }};
94 {fEnergyLeak[index] += eleak; fEnergyLeak2[index] += eleak*eleak;};
107 G4double fEnergyDeposit, fEnergyDeposit2;
108 G4double fTrakLenCharged, fTrakLenCharged2;
109 G4double fTrakLenNeutral, fTrakLenNeutral2;
110 G4double fNbStepsCharged, fNbStepsCharged2;
111 G4double fNbStepsNeutral, fNbStepsNeutral2;
112 G4double fMscProjecTheta, fMscProjecTheta2;
115 G4int fNbGamma, fNbElect, fNbPosit;
116 G4int fTransmit[2], fReflect[2];
117 G4int fMscEntryCentral;
119 G4double fEnergyLeak[2], fEnergyLeak2[2];
void AddEnergy(G4double edep)
G4double ComputeMscHighland()
void AddTrakLenCharg(G4double length)
void AddTrakLenNeutr(G4double length)
void AddMscProjTheta(G4double theta)
void CountParticles(G4ParticleDefinition *part)
static G4Positron * Positron()
void CountStepsNeutr(G4int nSteps)
void CountStepsCharg(G4int nSteps)
G4double energy(const ThreeVector &p, const G4double m)
static G4Electron * Electron()
Detector construction class to define materials and geometry.
void SetPrimary(G4ParticleDefinition *particle, G4double energy)
virtual void Merge(const G4Run *)
void CountTransmit(G4int flag)
void CountReflect(G4int flag)
void AddEnergyLeak(G4double eleak, G4int index)