ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimPlaHit.cc
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 04/2008
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 //////////////////////////////////////////////////////////////////
10 /// \class ActarSimPlaHit
11 /// A plastic (scintillator) hit.
12 /// [Y. Ayyad] We just add the same information as Silicon
13 /// to identify the scintillator bar.
14 /////////////////////////////////////////////////////////////////
15 
16 #include "ActarSimPlaHit.hh"
17 #include "G4ios.hh"
18 #include "globals.hh"
19 
21 
22 //////////////////////////////////////////////////////////////////
23 /// Constructor with initialization to zero
25  detectorID = 0;
26  xpos=0;
27  ypos=0;
28  zpos=0;
29  time = 0.;
30  energy = 0.;
31  eBeforePla = 0.;
32  eAfterPla = 0.;
33  eventID = 0;
34  runID = 0;
35  trackID=0;
36  particleID=0;
37  particleCharge=0.;
38  particleMass=0.;
39  stepsContributing = 0;
40 }
41 
42 //////////////////////////////////////////////////////////////////
43 /// Destructor, nothing to do
45 }
46 
47 //////////////////////////////////////////////////////////////////
48 /// Printing data information (NOT IMPLEMENTED!)
50 }
ClassImp(ActarSimPlaHit) ActarSimPlaHit
Constructor with initialization to zero.
void print(void)
Printing data information (NOT IMPLEMENTED!)
~ActarSimPlaHit()
Destructor, nothing to do.