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 14 of file CalibrationHistosUsingDb.cc.

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

Referenced by CalibrationHistosUsingDb::CalibrationHistosUsingDb().

15 {
16  return path.substr(0,path.find(std::string(sistrip::root_) + "/")+sizeof(sistrip::root_) );
17 }
tuple path
else: Piece not in the list, fine.
static const char root_[]