CalibTracker
SiPixelQuality
src
SiPixelRocStatus.cc
Go to the documentation of this file.
1
#include <iostream>
2
#include <map>
3
#include <cmath>
4
#include <vector>
5
6
#include "
CalibTracker/SiPixelQuality/interface/SiPixelRocStatus.h
"
7
8
using namespace
std
;
9
10
// ----------------------------------------------------------------------
11
SiPixelRocStatus::SiPixelRocStatus
() {
12
fDC_ = 0;
13
isFEDerror25_ =
false
;
14
}
15
16
// ----------------------------------------------------------------------
17
SiPixelRocStatus::~SiPixelRocStatus
() {}
18
19
// ----------------------------------------------------------------------
20
void
SiPixelRocStatus::fillDIGI
() { fDC_++; }
21
// ----------------------------------------------------------------------
22
void
SiPixelRocStatus::fillFEDerror25
() { isFEDerror25_ =
true
; }
23
24
// ----------------------------------------------------------------------
25
void
SiPixelRocStatus::updateDIGI
(
unsigned
int
hits
) { fDC_ +=
hits
; }
26
// ----------------------------------------------------------------------
27
/*AND logic to update FEDerror25*/
28
void
SiPixelRocStatus::updateFEDerror25
(
bool
fedError25) { isFEDerror25_ = isFEDerror25_ && fedError25; }
29
30
// ----------------------------------------------------------------------
31
unsigned
int
SiPixelRocStatus::digiOccROC
() {
return
fDC_; }
32
// ----------------------------------------------------------------------
33
bool
SiPixelRocStatus::isFEDerror25
() {
return
isFEDerror25_; }
SiPixelRocStatus::fillFEDerror25
void fillFEDerror25()
Definition:
SiPixelRocStatus.cc:22
SiPixelRocStatus::~SiPixelRocStatus
~SiPixelRocStatus()
Definition:
SiPixelRocStatus.cc:17
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
SiPixelRocStatus.h
SiPixelRocStatus::digiOccROC
unsigned int digiOccROC()
Definition:
SiPixelRocStatus.cc:31
SiPixelRocStatus::isFEDerror25
bool isFEDerror25()
Definition:
SiPixelRocStatus.cc:33
SiPixelRocStatus::SiPixelRocStatus
SiPixelRocStatus()
Definition:
SiPixelRocStatus.cc:11
SiPixelRocStatus::fillDIGI
void fillDIGI()
Definition:
SiPixelRocStatus.cc:20
std
Definition:
JetResolutionObject.h:76
SiPixelRocStatus::updateFEDerror25
void updateFEDerror25(bool fedError25)
Definition:
SiPixelRocStatus.cc:28
SiPixelRocStatus::updateDIGI
void updateDIGI(unsigned int hits)
Definition:
SiPixelRocStatus.cc:25
Generated for CMSSW Reference Manual by
1.8.16