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