CMS 3D CMS Logo

Functions
trackerTree Namespace Reference

Functions

def check (config)
 

Function Documentation

def trackerTree.check (   config)

Definition at line 12 of file trackerTree.py.

References reco.print().

Referenced by SiStripQuality.add(), L1TFED.analyze(), HcalHBHEMuonAnalyzer.analyze(), CSCCLCTData.bitValue(), FFTJetPatRecoProducer.buildDenseProduct(), FFTJetPatRecoProducer.buildSparseProduct(), Trajectory.closestMeasurement(), BaseTrackerRecHit.clusterProbability(), MuonGeometryArrange.compareGeometries(), TrackerGeometryCompare.compareGeometries(), DDcreateRotationMatrix(), DDrot(), DDrotReflect(), CSCOfflineMonitor.doBXMonitor(), CSCValidation.doTimeMonitoring(), EtaPhiEstimator.estimate(), TwoBodyDecayEstimator.estimate(), DTCompactMapWriter.fillReadOutMap(), amc::Packet.finalize(), OpticalObject.findExtraEntryValue(), Trajectory.geometricalInnermostState(), L1MuDTTFMasks.get_etsoc_chdis_st1(), L1MuDTTFMasks.get_etsoc_chdis_st2(), L1MuDTTFMasks.get_etsoc_chdis_st3(), L1MuDTTFMasks.get_inrec_chdis_csc(), L1MuDTTFMasks.get_inrec_chdis_st1(), L1MuDTTFMasks.get_inrec_chdis_st2(), L1MuDTTFMasks.get_inrec_chdis_st3(), L1MuDTTFMasks.get_inrec_chdis_st4(), L1MuDTTFParameters.get_inrec_qual_st1(), L1MuDTTFParameters.get_inrec_qual_st2(), L1MuDTTFParameters.get_inrec_qual_st3(), L1MuDTTFParameters.get_inrec_qual_st4(), L1MuDTTFParameters.get_soc_csc_etacanc(), L1MuDTTFParameters.get_soc_nbx_del(), L1MuDTTFParameters.get_soc_openlut_extr(), L1MuDTTFParameters.get_soc_qcut_st1(), L1MuDTTFParameters.get_soc_qcut_st2(), L1MuDTTFParameters.get_soc_qcut_st4(), L1MuDTTFParameters.get_soc_qual_csc(), L1MuDTTFParameters.get_soc_run_21(), L1MuDTTFParameters.get_soc_stdis_n(), L1MuDTTFParameters.get_soc_stdis_wl(), L1MuDTTFParameters.get_soc_stdis_wr(), L1MuDTTFParameters.get_soc_stdis_zl(), L1MuDTTFParameters.get_soc_stdis_zr(), SimTrackManager.getOrCreateVertex(), TStorageFactorySystem.GetPathInfo(), RunManagerMT.initG4(), RunManager.initG4(), DDLRotationAndReflection.isLeftHanded(), FWHtml.IsVisited(), JetCorrectorParameters.JetCorrectorParameters(), BaseTrackerRecHit.localPosition(), BaseTrackerRecHit.localPositionError(), BaseTrackerRecHit.localPositionErrorFast(), BaseTrackerRecHit.localPositionFast(), mps_validate.main(), METCorrectorParameters.METCorrectorParameters(), MEtXYcorrectParameters.MEtXYcorrectParameters(), MuScleFitUtils.minimizeLikelihood(), PixelSLinkDataInputSource.PixelSLinkDataInputSource(), CSCChamberTimeCorrectionsValues.prefill(), CSCChipSpeedCorrectionDBConditions.prefillDBChipSpeedCorrection(), CSCGasGainCorrectionDBConditions.prefillDBGasGainCorrection(), PFAlgo.processBlock(), CSCDCCUnpacker.produce(), FFTJetPatRecoProducer.produce(), production_tasks.BaseDataset.query(), amc::Trailer.raw(), DDCoreToDDXMLOutput.rotation(), L1MuDTTFMasks.set_etsoc_chdis_st1(), L1MuDTTFMasks.set_etsoc_chdis_st2(), L1MuDTTFMasks.set_etsoc_chdis_st3(), L1MuDTTFMasks.set_inrec_chdis_csc(), L1MuDTTFMasks.set_inrec_chdis_st1(), L1MuDTTFMasks.set_inrec_chdis_st2(), L1MuDTTFMasks.set_inrec_chdis_st3(), L1MuDTTFMasks.set_inrec_chdis_st4(), L1MuDTTFParameters.set_inrec_qual_st1(), L1MuDTTFParameters.set_inrec_qual_st2(), L1MuDTTFParameters.set_inrec_qual_st3(), L1MuDTTFParameters.set_inrec_qual_st4(), L1MuDTTFParameters.set_soc_csc_etacanc(), L1MuDTTFParameters.set_soc_nbx_del(), L1MuDTTFParameters.set_soc_openlut_extr(), L1MuDTTFParameters.set_soc_qcut_st1(), L1MuDTTFParameters.set_soc_qcut_st2(), L1MuDTTFParameters.set_soc_qcut_st4(), L1MuDTTFParameters.set_soc_qual_csc(), L1MuDTTFParameters.set_soc_run_21(), L1MuDTTFParameters.set_soc_stdis_n(), L1MuDTTFParameters.set_soc_stdis_wl(), L1MuDTTFParameters.set_soc_stdis_wr(), L1MuDTTFParameters.set_soc_stdis_zl(), L1MuDTTFParameters.set_soc_stdis_zr(), TracktoRPC.TracktoRPC(), CSCSPRecord.unpack(), and evf::EvFDaqDirector.updateFuLock().

12 def check(config):
13  logger = logging.getLogger("mpsvalidate")
14  logger.info("Check if TrackerTree.root file exists")
15 
16  outputpath = os.path.join(os.environ['CMSSW_BASE'], "src", "Alignment", "MillePedeAlignmentAlgorithm", "python", "mpsvalidate", "TrackerTree.root")
17  print(outputpath)
18 
19  # check if file exists
20  if (not os.path.isfile(outputpath)):
21  logger.info("TrackerTree.root file does not exist. It will be created now.")
22 
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))
25 
26 
27  os.system("cmsRun {0} outputpath={1}
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:10
def check(config)
Definition: trackerTree.py:12