ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSciHit.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 ActarSimSciHit
11 /// A Scintillator hit
12 /////////////////////////////////////////////////////////////////
13 
14 #include "ActarSimSciHit.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 
32  particleID=0;
33  particleCharge=0.;
34  particleMass=0.;
35 }
36 
37 //////////////////////////////////////////////////////////////////
38 /// Destructor, nothing to do
40 }
41 
42 //////////////////////////////////////////////////////////////////
43 /// Printing data information (commented out for the moment)
45  /*
46  G4cout << "-------------------------------------------" << G4endl;
47  G4cout << "------- ActarSimSciHit::print() ---------" << G4endl;
48  G4cout << " type: " << type
49  << ", copy: " << copy
50  << G4endl;
51  G4cout << " energy: " << energy / MeV << " MeV"
52  << ", time: " << time / ns << " ns"
53  << G4endl;
54  G4cout << "-------------------------------------------" << G4endl;
55  */
56 }
~ActarSimSciHit()
Destructor, nothing to do.
void print(void)
Printing data information (commented out for the moment)
ClassImp(ActarSimSciHit) ActarSimSciHit
Constructor with initialization to zero.