ACTARSim
ACTAR TPC Simulation Reference Guide
ACTARSim Home Page
Main Page
Related Pages
All Classes
Files
Release Notes
File List
File Members
src
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
18
ClassImp
(
ActarSimSciRingHit
)
19
20
//////////////////////////////////////////////////////////////////
21
/// Constructor with initialization to zero
22
ActarSimSciRingHit
::
ActarSimSciRingHit
(){
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
40
ActarSimSciRingHit::~ActarSimSciRingHit
(){
41
}
42
43
//////////////////////////////////////////////////////////////////
44
/// Printing data information. Not implemented.
45
void
ActarSimSciRingHit::print
(
void
){
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
ClassImp(ActarSimSciRingHit) ActarSimSciRingHit
Constructor with initialization to zero.
Definition:
ActarSimSciRingHit.cc:18
ActarSimSciRingHit::print
void print(void)
Printing data information. Not implemented.
Definition:
ActarSimSciRingHit.cc:45
ActarSimSciRingHit
Definition:
ActarSimSciRingHit.hh:17
ActarSimSciRingHit::~ActarSimSciRingHit
~ActarSimSciRingHit()
Destructor, nothing to do.
Definition:
ActarSimSciRingHit.cc:40
ActarSimSciRingHit.hh