--- PamVMC/trk/include/PamVMCTrkID.h 2009/02/18 17:41:08 1.1 +++ PamVMC/trk/include/PamVMCTrkID.h 2009/06/12 18:39:49 1.5 @@ -38,10 +38,114 @@ void Print(const Option_t* ="") const { cout << " pTrkID : plNo " << plNo <CurrentVolOffID(2,TRPB); + TRPB==2 ? plNo=6 : gMC->CurrentVolOffID(3,plNo); + t= kTRUE; + } + return t; + } + + Int_t GetID() const { return (plNo-1); } + + void Print(const Option_t* ="") const { + cout << " pTrkTPAN_ID : plNo " << plNo <CurrentVolOffID(3,TRPB); + TRPB==2 ? plNo=6 : gMC->CurrentVolOffID(4,plNo); + gMC->CurrentVolOffID(1,padNo); + t= kTRUE; + } + return t; + } + + Int_t GetID() const { return (plNo-1)*4+padNo; } // 1- 2- 3- 4 first plane + //21-22-23-24 last plane + + void Print(const Option_t* ="") const { + cout << " pTrkTRCN_ID : plNo " << plNo <CurrentVolOffID(2,TRPB); + TRPB==2 ? plNo=6 : gMC->CurrentVolOffID(3,plNo); + gMC->CurrentVolID(padNo); + t= kTRUE; + } + return t; + } + + Int_t GetID() const { return (plNo-1)*6+padNo; } + + void Print(const Option_t* ="") const { + cout << " pTrkTRSL_ID : plNo " << plNo <