32 typedef std::map <unsigned int,myRTI>
myRTI_m;
34 #define EARTHRADIUS 6371.2
61 std::vector<myParticle*>
vmp;
64 std::vector<myTrTrack*>
vmt;
66 std::vector<myEcalShower*>
vme;
68 std::vector<myTrdTrack*>
vmu;
70 std::vector<myBeta*>
vmb;
72 std::vector<myBetaH*>
vmbh;
74 std::vector<myRichRing*>
vmr;
77 std::vector<myTrTrackPlus*>
vmtp;
79 std::vector<myTrdTrackPlus*>
vmup;
85 std::vector<myTrdQtFromTrTrack*>
vmuqtp;
87 std::vector<myEcalShowerPlus*>
vmep;
89 std::vector<myBetaPlus*>
vmbp;
91 std::vector<myBetaHPlus*>
vmbhp;
93 std::vector<myRichRingPlus*>
vmrp;
143 int GetRTI(AMSSetupR::RTI & a);
147 int LoadRTI(
unsigned int t1,
unsigned int t2,
const char *dir=0);
248 inline bool isBadRun(
unsigned int run){
249 for(
unsigned int k=0;k<AMSEventR::BadRunList.size();k++){
250 if(run==AMSEventR::BadRunList[k])
return true;
381 inline Double_t
Lon(){ Double_t _Lon=180.0*
fHeader.
PhiS/M_PI; _Lon=((_Lon)<180)?(_Lon):((_Lon)-360);
return _Lon; };
405 Double_t co=14.5*pow(cos(
LatCGM), 4.0)/pow(
RadCGM, 2.0);
419 Double_t co=14.5*pow(cos(
LatMAG()), 4.0)/pow((
RadMAG()), 2.0);
460 inline bool Status(
unsigned int group,
unsigned int bitgroup){
return true;}
463 if (!
ms)
return true;
464 if (bit<64)
return (
ms->
fStatus & (1<<bit));
476 void Clear(Option_t* =
nullptr);
485 #ifndef myEventFiller_h
486 #define myEventFiller_h
488 class myEventFiller :
public myEvent
498 static myEventFiller*
gethead();
499 inline static myEvent* getfather() {
return ptr;};
513 TObjArray tmp_filler;
523 std::vector<TrRecHitR>* tkrechitsevent;
527 AMSSetupR::SlowControlR* slowcontrol;
531 #if !defined _B524_ && !defined _B550_ && !defined _B572_
532 AMSSetupR::DSPError* pdsperr;
536 virtual void Clear(Option_t* =
nullptr);
538 void Fill(
int fTree, Long64_t fEntry);
544 #endif // #ifdef _WITHGBATCH_
546 static bool pnpoly(
int npol,
float *xp,
float *yp,
float x,
float y);