CondFormats
PPSObjects
interface
TotemSymbId.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* This is a part of TOTEM offline software.
4
* Authors:
5
* Jan Kašpar (jan.kaspar@cern.ch)
6
*
7
****************************************************************************/
8
9
#ifndef CondFormats_PPSObjects_TotemSymbId
10
#define CondFormats_PPSObjects_TotemSymbId
11
12
#include <iostream>
13
17
class
TotemSymbID
{
18
public
:
20
unsigned
int
symbolicID
;
21
22
bool
operator<
(
const
TotemSymbID
&sid)
const
{
return
(
symbolicID
< sid.
symbolicID
); }
23
24
bool
operator==
(
const
TotemSymbID
&sid)
const
{
return
(
symbolicID
== sid.
symbolicID
); }
25
26
friend
std::ostream &
operator<<
(std::ostream &
s
,
const
TotemSymbID
&sid);
27
};
28
29
#endif
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
TotemSymbID::operator<<
friend std::ostream & operator<<(std::ostream &s, const TotemSymbID &sid)
Definition:
TotemSymbId.cc:12
TotemSymbID::operator==
bool operator==(const TotemSymbID &sid) const
Definition:
TotemSymbId.h:28
TotemSymbID
Symbolic ID describing an entity of a TOTEM subdetector.
Definition:
TotemSymbId.h:16
TotemSymbID::symbolicID
unsigned int symbolicID
chip ID, raw integer representation of DetId class
Definition:
TotemSymbId.h:24
TotemSymbID::operator<
bool operator<(const TotemSymbID &sid) const
Definition:
TotemSymbId.h:26
Generated for CMSSW Reference Manual by
1.8.16