CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/SiStripCommissioningDbClients/src/CalibrationHistosUsingDb.cc File Reference

#include "DQM/SiStripCommissioningDbClients/interface/CalibrationHistosUsingDb.h"
#include "CondFormats/SiStripObjects/interface/CalibrationAnalysis.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

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

Definition at line 15 of file CalibrationHistosUsingDb.cc.

References sistrip::root_.

Referenced by CalibrationHistosUsingDb::CalibrationHistosUsingDb().

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