src
DataFormats
CSCDigi
interface
CSCRPCDigi.h
Go to the documentation of this file.
1
#ifndef CSCRPCDigi_CSCRPCDigi_h
2
#define CSCRPCDigi_CSCRPCDigi_h
3
12
#include <cstdint>
13
#include <iosfwd>
14
15
class
CSCRPCDigi
{
16
public
:
18
CSCRPCDigi
(
int
rpc
,
int
pad,
int
bxn,
int
tbin);
19
CSCRPCDigi
();
20
22
int
getRpc
()
const
{
return
rpc_
; }
24
int
getPad
()
const
{
return
pad_
; }
26
int
getTbin
()
const
{
return
tbin_
; }
28
int
getBXN
()
const
{
return
bxn_
; }
29
31
void
print
()
const
;
32
33
private
:
34
uint16_t
rpc_
;
35
uint16_t
pad_
;
36
uint16_t
bxn_
;
37
uint16_t
tbin_
;
38
};
39
40
std::ostream&
operator<<
(std::ostream&
o
,
const
CSCRPCDigi
& digi);
41
42
#endif
CSCRPCDigi::getPad
int getPad() const
return pad number
Definition:
CSCRPCDigi.h:24
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
CSCRPCDigi::getRpc
int getRpc() const
default
Definition:
CSCRPCDigi.h:22
CSCRPCDigi::rpc_
uint16_t rpc_
Definition:
CSCRPCDigi.h:34
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
CSCRPCDigi::pad_
uint16_t pad_
Definition:
CSCRPCDigi.h:35
CSCRPCDigi::getBXN
int getBXN() const
return BXN
Definition:
CSCRPCDigi.h:28
CSCRPCDigi::bxn_
uint16_t bxn_
Definition:
CSCRPCDigi.h:36
CSCRPCDigi::getTbin
int getTbin() const
return tbin number
Definition:
CSCRPCDigi.h:26
operator<<
std::ostream & operator<<(std::ostream &o, const CSCRPCDigi &digi)
Definition:
CSCRPCDigi.cc:36
CSCRPCDigi::tbin_
uint16_t tbin_
Definition:
CSCRPCDigi.h:37
CSCRPCDigi::print
void print() const
Print content of digi.
Definition:
CSCRPCDigi.cc:31
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.14