CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
util.rrapi.RRApi Class Reference

Public Member Functions

def __init__ (self, url, debug=False)
 
def columns (self, workspace, table)
 
def count (self, workspace, table, filter=None, query=None, tag=None)
 
def data (self, workspace, table, template, columns=None, filter=None, query=None, order=None, tag=None)
 
def dprint (self, args)
 
def get (self, parts, data=None)
 
def report (self, workspace, report)
 
def reports (self, workspace)
 
def tables (self, workspace)
 
def tags (self)
 
def templates (self, workspace, table)
 
def workspaces (self)
 

Public Attributes

 app
 
 debug
 
 url
 

Detailed Description

RR API object

Definition at line 47 of file rrapi.py.

Constructor & Destructor Documentation

◆ __init__()

def util.rrapi.RRApi.__init__ (   self,
  url,
  debug = False 
)
Construct API object.
url: URL to RRv3 API, i.e. http://localhost:8080/rr_user
debug: should debug messages be printed out? Verbose!

Definition at line 52 of file rrapi.py.

52  def __init__(self, url, debug = False):
53  """
54  Construct API object.
55  url: URL to RRv3 API, i.e. http://localhost:8080/rr_user
56  debug: should debug messages be printed out? Verbose!
57  """
58  self.debug = debug
59  self.url = re.sub("/*$", "/api/", url)
60  self.app = self.get(["app"])
61  self.dprint("app = ", self.app)
62 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ columns()

def util.rrapi.RRApi.columns (   self,
  workspace,
  table 
)
Get columns for table for workspace (all apps)

Definition at line 140 of file rrapi.py.

References pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), cond::Binary.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), TMTQ.get(), helper::MasterCollection< C1 >.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), DTKeyedConfigCache.get(), AlignableMap.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), CaloMiscalibMapEcal.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), DTDeadFlag.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), reco::LeafRefCandidateT.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), DTStatusFlag.get(), cond::OMSServiceResultRef.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

140  def columns(self, workspace, table):
141  """
142  Get columns for table for workspace (all apps)
143  """
144  return self.get([workspace, table, "columns"])
145 

◆ count()

def util.rrapi.RRApi.count (   self,
  workspace,
  table,
  filter = None,
  query = None,
  tag = None 
)
Get number of rows for table for workspace with filter, query (all apps) or tag (USER app only)

Definition at line 152 of file rrapi.py.

References util.rrapi.RRApi.app, pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), helper::MasterCollection< C1 >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), cond::Binary.get(), TMTQ.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), SiStripGainFactor.get(), StorableDoubleMap< T >.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), AlignableMap.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), ConfObject.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), MP7FileReader.get(), fwlite::Record.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), DTRangeT0.get(), CaloMiscalibMapEcal.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), DTDeadFlag.get(), SiPixelClusterShapeCache.get(), reco::LeafRefCandidateT.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), cond::OMSServiceResultRef.get(), DTStatusFlag.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), HeterogeneousSoAImpl< T, Traits >.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), tkal_create_file_lists._DasCache.get(), and createfilelist.int.

152  def count(self, workspace, table, filter = None, query = None, tag = None):
153  """
154  Get number of rows for table for workspace with filter, query (all apps) or tag (USER app only)
155  """
156 
157  #
158  # Constructing request path
159  #
160 
161  req = [ workspace, table ]
162  if tag != None:
163  if self.app != "user":
164  raise RRApiError("Tags are possible only in user app")
165  else:
166  req.append(tag)
167  req.append("count")
168 
169  #
170  # Constructing filter/query payload
171  #
172 
173  filters = {}
174  if filter != None:
175  filters['filter'] = filter
176  if query != None:
177  filters['query'] = query
178 
179  return int(self.get(req, filters))
180 

◆ data()

def util.rrapi.RRApi.data (   self,
  workspace,
  table,
  template,
  columns = None,
  filter = None,
  query = None,
  order = None,
  tag = None 
)
Get data for table for workspace with filter, query (all apps) or tag (USER app only)

Definition at line 181 of file rrapi.py.

References util.rrapi.RRApi.app, pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), helper::MasterCollection< C1 >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), cond::Binary.get(), TMTQ.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), SiStripGainFactor.get(), StorableDoubleMap< T >.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), AlignableMap.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), ConfObject.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), MP7FileReader.get(), fwlite::Record.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), DTRangeT0.get(), CaloMiscalibMapEcal.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), DTDeadFlag.get(), SiPixelClusterShapeCache.get(), reco::LeafRefCandidateT.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), cond::OMSServiceResultRef.get(), DTStatusFlag.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), HeterogeneousSoAImpl< T, Traits >.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), tkal_create_file_lists._DasCache.get(), and join().

181  def data(self, workspace, table, template, columns = None, filter = None, query = None, order = None, tag = None):
182  """
183  Get data for table for workspace with filter, query (all apps) or tag (USER app only)
184  """
185 
186  #
187  # Check req parameters
188  #
189 
190  if not isinstance(workspace, str):
191  raise RRApiError("workspace parameter must be str")
192 
193  #
194  # Constructing request path
195  #
196 
197  req = [ workspace, table, template ]
198  if columns != None:
199  req.append(",".join(columns))
200  else:
201  req.append("all")
202  if order != None:
203  req.append(",".join(order))
204  else:
205  req.append("none")
206  if tag != None:
207  if self.app != "user":
208  raise RRApiError("Tags are possible only in user app")
209  else:
210  req.append(tag)
211  req.append("data")
212 
213  #
214  # Constructing filter/query payload
215  #
216 
217  filters = {}
218  if filter != None:
219  filters['filter'] = filter
220  if query != None:
221  filters['query'] = query
222 
223  return self.get(req, filters)
224 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ dprint()

def util.rrapi.RRApi.dprint (   self,
  args 
)
Print debug information

Definition at line 63 of file rrapi.py.

References HcalOfflineHarvesting.debug, PedestalTask.debug, QIE10Task.debug, QIE11Task.debug, RecHitTask.debug, UMNioTask.debug, ZDCTask.debug, HcalOnlineHarvesting.debug, HFRaddamTask.debug, LaserTask.debug, NoCQTask.debug, RawTask.debug, TPTask.debug, DigiTask.debug, LEDTask.debug, DTDigiToRawModule.debug, CSCRPCData.debug, CSCTMBScope.debug, DTDigiToRaw.debug, ALIUtils.debug, crabFunctions.CrabController.debug, DTSegmentsTask.debug, DTOccupancyEfficiency.debug, CSCGEMData.debug, DTTTrigCorrectionFirst.debug, DTDDUUnpacker.debug, CSCDCCEventData.debug, DTT0CalibrationRMS.debug, DTTTrigWriter.debug, DTTPDeadWriter.debug, PPSAlignmentConfigurationESSource.debug, DTOccupancyPoint.debug, DTNoiseComputation.debug, DTROS25Unpacker.debug, util.rrapi.RRApi.debug, DTT0Calibration.debug, DTTTrigSyncT0Only.debug, DTEfficiencyTask.debug, DTTTrigCalibration.debug, CSCDDUEventData.debug, DTRunConditionVar.debug, DTChamberEfficiencyTask.debug, DTChamberEfficiency.debug, FCDTask.debug, CSCDCCUnpacker.debug, CSCComparatorData.debug, DTTMax.debug, DTVDriftCalibration.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, CSCEventData.debug, BaseParticlePropagator.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, crabFunctions.CrabTask.debug, and print().

Referenced by util.rrapi.RRApi.get(), and rrapi.RRApi.get().

63  def dprint(self, *args):
64  """
65  Print debug information
66  """
67  if self.debug:
68  print("RRAPI:", end=' ')
69  for arg in args:
70  print(arg, end=' ')
71  print()
72 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
#define dprint(x)
Definition: Debug.h:95

◆ get()

def util.rrapi.RRApi.get (   self,
  parts,
  data = None 
)
General API call (do not use it directly!)

Definition at line 73 of file rrapi.py.

References HcalOfflineHarvesting.debug, HcalOnlineHarvesting.debug, HFRaddamTask.debug, LaserTask.debug, NoCQTask.debug, PedestalTask.debug, QIE10Task.debug, QIE11Task.debug, RecHitTask.debug, UMNioTask.debug, ZDCTask.debug, RawTask.debug, TPTask.debug, LEDTask.debug, DigiTask.debug, DTDigiToRawModule.debug, CSCRPCData.debug, DTDigiToRaw.debug, CSCTMBScope.debug, ALIUtils.debug, crabFunctions.CrabController.debug, DTSegmentsTask.debug, DTOccupancyEfficiency.debug, CSCGEMData.debug, DTDDUUnpacker.debug, DTTTrigCorrectionFirst.debug, CSCDCCEventData.debug, DTT0CalibrationRMS.debug, DTTTrigWriter.debug, DTTPDeadWriter.debug, PPSAlignmentConfigurationESSource.debug, DTOccupancyPoint.debug, DTNoiseComputation.debug, DTROS25Unpacker.debug, util.rrapi.RRApi.debug, DTT0Calibration.debug, DTTTrigSyncT0Only.debug, DTEfficiencyTask.debug, CSCDDUEventData.debug, DTTTrigCalibration.debug, DTRunConditionVar.debug, DTChamberEfficiencyTask.debug, FCDTask.debug, DTChamberEfficiency.debug, CSCDCCUnpacker.debug, CSCComparatorData.debug, DTTMax.debug, DTVDriftCalibration.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, CSCEventData.debug, BaseParticlePropagator.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, crabFunctions.CrabTask.debug, DeadROC_duringRun.dir, util.rrapi.RRApi.dprint(), join(), submitPVValidationJobs.split(), str, util.rrapi.RRApiError.url, and util.rrapi.RRApi.url.

Referenced by Options.Options.__getitem__(), betterConfigParser.BetterConfigParser.__updateDict(), submitPVValidationJobs.BetterConfigParser.__updateDict(), util.rrapi.RRApi.columns(), rrapi.RRApi.columns(), rrapi.RRApi.count(), util.rrapi.RRApi.count(), rrapi.RRApi.data(), util.rrapi.RRApi.data(), betterConfigParser.BetterConfigParser.getCompares(), betterConfigParser.BetterConfigParser.getGeneral(), betterConfigParser.BetterConfigParser.getResultingSection(), submitPVValidationJobs.BetterConfigParser.getResultingSection(), util.rrapi.RRApi.report(), rrapi.RRApi.report(), rrapi.RRApi.reports(), util.rrapi.RRApi.reports(), rrapi.RRApi.tables(), util.rrapi.RRApi.tables(), util.rrapi.RRApi.tags(), rrapi.RRApi.tags(), rrapi.RRApi.templates(), util.rrapi.RRApi.templates(), util.rrapi.RRApi.workspaces(), and rrapi.RRApi.workspaces().

73  def get(self, parts, data = None):
74  """
75  General API call (do not use it directly!)
76  """
77 
78  #
79  # Constructing request path
80  #
81 
82  callurl = self.url + "/".join(urllib.quote(p) for p in parts)
83 
84  #
85  # Constructing data payload
86  #
87 
88  sdata = None
89  if data != None:
90  sdata = json.dumps(data)
91 
92  #
93  # Do the query and respond
94  #
95 
96  self.dprint(callurl, "with payload", sdata)
97 
98  resp = urllib.urlopen(callurl, sdata)
99 
100  has_getcode = "getcode" in dir(resp)
101  if self.debug:
102  if has_getcode:
103  self.dprint("Response", resp.getcode(), " ".join(str(resp.info()).split("\r\n")))
104  else:
105  self.dprint("Response", " ".join(str(resp.info()).split("\r\n")))
106 
107  if not has_getcode or resp.getcode() == 200:
108  rdata = resp.read()
109  if re.search("json", resp.info().gettype()):
110  try:
111  return json.loads(rdata)
112  except TypeError as e:
113  self.dprint(e)
114  return rdata
115  else:
116  return rdata
117  else:
118  raise RRApiError(resp)
119 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
#define str(s)

◆ report()

def util.rrapi.RRApi.report (   self,
  workspace,
  report 
)
Get report data (USER app only)

Definition at line 233 of file rrapi.py.

References util.rrapi.RRApi.app, pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), helper::MasterCollection< C1 >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), cond::Binary.get(), TMTQ.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), AlignableMap.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), MP7FileReader.get(), fwlite::Record.get(), pat::EventHypothesis.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), pat::Flags::Overlap.get(), AlignmentGeometry.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), DTRangeT0.get(), CaloMiscalibMapEcal.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), DTDeadFlag.get(), SiPixelClusterShapeCache.get(), reco::LeafRefCandidateT.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), cond::OMSServiceResultRef.get(), DTStatusFlag.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), tkal_create_file_lists._DasCache.get(), and print().

233  def report(self, workspace, report):
234  """
235  Get report data (USER app only)
236  """
237  if self.app != "user":
238  raise RRApiError("Reports available only in user app")
239  return self.get([workspace, report, "data"])
240 
241 

◆ reports()

def util.rrapi.RRApi.reports (   self,
  workspace 
)
Get available reports (USER app only)

Definition at line 225 of file rrapi.py.

References util.rrapi.RRApi.app, pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), helper::MasterCollection< C1 >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), cond::Binary.get(), TMTQ.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), AlignableMap.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), DTRangeT0.get(), CaloMiscalibMapEcal.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), DTDeadFlag.get(), SiPixelClusterShapeCache.get(), reco::LeafRefCandidateT.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), cond::OMSServiceResultRef.get(), DTStatusFlag.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

225  def reports(self, workspace):
226  """
227  Get available reports (USER app only)
228  """
229  if self.app != "user":
230  raise RRApiError("Reports available only in user app")
231  return self.get([workspace, "reports"])
232 

◆ tables()

def util.rrapi.RRApi.tables (   self,
  workspace 
)
Get tables for workspace (all apps)

Definition at line 134 of file rrapi.py.

References pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), cond::Binary.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), TMTQ.get(), helper::MasterCollection< C1 >.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), DTKeyedConfigCache.get(), AlignableMap.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), CaloMiscalibMapEcal.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), DTDeadFlag.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), reco::LeafRefCandidateT.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), DTStatusFlag.get(), cond::OMSServiceResultRef.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

134  def tables(self, workspace):
135  """
136  Get tables for workspace (all apps)
137  """
138  return self.get([workspace, "tables"])
139 

◆ tags()

def util.rrapi.RRApi.tags (   self)
Get version tags (USER app only)

Definition at line 120 of file rrapi.py.

References util.rrapi.RRApi.app, pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), helper::MasterCollection< C1 >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), cond::Binary.get(), TMTQ.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), AlignableMap.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), DTRangeT0.get(), CaloMiscalibMapEcal.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), DTDeadFlag.get(), SiPixelClusterShapeCache.get(), reco::LeafRefCandidateT.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), cond::OMSServiceResultRef.get(), DTStatusFlag.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

120  def tags(self):
121  """
122  Get version tags (USER app only)
123  """
124  if self.app != "user":
125  raise RRApiError("Tags call is possible only in user app")
126  return self.get(["tags"])
127 

◆ templates()

def util.rrapi.RRApi.templates (   self,
  workspace,
  table 
)
Get output templates for table for workspace (all apps)

Definition at line 146 of file rrapi.py.

References pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), cond::Binary.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), TMTQ.get(), helper::MasterCollection< C1 >.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), DTKeyedConfigCache.get(), AlignableMap.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), CaloMiscalibMapEcal.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), DTDeadFlag.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), reco::LeafRefCandidateT.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), DTStatusFlag.get(), cond::OMSServiceResultRef.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

146  def templates(self, workspace, table):
147  """
148  Get output templates for table for workspace (all apps)
149  """
150  return self.get([workspace, table, "templates"])
151 

◆ workspaces()

def util.rrapi.RRApi.workspaces (   self)
Get workspaces (all apps)

Definition at line 128 of file rrapi.py.

References pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), HcalPulseContainmentManager.get(), HostProduct< T >.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), HGCUncalibRecHitDevice.get(), HeterogeneousSoA< T >.get(), cond::Binary.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), TMTQ.get(), helper::MasterCollection< C1 >.get(), HGCRecHitCPUProduct.get(), HGCRecHitGPUProduct.get(), StorableDoubleMap< T >.get(), SiStripGainFactor.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), ElectronDqmHarvesterBase.get(), DTKeyedConfigCache.get(), AlignableMap.get(), edm::helper::AssociationIdenticalKeyReference.get(), HcalItemColl< Item >.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), cms::DDCompactView.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), EventWithHistory.get(), pat::Flags::Core.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), cond::payloadInspector::PlotAnnotations.get(), fwlite::Record.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), HGCUncalibRecHitHost< T >.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), AlignmentGeometry.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), CaloMiscalibMapEcal.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), edm::helper::IndexRangeAssociation.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), DTDeadFlag.get(), L1TPhase2CorrelatorOffline::MultiCollection.get(), reco::LeafRefCandidateT.get(), DTMtime.get(), edm::RefProd< C >.get(), pat::Flags::Isolation.get(), DTStatusFlag.get(), cond::OMSServiceResultRef.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), data_sources.json_data_node.get(), edm::ValueMap< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::FwdRef< C, T, F >.get(), HeterogeneousSoAImpl< T, Traits >.get(), cscdqm::Cache.get(), cms::DDFilteredView.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), cond::persistency::ConditionBuffer< Columns >.get(), reco::LeafCandidate.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), cond::persistency::QueryIterator< Types >.get(), dqm::implementation::IGetter.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and tkal_create_file_lists._DasCache.get().

128  def workspaces(self):
129  """
130  Get workspaces (all apps)
131  """
132  return self.get(["workspaces"])
133 

Member Data Documentation

◆ app

util.rrapi.RRApi.app

◆ debug

util.rrapi.RRApi.debug

◆ url

util.rrapi.RRApi.url

Definition at line 59 of file rrapi.py.

Referenced by util.rrapi.RRApi.get(), and rrapi.RRApi.get().