CMS 3D CMS Logo

Classes | Enumerations | Functions | Variables
DTCCablingMapProducer.cc File Reference
#include <memory>
#include <cstdint>
#include <unordered_map>
#include <utility>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondFormats/Common/interface/Time.h"
#include "CondFormats/DataRecord/interface/TrackerDetToDTCELinkCablingMapRcd.h"
#include "CondFormats/SiPhase2TrackerObjects/interface/TrackerDetToDTCELinkCablingMap.h"
#include "CondFormats/SiPhase2TrackerObjects/interface/DTCELinkId.h"

Go to the source code of this file.

Classes

class  DTCCablingMapProducer
 

Enumerations

enum  { DUMMY_FILL_DISABLED = 0, DUMMY_FILL_ELINK_ID = 1, DUMMY_FILL_ELINK_ID_AND_GBT_ID = 2 }
 

Functions

static void ltrim (std::string &s)
 
static void rtrim (std::string &s)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< DTCCablingMapProducer > > s_filler_0__LINE__ ("DTCCablingMapProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DTCCablingMapProducer > > s_maker__LINE__ ("DTCCablingMapProducer")
 
static void trim (std::string &s)
 

Variables

static constexpr const unsigned int elink_id_maxvalue = 6
 
static constexpr const unsigned int elink_id_minvalue = 0
 
static constexpr const unsigned int gbt_id_maxvalue = 71
 
static constexpr const unsigned int gbt_id_minvalue = 0
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DUMMY_FILL_DISABLED 
DUMMY_FILL_ELINK_ID 
DUMMY_FILL_ELINK_ID_AND_GBT_ID 

Definition at line 50 of file DTCCablingMapProducer.cc.

Function Documentation

◆ ltrim()

static void ltrim ( std::string &  s)
inlinestatic

Definition at line 57 of file DTCCablingMapProducer.cc.

References alignCSCRings::s.

Referenced by trim().

57  {
58  s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int ch) { return !std::isspace(ch); }));
59 }

◆ rtrim()

static void rtrim ( std::string &  s)
inlinestatic

Definition at line 62 of file DTCCablingMapProducer.cc.

References newFWLiteAna::base, and alignCSCRings::s.

Referenced by trim().

62  {
63  s.erase(std::find_if(s.rbegin(), s.rend(), [](int ch) { return !std::isspace(ch); }).base(), s.end());
64 }
base
Main Program
Definition: newFWLiteAna.py:92

◆ s_filler_0__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DTCCablingMapProducer > > s_filler_0__LINE__ ( "DTCCablingMapProducer"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DTCCablingMapProducer > > s_maker__LINE__ ( "DTCCablingMapProducer"  )
static

◆ trim()

static void trim ( std::string &  s)
inlinestatic

Variable Documentation

◆ elink_id_maxvalue

constexpr const unsigned int elink_id_maxvalue = 6
static

◆ elink_id_minvalue

constexpr const unsigned int elink_id_minvalue = 0
static

◆ gbt_id_maxvalue

constexpr const unsigned int gbt_id_maxvalue = 71
static

◆ gbt_id_minvalue

constexpr const unsigned int gbt_id_minvalue = 0
static