Functions | |
def | getDQMDetSummaryResult |
def | getDQMSegSummaryResult |
Variables | |
argv = sys.argv | |
list | Detectors = ['Pixel', 'SiStrip', 'EcalBarrel', 'Hcal', 'DT', 'RPC', 'CSC', 'L1TEMU', 'L1T'] |
tuple | dirlist = dirtmp.GetListOfKeys() |
tuple | dirName = td.GetName() |
dirtmp = gDirectory | |
string | DQMDataDir = "DQMData" |
string | EventInfoDir = "/Run summary/EventInfo" |
tuple | f = TFile(infile, 'read') |
tuple | ff = open(outfile,'w') |
list | infile = argv[1] |
tuple | iter = dirlist.MakeIterator() |
int | j = 0 |
tuple | key = iter.Next() |
list | outfile = argv[2] |
string | reportSummary = "<reportSummary>" |
tuple | reportSummaryContents = std.vector(string) |
string | ReportSummaryContentsDir = "/Run summary/EventInfo/reportSummaryContents" |
rundirname = dirName | |
tuple | summary = std.vector(float) |
td = None | |
string | usage = "usage: %s <DQM_File.root>" |
def getDQMSummary::getDQMDetSummaryResult | ( | ) |
Definition at line 47 of file getDQMSummary.py.
00047 : 00048 reportSummaryDir = DQMDataDir + '/' + rundirname + '/' + subdet + EventInfoDir 00049 f.cd(reportSummaryDir) 00050 reportSummaryDir = gDirectory 00051 dirlist = reportSummaryDir.GetListOfKeys() 00052 iter = dirlist.MakeIterator() 00053 key = iter.Next() 00054 tk = None 00055 while key: 00056 tk = key.ReadObj() 00057 keyName = tk.GetName() 00058 if(re.search(reportSummary, keyName)): 00059 ms = re.split('=', keyName) 00060 m = re.search('-?\d?\.?\d+', ms[1]) 00061 detsummary = m.group(0) 00062 break 00063 key = iter.Next() 00064 return detsummary 00065 def getDQMSegSummaryResult():
def getDQMSummary::getDQMSegSummaryResult | ( | ) |
Definition at line 66 of file getDQMSummary.py.
00066 : 00067 SummaryContentsDir = DQMDataDir + '/' + rundirname + '/' + subdet + ReportSummaryContentsDir 00068 f.cd(SummaryContentsDir) 00069 SummaryContentsDir = gDirectory 00070 dirlist = SummaryContentsDir.GetListOfKeys() 00071 iter = dirlist.MakeIterator() 00072 key = iter.Next() 00073 tk = None 00074 while key: 00075 tk = key.ReadObj() 00076 keyName = tk.GetName() 00077 mn = re.search('(<.+?>)', keyName) 00078 if(mn): 00079 reportSummaryContent = mn.group(0) 00080 ms = re.split('=', keyName) 00081 m = re.search('-?\d?\.?\d+', ms[1]) 00082 segsummary = m.group(0) 00083 summary.push_back(float(segsummary)) 00084 reportSummaryContents.push_back(reportSummaryContent) 00085 key = iter.Next() 00086 return reportSummaryContents, summary 00087 for subdet in Detectors:
getDQMSummary::argv = sys.argv [static] |
list getDQMSummary::Detectors = ['Pixel', 'SiStrip', 'EcalBarrel', 'Hcal', 'DT', 'RPC', 'CSC', 'L1TEMU', 'L1T'] [static] |
Definition at line 24 of file getDQMSummary.py.
tuple getDQMSummary::dirlist = dirtmp.GetListOfKeys() [static] |
Definition at line 34 of file getDQMSummary.py.
tuple getDQMSummary::dirName = td.GetName() [static] |
Definition at line 41 of file getDQMSummary.py.
getDQMSummary::dirtmp = gDirectory [static] |
Definition at line 33 of file getDQMSummary.py.
string getDQMSummary::DQMDataDir = "DQMData" [static] |
Definition at line 27 of file getDQMSummary.py.
string getDQMSummary::EventInfoDir = "/Run summary/EventInfo" [static] |
Definition at line 28 of file getDQMSummary.py.
tuple getDQMSummary::f = TFile(infile, 'read') [static] |
Definition at line 20 of file getDQMSummary.py.
tuple getDQMSummary::ff = open(outfile,'w') [static] |
Definition at line 21 of file getDQMSummary.py.
Referenced by TowerBlockFormatter::DigiToRaw(), JetFlavourFilter::filter(), JetFlavourCutFilter::filter(), and edmNew::DetSetVector< T >::updateImpl().
list getDQMSummary::infile = argv[1] [static] |
Definition at line 17 of file getDQMSummary.py.
tuple getDQMSummary::iter = dirlist.MakeIterator() [static] |
Definition at line 35 of file getDQMSummary.py.
int getDQMSummary::j = 0 [static] |
Definition at line 94 of file getDQMSummary.py.
tuple getDQMSummary::key = iter.Next() [static] |
Definition at line 36 of file getDQMSummary.py.
Referenced by L1TriggerKey::add(), LayerHitMapCache::SimpleCache< KeyType, ValueType >::add(), RPCRawSynchro::add(), edm::eventsetup::EventSetupRecord::add(), FastFedCablingHistosUsingDb::addDcuDetIds(), FedCablingAlgorithm::analyse(), EventContentAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), L1CondDBPayloadWriter::analyze(), L1CondDBIOVWriter::analyze(), RPCConeBuilder::buildCones(), CommissioningHistosUsingDb::buildDetInfo(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), ViewTranslator::buildMaps(), PedeLabeler::buildReverseMap(), GraphPath< N, E >::calcPaths(), SiStripEventSummary::commissioningInfo(), CommissioningTask::CommissioningTask(), DTConfigHandler::compToken(), FineDelayHistosUsingDb::computeDelays(), pool::TrivialFileCatalog::connect(), SiStripCommissioningSource::createCablingTasks(), CommissioningHistograms::createCollations(), SiStripRawToDigiUnpacker::createDigis(), CSCCrateMap::detId(), IgWebServiceRegistry::executeURL(), CommissioningHistograms::extractHistograms(), SiStripHistoTitle::extractTitle(), FastFedCablingAnalysis::FastFedCablingAnalysis(), TriggerSummaryProducerAOD::fillFilterObjects(), edm::OwnVector< T, P >::fillView(), edm::Vector< T >::fillView(), edm::RefVector< C, T, F >::fillView(), LayerHitMapCache::SimpleCache< KeyType, ValueType >::get(), pos::PixelConfigFile::get(), getAllKeys(), fwlite::Event::getBranchDataFor(), DQMStore::getFileDQMPatchVersion(), DQMStore::getFileReleaseVersion(), VisG4MaterialFalseColorFilter::getSoMaterial(), L1TriggerConfigOnlineProd::getSubsystemKey(), TrackerMap::init(), edm::PrincipalCache::insert(), NuclearInteractionEDProducer::isInside(), edm::reftobase::RefHolder< REF >::key(), edm::reftobase::Holder< T, REF >::key(), VisEventMenu::l1TriggerDialog(), edm::PrincipalCache::lumiPrincipal(), edm::PrincipalCache::lumiPrincipalPtr(), SiStripFedCablingTrivialBuilder::makeFedCabling(), MuonOverlapSeedFromRecHits::makeSeed(), MergeRootfile(), VisTrackerMap::mousePressEvent(), pat::ObjectResolutionCalc::ObjectResolutionCalc(), LayerHitMapCache::operator()(), ReadMapType< std::map< std::string, double > >::operator[](), VisTrackerMap::paintEvent(), ConfigurationRecord::parse(), pat::PATElectronProducer::PATElectronProducer(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), pat::PATMuonProducer::PATMuonProducer(), pat::PATPhotonProducer::PATPhotonProducer(), pat::PATTauProducer::PATTauProducer(), SiStripConfigDb::printDeviceDescriptions(), SiStripConfigDb::printFedDescriptions(), edm::printTrees(), CSCCathodeLCTProcessor::priorityEncode(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), TtEvtBuilder< C >::produce(), L1TriggerConfigOnlineProd::produceL1RCTParameters(), L1TriggerConfigOnlineProd::produceL1RPCConfig(), DQMStore::readDirectory(), edm::detail::reallyFillView(), PoolDBESSource::registerProxies(), edm::registryIsSubset(), IgConfigElement::save(), PdgIdPFCandidateSelectorDefinition::select(), PtMinPFCandidateSelectorDefinition::select(), IsolatedPFCandidateSelectorDefinition::select(), PFTauSelectorDefinition::select(), DTPerformance::set(), DTT0::set(), DTRangeT0::set(), DTTtrig::set(), DTMtime::set(), DTStatusFlag::setCellStatus(), DTDeadFlag::setCellStatus(), edm::eventsetup::DependentEventSetupRecordProvider::setDependentProviders(), TmTestWidget::TmTestWidget(), trackerHierarchy(), TrackerMap::TrackerMap(), FastFedCablingHistosUsingDb::update(), FineDelayHistosUsingDb::update(), VisTrackerMap::VisTrackerMap(), and edm::MessageSender::~MessageSender().
list getDQMSummary::outfile = argv[2] [static] |
Definition at line 18 of file getDQMSummary.py.
string getDQMSummary::reportSummary = "<reportSummary>" [static] |
Definition at line 26 of file getDQMSummary.py.
Referenced by EESummaryClient::analyze(), EBSummaryClient::analyze(), and RPCEventSummary::endLuminosityBlock().
tuple getDQMSummary::reportSummaryContents = std.vector(string) [static] |
Definition at line 31 of file getDQMSummary.py.
string getDQMSummary::ReportSummaryContentsDir = "/Run summary/EventInfo/reportSummaryContents" [static] |
Definition at line 29 of file getDQMSummary.py.
getDQMSummary::rundirname = dirName [static] |
Definition at line 43 of file getDQMSummary.py.
tuple getDQMSummary::summary = std.vector(float) [static] |
Definition at line 30 of file getDQMSummary.py.
tuple getDQMSummary::td = None [static] |
Definition at line 37 of file getDQMSummary.py.
Referenced by DTTracoChip::calculateAngles(), evf::FUResourceBroker::customWebPage(), DTDDUFileReader::dmaUnpack(), DDLVector::do_makeDouble(), StDecaySubset::fillOutput(), TopDecaySubset::fromFullListing(), TopDecaySubset::fromTruncListing(), HistoManager::GetAHistogram(), HcalQLPlotHistoMgr::GetAHistogramImpl(), HistoManager::getDetIdsForType(), HistoManager::getElecIdsForType(), evf::WebGUI::htmlHeadline(), evf::WebGUI::htmlTable(), TtDecayChannelSelector::operator()(), ConfigBox::printHTML(), Select::printHTML(), Navigator::printSelectHTML(), ContentViewer::printSelectHTML(), RunSummaryRead::readData(), RunInfoRead::readData(), L1TriggerScalerRead::readData(), and TopDecaySubset::wInDecayChain().
string getDQMSummary::usage = "usage: %s <DQM_File.root>" [static] |
Definition at line 10 of file getDQMSummary.py.