ACTARSim
ACTAR TPC Simulation Reference Guide
ACTARSim Home Page
Main Page
Related Pages
All Classes
Files
Release Notes
File List
File Members
src
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
20
ClassImp
(
ActarSimPlaHit
)
21
22
//////////////////////////////////////////////////////////////////
23
/// Constructor with initialization to zero
24
ActarSimPlaHit
::
ActarSimPlaHit
(){
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
44
ActarSimPlaHit::~ActarSimPlaHit
(){
45
}
46
47
//////////////////////////////////////////////////////////////////
48
/// Printing data information (NOT IMPLEMENTED!)
49
void
ActarSimPlaHit::print
(
void
){
50
}
ClassImp
ClassImp(ActarSimPlaHit) ActarSimPlaHit
Constructor with initialization to zero.
Definition:
ActarSimPlaHit.cc:20
ActarSimPlaHit::print
void print(void)
Printing data information (NOT IMPLEMENTED!)
Definition:
ActarSimPlaHit.cc:49
ActarSimPlaHit.hh
ActarSimPlaHit
Definition:
ActarSimPlaHit.hh:17
ActarSimPlaHit::~ActarSimPlaHit
~ActarSimPlaHit()
Destructor, nothing to do.
Definition:
ActarSimPlaHit.cc:44