ROOT logo
//*-- AUTHOR : Ilse Koenig
//*-- Created : 10/11/2003

//_HADES_CLASS_DESCRIPTION 
/////////////////////////////////////////////////////////////
// HGeomTofHit
//
// Class for TOF/TOFINO hit definition in GEANT
//
/////////////////////////////////////////////////////////////

#include "hgeomtofhit.h"
#include "hgeomtof.h"
#include "hgeomnode.h"

ClassImp(HGeomTofHit)

HGeomTofHit::HGeomTofHit(HGeomTof* p) : HGeomHit(p) {
  // Constructor
}

Int_t HGeomTofHit::getIdType() {
  // Returns the idType for the current node
  if (!currentNode) return 0;
  const Char_t* volumeName=currentNode->GetName();
  Int_t l1=(Int_t)(volumeName[1]-'0');
  Int_t l2=(Int_t)(volumeName[2]-'0');
  return 100+10*l1+l2;
}
 hgeomtofhit.cc:1
 hgeomtofhit.cc:2
 hgeomtofhit.cc:3
 hgeomtofhit.cc:4
 hgeomtofhit.cc:5
 hgeomtofhit.cc:6
 hgeomtofhit.cc:7
 hgeomtofhit.cc:8
 hgeomtofhit.cc:9
 hgeomtofhit.cc:10
 hgeomtofhit.cc:11
 hgeomtofhit.cc:12
 hgeomtofhit.cc:13
 hgeomtofhit.cc:14
 hgeomtofhit.cc:15
 hgeomtofhit.cc:16
 hgeomtofhit.cc:17
 hgeomtofhit.cc:18
 hgeomtofhit.cc:19
 hgeomtofhit.cc:20
 hgeomtofhit.cc:21
 hgeomtofhit.cc:22
 hgeomtofhit.cc:23
 hgeomtofhit.cc:24
 hgeomtofhit.cc:25
 hgeomtofhit.cc:26
 hgeomtofhit.cc:27
 hgeomtofhit.cc:28
 hgeomtofhit.cc:29