DQM
RPCMonitorClient
interface
RPCBookFolderStructure.h
Go to the documentation of this file.
1
7
#ifndef RPCBookFolderStructure_H
8
#define RPCBookFolderStructure_H
9
10
#include <
DataFormats/MuonDetId/interface/RPCDetId.h
>
11
#include <string>
12
#include <fmt/format.h>
13
14
struct
RPCBookFolderStructure
{
15
static
std::string
folderStructure
(
const
RPCDetId
& detId) {
16
if
(detId.
region
() == 0)
17
return
fmt::format
(
"Barrel/Wheel_{}/sector_{}/station_{}"
, detId.
ring
(), detId.
sector
(), detId.
station
());
18
else
if
(detId.
region
() == -1)
19
return
fmt::format
(
"Endcap-/Disk_-{}/ring_{}/sector_{}"
, detId.
station
(), detId.
ring
(), detId.
sector
());
20
else
if
(detId.
region
() == 1)
21
return
fmt::format
(
"Endcap+/Disk_{}/ring_{}/sector_{}"
, detId.
station
(), detId.
ring
(), detId.
sector
());
22
return
"Error/Folder/Creation"
;
23
}
24
};
25
26
#endif
RPCBookFolderStructure
Definition:
RPCBookFolderStructure.h:14
RPCDetId::station
int station() const
Definition:
RPCDetId.h:78
RPCDetId::region
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
Definition:
RPCDetId.h:53
RPCDetId
Definition:
RPCDetId.h:16
dqm-mbProfile.format
format
Definition:
dqm-mbProfile.py:16
RPCBookFolderStructure::folderStructure
static std::string folderStructure(const RPCDetId &detId)
Definition:
RPCBookFolderStructure.h:15
RPCDetId.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RPCDetId::ring
int ring() const
Definition:
RPCDetId.h:59
RPCDetId::sector
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
Definition:
RPCDetId.h:81
Generated for CMSSW Reference Manual by
1.8.16