Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
CSCDigi
src
CSCRPCDigi.cc
Go to the documentation of this file.
1
10
#include "
DataFormats/CSCDigi/interface/CSCRPCDigi.h
"
11
#include <iostream>
12
14
15
CSCRPCDigi::CSCRPCDigi
(
int
rpc,
int
pad,
int
bxn,
int
tbin){
16
rpc_
= rpc;
17
pad_
= pad;
18
bxn_
= bxn;
19
tbin_
= tbin;
20
}
21
23
CSCRPCDigi::CSCRPCDigi
(){
24
rpc_
= 0;
25
pad_
= 0;
26
bxn_
= 0;
27
tbin_
= 0;
28
}
29
31
void
CSCRPCDigi::print
()
const
{
32
std::cout
<<
"RPC = "
<<
getRpc
()
33
<<
" Pad = "
<<
getPad
()
34
<<
" Tbin = "
<<
getTbin
()
35
<<
" BXN = "
<<
getBXN
() << std::endl;
36
}
37
38
std::ostream &
operator<<
(std::ostream &
o
,
const
CSCRPCDigi
& digi) {
39
return
o <<
" RPC = "
<< digi.
getRpc
() <<
" Pad = "
<< digi.
getPad
()
40
<<
" Tbin = "
<< digi.
getTbin
() <<
" Bxn = "
<< digi.
getBXN
();
41
}
42
43
CSCRPCDigi::rpc_
uint16_t rpc_
Definition:
CSCRPCDigi.h:37
CSCRPCDigi::getPad
int getPad() const
return pad number
Definition:
CSCRPCDigi.h:26
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CSCRPCDigi::print
void print() const
Print content of digi.
Definition:
CSCRPCDigi.cc:31
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
python.connectstrParser.o
string 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
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
CSCRPCDigi.h
CSCRPCDigi
Definition:
CSCRPCDigi.h:15
CSCRPCDigi::CSCRPCDigi
CSCRPCDigi()
from the rpc#, pad#, bxn#, tbin#
Definition:
CSCRPCDigi.cc:23
Generated for CMSSW Reference Manual by
1.8.5