HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
DataFormats
src
HGCalTBElectronicsId.cc
Go to the documentation of this file.
1
#include "HGCal/DataFormats/interface/HGCalTBElectronicsId.h"
2
#include <iostream>
3
4
5
HGCalTBElectronicsId::HGCalTBElectronicsId
(
int
iskiroc,
int
ichan) : m_id(0)
6
{
7
m_id |= (iskiroc &
kISkiRocMask
) <<
kISkiRocOffset
;
8
m_id |= (ichan &
kIChanMask
);
9
}
10
11
std::ostream&
operator<<
(std::ostream& s,
const
HGCalTBElectronicsId
&
id
)
12
{
13
return
s <<
"HGCalTB skiroc "
<<
id
.iskiroc() <<
"."
<<
id
.ichan();
14
}
HGCalTBElectronicsId::kIChanMask
static const int kIChanMask
Definition:
HGCalTBElectronicsId.h:20
HGCalTBElectronicsId::kISkiRocOffset
static const int kISkiRocOffset
Definition:
HGCalTBElectronicsId.h:21
operator<<
std::ostream & operator<<(std::ostream &, const HGCalTBDetId &id)
Definition:
HGCalTBDetId.cc:37
HGCalTBElectronicsId::HGCalTBElectronicsId
HGCalTBElectronicsId()
Definition:
HGCalTBElectronicsId.h:25
HGCalTBElectronicsId
Definition:
HGCalTBElectronicsId.h:16
HGCalTBElectronicsId::kISkiRocMask
static const int kISkiRocMask
Definition:
HGCalTBElectronicsId.h:22
Generated on Mon Aug 29 2016 11:29:32 for HGCal Test Beam by
1.8.5