CMS 3D CMS Logo

ETLDetId.cc
Go to the documentation of this file.
2 #include <iomanip>
3 
5  // strip off module type info
6  return ETLDetId(mtdSide(),mtdRR(),module(),0);
7 }
8 
9 std::ostream& operator<< ( std::ostream& os, const ETLDetId& id ) {
10  os << ( MTDDetId& ) id;
11  os << " ETL " << std::endl
12  << " Side : " << id.mtdSide() << std::endl
13  << " Ring : " << id.mtdRR() << std::endl
14  << " Module : " << id.module() << std::endl
15  << " Module type : " << id.modType() << std::endl;
16  return os;
17 }
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
ETLDetId geographicalId() const
Definition: ETLDetId.cc:4
int mtdRR() const
Definition: MTDDetId.h:66
int mtdSide() const
Definition: MTDDetId.h:61
std::ostream & operator<<(std::ostream &os, const ETLDetId &id)
Definition: ETLDetId.cc:9
Detector identifier class for the Endcap Timing Layer.
Definition: ETLDetId.h:15
int module() const
Definition: ETLDetId.h:50
ETLDetId()
Definition: ETLDetId.h:27