Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:26

0001 /****************************************************************************
0002 *
0003 * This is a part of TOTEM offline software.
0004 * Authors: 
0005 *   Jan Kašpar (jan.kaspar@cern.ch)
0006 *
0007 ****************************************************************************/
0008 
0009 #ifndef CondFormats_PPSObjects_TotemSymbId
0010 #define CondFormats_PPSObjects_TotemSymbId
0011 
0012 #include <iostream>
0013 
0014 /**
0015  *\brief Symbolic ID describing an entity of a TOTEM subdetector.
0016  **/
0017 class TotemSymbID {
0018 public:
0019   /// chip ID, raw integer representation of DetId class
0020   unsigned int symbolicID;
0021 
0022   bool operator<(const TotemSymbID &sid) const { return (symbolicID < sid.symbolicID); }
0023 
0024   bool operator==(const TotemSymbID &sid) const { return (symbolicID == sid.symbolicID); }
0025 
0026   friend std::ostream &operator<<(std::ostream &s, const TotemSymbID &sid);
0027 };
0028 
0029 #endif