1 |
formato |
1.1 |
#include <iostream> |
2 |
|
|
|
3 |
|
|
#include "PamVMCTrkHit.h" |
4 |
|
|
#include <TLorentzVector.h> |
5 |
|
|
|
6 |
|
|
using std::cout; |
7 |
|
|
using std::endl; |
8 |
|
|
|
9 |
|
|
ClassImp(pTrkHitData) |
10 |
|
|
ClassImp(PamVMCTrkHit) |
11 |
|
|
|
12 |
|
|
pTrkHitData & operator+=( pTrkHitData &a, const pTrkHitData & p) { |
13 |
|
|
a.fNXMULT = p.fNXMULT; |
14 |
|
|
a.fNYMULT = p.fNYMULT; |
15 |
|
|
a.fXAVESPE = p.fXAVESPE; |
16 |
|
|
a.fYAVESPE = p.fYAVESPE; |
17 |
|
|
a.fZAVESPE = p.fZAVESPE; |
18 |
|
|
return a; |
19 |
|
|
// return *this; |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
PamVMCTrkHit::PamVMCTrkHit() |
23 |
|
|
: PamVMCDetectorHit() |
24 |
|
|
{ |
25 |
|
|
|
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
PamVMCTrkHit::~PamVMCTrkHit() |
29 |
|
|
{ |
30 |
|
|
// Delete &fhitdata; |
31 |
|
|
} |
32 |
|
|
|
33 |
|
|
void PamVMCTrkHit::operator = (const PamVMCTrkHit & hit){ |
34 |
|
|
fhitdata=hit.fhitdata; |
35 |
|
|
ftrkhitdata=hit.ftrkhitdata; |
36 |
|
|
} |
37 |
|
|
|