Main Page
Namespaces
Classes
Package Documentation
DataFormats
CSCDigi
src
CSCRPCDigi.cc
Go to the documentation of this file.
1
10
#include "
DataFormats/CSCDigi/interface/CSCRPCDigi.h
"
11
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
12
#include <iostream>
13
15
16
CSCRPCDigi::CSCRPCDigi
(
int
rpc
,
int
pad,
int
bxn,
int
tbin){
17
rpc_
=
rpc
;
18
pad_
= pad;
19
bxn_
= bxn;
20
tbin_
= tbin;
21
}
22
24
CSCRPCDigi::CSCRPCDigi
(){
25
rpc_
= 0;
26
pad_
= 0;
27
bxn_
= 0;
28
tbin_
= 0;
29
}
30
32
void
CSCRPCDigi::print
()
const
{
33
edm::LogVerbatim
(
"CSCDigi"
) <<
"CSCRPCDigi | rpc "
<<
getRpc
() <<
" | pad "
<<
getPad
()
34
<<
" | tbin "
<<
getTbin
() <<
" | bxn "
<<
getBXN
();
35
}
36
37
std::ostream &
operator<<
(std::ostream &
o
,
const
CSCRPCDigi
& digi) {
38
return
o <<
" RPC = "
<< digi.
getRpc
() <<
" Pad = "
<< digi.
getPad
()
39
<<
" Tbin = "
<< digi.
getTbin
() <<
" Bxn = "
<< digi.
getBXN
();
40
}
41
42
MessageLogger.h
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
CSCRPCDigi::rpc_
uint16_t rpc_
Definition:
CSCRPCDigi.h:37
CSCRPCDigi::getPad
int getPad() const
return pad number
Definition:
CSCRPCDigi.h:26
CSCRPCDigi::print
void print() const
Print content of digi.
Definition:
CSCRPCDigi.cc:32
CSCRPCDigi::pad_
uint16_t pad_
Definition:
CSCRPCDigi.h:38
CSCRPCDigi::getRpc
int getRpc() const
default
Definition:
CSCRPCDigi.h:24
CSCRPCDigi::bxn_
uint16_t bxn_
Definition:
CSCRPCDigi.h:39
edm::LogVerbatim
Definition:
MessageLogger.h:271
connectstrParser.o
o
Definition:
connectstrParser.py:70
CSCRPCDigi::getTbin
int getTbin() const
return tbin number
Definition:
CSCRPCDigi.h:28
CSCRPCDigi::tbin_
uint16_t tbin_
Definition:
CSCRPCDigi.h:40
CSCRPCDigi::getBXN
int getBXN() const
return BXN
Definition:
CSCRPCDigi.h:30
CSCRPCDigi.h
CSCRPCDigi
Definition:
CSCRPCDigi.h:15
CSCRPCDigi::CSCRPCDigi
CSCRPCDigi()
from the rpc#, pad#, bxn#, tbin#
Definition:
CSCRPCDigi.cc:24
operator<<
std::ostream & operator<<(std::ostream &o, const CSCRPCDigi &digi)
Definition:
CSCRPCDigi.cc:37
Generated for CMSSW Reference Manual by
1.8.11