CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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().

16 {
17  return path.substr(0,path.find(std::string(sistrip::root_) + "/")+sizeof(sistrip::root_) );
18 }
list path
Definition: scaleCards.py:51
static const char root_[]