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