CMS 3D CMS Logo

Classes | 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
 

Functions

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

Variables

static const unsigned int elink_id_maxvalue = 7
 
static const unsigned int elink_id_minvalue = 0
 
static const unsigned int gbt_id_maxvalue = 72
 
static const unsigned int gbt_id_minvalue = 0
 

Function Documentation

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

Definition at line 60 of file DTCCablingMapProducer.cc.

Referenced by trim().

61 {
62  s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int ch)
63  {
64  return !std::isspace(ch);
65  }));
66 }
static void rtrim ( std::string &  s)
inlinestatic

Definition at line 69 of file DTCCablingMapProducer.cc.

References runEdmFileComparison::base.

Referenced by trim().

70 {
71  s.erase(std::find_if(s.rbegin(), s.rend(), [](int ch)
72  {
73  return !std::isspace(ch);
74  }).base(), s.end());
75 }
base
Make Sure CMSSW is Setup ##.
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< DTCCablingMapProducer > > s_filler__LINE__ ( "DTCCablingMapProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< DTCCablingMapProducer > > s_maker__LINE__ ( "DTCCablingMapProducer"  )
static
static void trim ( std::string &  s)
inlinestatic

Variable Documentation

const unsigned int elink_id_maxvalue = 7
static
const unsigned int elink_id_minvalue = 0
static
const unsigned int gbt_id_maxvalue = 72
static
const unsigned int gbt_id_minvalue = 0
static