13 logger = logging.getLogger(
"mpsvalidate")
14 logger.info(
"Check if TrackerTree.root file exists")
16 outputpath = os.path.join(os.environ[
'CMSSW_BASE'],
"src",
"Alignment",
"MillePedeAlignmentAlgorithm",
"python",
"mpsvalidate",
"TrackerTree.root")
20 if (
not os.path.isfile(outputpath)):
21 logger.info(
"TrackerTree.root file does not exist. It will be created now.")
23 configpath = os.path.join(os.environ[
"CMSSW_BASE"],
"src",
"Alignment",
"MillePedeAlignmentAlgorithm",
"test",
"trackerTree_cfg.py")
24 logger.info(
"Path to the config file: {0}".
format(configpath))
27 os.system(
"cmsRun {0} outputpath={1}".
format(configpath, outputpath))
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.