Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RichTruthHit.h
Go to the documentation of this file.
1
/*
2
* RichTruthHit.h
3
*
4
* Created on: Oct 5, 2013
5
* Author: yqiang
6
*/
7
8
#ifndef RICHTRUTHHIT_H_
9
#define RICHTRUTHHIT_H_
10
11
#include <TObject.h>
12
#include <TVector3.h>
13
14
class
RichTruthHit
:
public
TObject {
15
16
public
:
17
18
RichTruthHit
() {
19
}
20
;
21
~RichTruthHit
() {
22
}
23
;
24
25
// Data members
26
TVector3
x
;
// hit position
27
TVector3
p
;
// three momentum
28
double
t
;
29
double
E
;
30
int
track
;
///< Track number
31
int
primary
;
///< primary track=1 not primary track=0
32
int
ptype
;
/// particle type
33
34
// Copy constructor
35
RichTruthHit
&
operator=
(
const
RichTruthHit
&prt) {
36
this->
x
= prt.
x
;
37
this->
p
= prt.
p
;
38
this->
t
= prt.
t
;
39
this->
E
= prt.
E
;
40
this->
track
= prt.
track
;
41
this->
primary
= prt.
primary
;
42
this->
ptype
= prt.
ptype
;
43
return
*
this
;
44
}
45
46
private
:
47
ClassDef
(
RichTruthHit
,1);
48
49
};
50
51
#endif
/* RICHTRUTHHIT_H_ */
track
Definition:
track.h:16
RichTruthHit::operator=
RichTruthHit & operator=(const RichTruthHit &prt)
particle type
Definition:
RichTruthHit.h:35
RichTruthHit::E
double E
Definition:
RichTruthHit.h:29
RichTruthHit::RichTruthHit
RichTruthHit()
Definition:
RichTruthHit.h:18
RichTruthHit::track
int track
Track number.
Definition:
RichTruthHit.h:30
RichTruthHit
Definition:
RichTruthHit.h:14
RichTruthHit::~RichTruthHit
~RichTruthHit()
Definition:
RichTruthHit.h:21
RichTruthHit::t
double t
Definition:
RichTruthHit.h:28
RichTruthHit::x
TVector3 x
Definition:
RichTruthHit.h:23
RichTruthHit::p
TVector3 p
Definition:
RichTruthHit.h:27
RichTruthHit::primary
int primary
primary track=1 not primary track=0
Definition:
RichTruthHit.h:31
RichTruthHit::ClassDef
ClassDef(RichTruthHit, 1)
RichTruthHit::ptype
int ptype
Definition:
RichTruthHit.h:32
plugins
Analysis
mc_tree
RichTruthHit.h
Generated on Fri Jul 26 2019 14:03:01 for Hall-D Software by
1.8.5