CMS 3D CMS Logo

Functions
CalibrationHistosUsingDb.cc File Reference
#include "DQM/SiStripCommissioningDbClients/interface/CalibrationHistosUsingDb.h"
#include "CondFormats/SiStripObjects/interface/CalibrationAnalysis.h"
#include "CondFormats/SiStripObjects/interface/CalibrationScanAnalysis.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include "DataFormats/SiStripCommon/interface/SiStripFecKey.h"
#include "DQM/SiStripCommon/interface/ExtractTObject.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

std::string getBasePath (const std::string &path)
 

Function Documentation

◆ getBasePath()

std::string getBasePath ( const std::string &  path)

Definition at line 14 of file CalibrationHistosUsingDb.cc.

14  {
15  return path.substr(0, path.find(std::string(sistrip::root_) + "/") + sizeof(sistrip::root_));
16 }

References castor_dqm_sourceclient_file_cfg::path, sistrip::root_, and AlCaHLTBitMon_QueryRunRegistry::string.

AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
sistrip::root_
static const char root_[]
Definition: ConstantsForDqm.h:30
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37