1 |
nikolas |
1.1 |
#ifndef PAMVMCTRK_F77_GPCSPE |
2 |
|
|
#define PAMVMCTRK_F77_GPCSPE |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
#include <TObject.h> |
6 |
|
|
#include <TClonesArray.h> |
7 |
|
|
#include "PamRootManager.h" |
8 |
|
|
#include <iostream> |
9 |
|
|
|
10 |
|
|
using std::cout; |
11 |
|
|
using std::endl; |
12 |
|
|
// structures for C++ <=> COMMON data exchange |
13 |
|
|
|
14 |
|
|
#include "PamVMCTrkHit.h" |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
struct cGPCSPE { |
18 |
|
|
Int_t nxmult; |
19 |
|
|
Int_t nymult; |
20 |
|
|
Float_t xave; |
21 |
|
|
Float_t yave; |
22 |
|
|
Float_t zave; |
23 |
|
|
|
24 |
|
|
void SetHit(PamVMCTrkHit * hit){ |
25 |
|
|
hit->SetNXMULT(nxmult); |
26 |
|
|
hit->SetNYMULT(nymult); |
27 |
|
|
hit->SetXAVESPE(xave); |
28 |
|
|
hit->SetYAVESPE(yave); |
29 |
|
|
hit->SetZAVESPE(zave); |
30 |
|
|
} |
31 |
|
|
} ; |
32 |
|
|
|
33 |
|
|
extern "C" { |
34 |
|
|
extern struct cGPCSPE gpcspe_; |
35 |
|
|
} |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
#endif |
39 |
|
|
|