Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibFormats
SiPixelObjects
interface
PixelROCStatus.h
Go to the documentation of this file.
1
#ifndef PixelROCStatus_h
2
#define PixelROCStatus_h
3
9
#include <stdint.h>
10
#include <set>
11
#include <string>
12
13
namespace
pos
{
14
20
class
PixelROCStatus
{
21
22
23
private
:
24
25
uint32_t
bits_
;
26
27
public
:
28
29
//Insert new status before nStatus
30
enum
ROCstatus
{
off
=0,
noHits
,
noInit
,
noAnalogSignal
,
nStatus
};
31
32
PixelROCStatus
();
33
PixelROCStatus
(
const
std::set<ROCstatus>& stat);
34
virtual
~PixelROCStatus
();
35
36
std::string
statusName
(
ROCstatus
stat)
const
;
37
std::string
statusName
()
const
;
38
39
void
set
(
ROCstatus
stat);
40
void
clear
(
ROCstatus
stat);
41
void
set
(
ROCstatus
stat,
bool
mode
);
42
void
set
(
const
std::string& statName);
43
bool
get
(
ROCstatus
stat)
const
;
44
45
// Added by Dario (March 4th 2008)
46
void
reset
(
void
) ;
47
48
};
49
}
50
#endif
pos
Definition:
Histograms.cc:19
pos::PixelROCStatus::noInit
Definition:
PixelROCStatus.h:30
pos::PixelROCStatus::bits_
uint32_t bits_
Definition:
PixelROCStatus.h:25
pos::PixelROCStatus::reset
void reset(void)
Definition:
PixelROCStatus.cc:51
pos::PixelROCStatus::noHits
Definition:
PixelROCStatus.h:30
mode
int mode
Definition:
AMPTWrapper.h:139
pos::PixelROCStatus::off
Definition:
PixelROCStatus.h:30
pos::PixelROCStatus::nStatus
Definition:
PixelROCStatus.h:30
pos::PixelROCStatus::set
void set(ROCstatus stat)
Definition:
PixelROCStatus.cc:39
pos::PixelROCStatus::noAnalogSignal
Definition:
PixelROCStatus.h:30
pos::PixelROCStatus
This class implements..
Definition:
PixelROCStatus.h:20
pos::PixelROCStatus::statusName
std::string statusName() const
Definition:
PixelROCStatus.cc:83
pos::PixelROCStatus::PixelROCStatus
PixelROCStatus()
Definition:
PixelROCStatus.cc:19
pos::PixelROCStatus::~PixelROCStatus
virtual ~PixelROCStatus()
Definition:
PixelROCStatus.cc:36
pos::PixelROCStatus::clear
void clear(ROCstatus stat)
Definition:
PixelROCStatus.cc:45
pos::PixelROCStatus::ROCstatus
ROCstatus
Definition:
PixelROCStatus.h:30
Generated for CMSSW Reference Manual by
1.8.5