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
RichHit.h
Go to the documentation of this file.
1
/*
2
* RichHit.h
3
*
4
* Created on: Sep 28, 2012
5
* Author: yqiang
6
*/
7
8
#ifndef RICHHIT_H_
9
#define RICHHIT_H_
10
11
#include <TObject.h>
12
#include <TVector3.h>
13
14
class
RichHit
:
public
TObject {
15
16
public
:
17
18
RichHit
() {
19
t
= 0;
20
}
21
;
22
~RichHit
() {
23
}
24
;
25
26
// Data members
27
TVector3
x
;
// hit position
28
Double_t
t
;
// hit time
29
30
// Copy constructor
31
RichHit
&
operator=
(
const
RichHit
&prt) {
32
this->
x
= prt.
x
;
33
this->
t
= prt.
t
;
34
return
*
this
;
35
}
36
37
private
:
38
ClassDef
(
RichHit
,1);
39
40
};
41
42
#endif
/* RICHHIT_H_ */
RichHit::ClassDef
ClassDef(RichHit, 1)
RichHit::RichHit
RichHit()
Definition:
RichHit.h:18
RichHit
Definition:
RichHit.h:14
RichHit::x
TVector3 x
Definition:
RichHit.h:24
RichHit::t
Double_t t
Definition:
RichHit.h:28
RichHit::~RichHit
~RichHit()
Definition:
RichHit.h:22
RichHit::operator=
RichHit & operator=(const RichHit &prt)
Definition:
RichHit.h:31
plugins
Analysis
mc_tree
RichHit.h
Generated on Fri Jul 26 2019 14:03:01 for Hall-D Software by
1.8.5