ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSciRingHit.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 ActarSimSciRingHit
11 /// A Scintillator hit
12 /////////////////////////////////////////////////////////////////
13 
14 #include "ActarSimSciRingHit.hh"
15 #include "G4ios.hh"
16 #include "globals.hh"
17 
19 
20 //////////////////////////////////////////////////////////////////
21 /// Constructor with initialization to zero
23  type = 0;
24  copy = 0;
25 
26  time = 0.;
27  energy = 0.;
28 
29  eventID = 0;
30  runID = 0;
31  trackID=0;
32 
33  particleID=0;
34  particleCharge=0.;
35  particleMass=0.;
36 }
37 
38 //////////////////////////////////////////////////////////////////
39 /// Destructor, nothing to do
41 }
42 
43 //////////////////////////////////////////////////////////////////
44 /// Printing data information. Not implemented.
46  /*
47  G4cout << "-------------------------------------------" << G4endl;
48  G4cout << "------- ActarSimSciRingHit::print() ---------" << G4endl;
49  G4cout << " type: " << type
50  << ", copy: " << copy
51  << G4endl;
52  G4cout << " energy: " << energy / MeV << " MeV"
53  << ", time: " << time / ns << " ns"
54  << G4endl;
55  G4cout << "-------------------------------------------" << G4endl;
56  */
57 }
ClassImp(ActarSimSciRingHit) ActarSimSciRingHit
Constructor with initialization to zero.
void print(void)
Printing data information. Not implemented.
~ActarSimSciRingHit()
Destructor, nothing to do.