Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:08

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef G4MAIN_PHG4HITDEFS_H
0004 #define G4MAIN_PHG4HITDEFS_H
0005 
0006 #include <string>
0007 
0008 namespace PHG4HitDefs
0009 {
0010   typedef unsigned long long keytype;
0011   static const unsigned int keybits = 32;
0012   static const unsigned int hit_idbits = sizeof(keytype) * 8 - keybits;
0013 
0014   //! convert PHG4HitContainer node names in to ID number for the container.
0015   //! used in indexing volume ID in PHG4Shower
0016   int get_volume_id(const std::string& nodename);
0017 
0018 }  // namespace PHG4HitDefs
0019 
0020 #endif