12 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
13 |
|
|
14 |
#include <math.h> // EMILIANO |
#include <math.h> // EMILIANO |
15 |
|
#include <iostream> // from ToFLevel2.cpp |
16 |
|
#include <fstream> // Emiliano |
17 |
|
#include <sstream> // Emiliano |
18 |
|
#include <string> // Emiliano |
19 |
|
|
20 |
|
|
21 |
#include <ToFStruct.h> |
#include <ToFStruct.h> |
22 |
|
|
23 |
|
#include <TrkLevel2.h> // Emiliano |
24 |
|
#include <TrigLevel2.h> // Emiliano |
25 |
|
#include <GLTables.h> // Emiliano |
26 |
|
#include <OrbitalInfo.h> // Emiliano |
27 |
|
#include <ToFCore.h> // Emiliano |
28 |
|
// |
29 |
|
// Declaration of the core fortran routines |
30 |
|
// |
31 |
|
#define tofl2com tofl2com_ |
32 |
|
extern "C" int tofl2com(); |
33 |
|
#define toftrk toftrk_ |
34 |
|
extern "C" int toftrk(); |
35 |
|
#define rdtofcal rdtofcal_ |
36 |
|
extern "C" int rdtofcal(char [], int *); |
37 |
|
|
38 |
// |
// |
39 |
// class which contains track related variables |
// class which contains track related variables |
187 |
void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07 |
void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07 |
188 |
TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt); |
TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt); |
189 |
Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07 |
Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07 |
190 |
|
Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane, Float_t margin); // wm jun 2008 |
191 |
void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07 |
void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07 |
192 |
void GetPaddlePMT(Int_t paddle, Int_t &pmtleft, Int_t &pmtright); // gf Apr 07 |
void GetPaddlePMT(Int_t paddle, Int_t &pmtleft, Int_t &pmtright); // gf Apr 07 |
193 |
void GetPaddleGeometry(Int_t plane, Int_t paddle, Float_t &xleft, Float_t &xright, Float_t &yleft, Float_t &yright); // gf Apr 07 |
void GetPaddleGeometry(Int_t plane, Int_t paddle, Float_t &xleft, Float_t &xright, Float_t &yleft, Float_t &yright); // gf Apr 07 |
196 |
Int_t GetNPaddle(Int_t plane); |
Int_t GetNPaddle(Int_t plane); |
197 |
// |
// |
198 |
// |
// |
199 |
|
// |
200 |
|
Int_t Process(TrkLevel2 *trk, TrigLevel2 *trg, GL_RUN *run, OrbitalInfo *orb, Bool_t force); // Emiliano |
201 |
|
|
202 |
// |
// |
203 |
// constructor |
// constructor |
244 |
Int_t GetNHitPaddles(Int_t plane); |
Int_t GetNHitPaddles(Int_t plane); |
245 |
void Clear(Option_t *t=""); |
void Clear(Option_t *t=""); |
246 |
// |
// |
247 |
ClassDef(ToFLevel2,3); |
ClassDef(ToFLevel2,4); |
248 |
}; |
}; |
249 |
|
|
250 |
#endif |
#endif |