CMS 3D CMS Logo

Functions | Variables

MultipleCompare Namespace Reference

Functions

def Match

Variables

tuple canvas = TCanvas('MultiPlot','MultiPlot',validation.standardDrawingStuff.canvasSizeX.value(),validation.standardDrawingStuff.canvasSizeY.value())
list colors = [2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1]
tuple effPlot = pset.efficiency.value()
 first = True
list histoList = []
tuple legend = TLegend(0.6,0.82,0.6+0.39,0.82+0.17)
int maxLog = 3
list parList = ['pt', 'eta', 'phi', 'energy']
list plotList = []
tuple pset = getattr(validation.TauEfficiencies.plots,attr)
tuple refFile = TFile(sys.argv[2])
tuple refH = refFile.Get(histoPath)
tuple testFile = TFile(sys.argv[1])
tuple testH = testFile.Get(histoPath)
list toPlot = sys.argv[4:]
list xAx = histoPath[histoPath.find('Eff')+len('Eff'):]
list ylabel = sys.argv[3]

Function Documentation

def MultipleCompare::Match (   required,
  got 
)

Definition at line 7 of file MultipleCompare.py.

Referenced by FWGeometryTableManager::loadGeometry(), lhef::JetMatchingMLM::match(), lhef::Matching< Delta >::match(), btag::Matching< Delta >::match(), and MatchJet::matchCollections().

00008                         :
00009     for part in required.split('*'):
00010         if got.find(part) == -1:
00011             return False
00012     return True
00013 
00014 gROOT.SetStyle('Plain')
00015 gStyle.SetPalette(1)
00016 gStyle.SetOptStat(0)
00017 gStyle.SetPadGridX(True)
00018 gStyle.SetPadGridY(True)
00019 gStyle.SetOptTitle(0)


Variable Documentation

tuple MultipleCompare::canvas = TCanvas('MultiPlot','MultiPlot',validation.standardDrawingStuff.canvasSizeX.value(),validation.standardDrawingStuff.canvasSizeY.value())
list MultipleCompare::colors = [2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1,2,3,4,6,5,7,28,1]

Definition at line 54 of file MultipleCompare.py.

tuple MultipleCompare::effPlot = pset.efficiency.value()

Definition at line 40 of file MultipleCompare.py.

Definition at line 55 of file MultipleCompare.py.

Definition at line 44 of file MultipleCompare.py.

tuple MultipleCompare::legend = TLegend(0.6,0.82,0.6+0.39,0.82+0.17)

Definition at line 28 of file MultipleCompare.py.

list MultipleCompare::parList = ['pt', 'eta', 'phi', 'energy']

Definition at line 36 of file MultipleCompare.py.

Definition at line 35 of file MultipleCompare.py.

tuple MultipleCompare::pset = getattr(validation.TauEfficiencies.plots,attr)

Definition at line 39 of file MultipleCompare.py.

Referenced by edm::ProcessDesc::addDefaultService(), edm::ProcessDesc::addService(), CfgNavigationSchool::CfgNavigationSchool(), edm::CFWriter::CFWriter(), GsfElectronBaseProducer::checkEcalSeedingParameters(), GsfElectronProducer::checkPfTranslatorParameters(), edm::service::PrescaleService::configure(), ConversionPostprocessing::ConversionPostprocessing(), edm::ParameterSetConverter::convertParameterSets(), smproxy::DQMArchiver::createRegistration(), CSCOfflineMonitor::CSCOfflineMonitor(), edm::service::MessageServicePSetValidation::defaultPSet(), edm::StreamerInputSource::deserializeAndMergeWithRegistry(), edm::service::MessageServicePSetValidation::destinationPSet(), DQMAnalyzer::DQMAnalyzer(), edm::RootInputFileSequence::dropUnwantedBranches_(), DTCalibValidation::DTCalibValidation(), DTChamberEfficiencyTask::DTChamberEfficiencyTask(), DTEfficiencyTask::DTEfficiencyTask(), DTnoiseDBValidation::DTnoiseDBValidation(), DTSegmentsTask::DTSegmentsTask(), DTt0DBValidation::DTt0DBValidation(), DTTriggerCheck::DTTriggerCheck(), DTTrigProd::DTTrigProd(), DTTrigTest::DTTrigTest(), PlotCombiner::endRun(), DQMGenericTnPClient::endRun(), HeavyFlavorHarvesting::endRun(), eventSetupComponent(), edm::ParameterDescription< std::vector< ParameterSet > >::exists_(), edm::ParameterWildcard< std::vector< ParameterSet > >::exists_(), HLTConfigData::extract(), FastElectronSeedProducer::FastElectronSeedProducer(), fwlite::Event::fillParameterSetRegistry(), edm::service::MessageServicePSetValidation::fwkJobReportPSet(), JPTJetAnalyzer::getConfigForHistogram(), stor::RegistrationInfoBase::getPSet(), edm::service::TriggerNamesService::getTrigPaths(), GsfElectronDataAnalyzer::GsfElectronDataAnalyzer(), GsfElectronFakeAnalyzer::GsfElectronFakeAnalyzer(), GsfElectronMCAnalyzer::GsfElectronMCAnalyzer(), GsfElectronMCFakeAnalyzer::GsfElectronMCFakeAnalyzer(), HBHEStatusBitSetter::HBHEStatusBitSetter(), HLTMuonCertSummary::HLTMuonCertSummary(), HLTOverallSummary::HLTOverallSummary(), HLTConfigProvider::init(), stor::EventConsumerSelector::initialize(), stor::EventStreamSelector::initialize(), TCTauAlgorithm::inputConfig(), DTROS8Unpacker::interpretRawData(), KFSwitching1DUpdator::KFSwitching1DUpdator(), edm::service::MessageServicePSetValidation::messageLoggerPSet(), MixCollectionValidation::MixCollectionValidation(), edm::MixingModule::MixingModule(), HLTConfigData::moduleEDMType(), HLTConfigData::moduleType(), edm::ParameterSetConverter::noConvertParameterSets(), edm::service::MessageServicePSetValidation::noNonPSetUsage(), nonProducerComponent(), L1MuCSCTFConfiguration::parameters(), edm::ParameterSetConverter::ParameterSetConverter(), PFTauSelectorDefinition::PFTauSelectorDefinition(), PhotonAnalyzer::PhotonAnalyzer(), PhotonDataCertification::PhotonDataCertification(), PhotonOfflineClient::PhotonOfflineClient(), PhotonPostprocessing::PhotonPostprocessing(), PhotonValidator::PhotonValidator(), PiZeroAnalyzer::PiZeroAnalyzer(), edm::ParameterSet::popParameterSet(), edm::service::MessageServicePSetValidation::psetLists(), edm::RootFile::RootFile(), HLTConfigData::saveTags(), Selections::Selections(), TauJetCorrector::setParameters(), JetPartonCorrector::setParameters(), TFWLiteSelectorBasic::setupNewFile(), SiStripQualityHotStripIdentifier::SiStripQualityHotStripIdentifier(), SplittingConfigurableHisto::SplittingConfigurableHisto(), edm::service::MessageServicePSetValidation::statisticsPSet(), edm::service::MessageServicePSetValidation::suppressionLists(), SusyDQM< Mu, Ele, Jet, Met >::SusyDQM(), TkConvValidator::TkConvValidator(), edm::EventBase::triggerNames_(), edm::ParameterWildcard< std::vector< ParameterSet > >::validate_(), edm::ParameterDescription< std::vector< ParameterSet > >::validate_(), edm::AllowedLabelsDescription< std::vector< ParameterSet > >::validateAllowedLabel_(), edm::ParameterWildcard< std::vector< ParameterSet > >::validatePSetVector(), ProvenanceDumper::work_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().

tuple MultipleCompare::refFile = TFile(sys.argv[2])

Definition at line 21 of file MultipleCompare.py.

Referenced by main().

tuple MultipleCompare::refH = refFile.Get(histoPath)

Definition at line 79 of file MultipleCompare.py.

Referenced by HLTTauDQMSummaryPlotter::plotIntegratedEffHisto().

tuple MultipleCompare::testFile = TFile(sys.argv[1])

Definition at line 20 of file MultipleCompare.py.

tuple MultipleCompare::testH = testFile.Get(histoPath)

Definition at line 57 of file MultipleCompare.py.

list MultipleCompare::toPlot = sys.argv[4:]

Definition at line 26 of file MultipleCompare.py.

list MultipleCompare::xAx = histoPath[histoPath.find('Eff')+len('Eff'):]

Definition at line 62 of file MultipleCompare.py.

list MultipleCompare::ylabel = sys.argv[3]

Definition at line 22 of file MultipleCompare.py.