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

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 get(self, parts, data=None)
Definition: rrapi.py:73
def __init__(self, url, debug=False)
Definition: rrapi.py:52
def dprint(self, args)
Definition: rrapi.py:63

Member Function Documentation

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 CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def columns(self, workspace, table)
Definition: rrapi.py:140
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, CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), HcalHistogramDigi.get(), OOTPileupCorrectionColl.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), RecoCollectionFP420.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), AlignableMap.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), pat::UserData.get(), EventWithHistory.get(), ConfObject.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), fwlite::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), L1TriggerKeyExt.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), edm::EventItemGetter< RefType, EventType >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def count(self, workspace, table, filter=None, query=None, tag=None)
Definition: rrapi.py:152
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, CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), HcalHistogramDigi.get(), OOTPileupCorrectionColl.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), RecoCollectionFP420.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), AlignableMap.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::Association< C >.get(), pos::PixelROCStatus.get(), pat::UserData.get(), EventWithHistory.get(), ConfObject.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), fwlite::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), L1TriggerKeyExt.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), edm::EventItemGetter< RefType, EventType >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
def data(self, workspace, table, template, columns=None, filter=None, query=None, order=None, tag=None)
Definition: rrapi.py:181
def util.rrapi.RRApi.dprint (   self,
  args 
)
Print debug information

Definition at line 63 of file rrapi.py.

References DigiComparisonTask.debug, TestTask.debug, TPComparisonTask.debug, QIE10Task.debug, QIE11Task.debug, DigiPhase1Task.debug, RecHitTask.debug, PedestalTask.debug, UMNioTask.debug, ZDCTask.debug, HcalOfflineHarvesting.debug, HcalOnlineHarvesting.debug, HFRaddamTask.debug, LaserTask.debug, NoCQTask.debug, RawTask.debug, TPTask.debug, DigiTask.debug, LEDTask.debug, DTDigiToRawModule.debug, CSCRPCData.debug, CSCTMBScope.debug, ALIUtils.debug, CSCDCCUnpacker.debug, DTDigiToRaw.debug, crabFunctions.CrabController.debug, DTSegmentsTask.debug, DTTTrigCorrectionFirst.debug, DTDDUUnpacker.debug, DTTPDeadWriter.debug, DTTTrigWriter.debug, DTT0CalibrationRMS.debug, CSCDCCEventData.debug, DTNoiseComputation.debug, DTOccupancyPoint.debug, DTTTrigSyncT0Only.debug, DTROS25Unpacker.debug, util.rrapi.RRApi.debug, DTEfficiencyTask.debug, DTT0Calibration.debug, DTTTrigCalibration.debug, DTRunConditionVar.debug, CSCDDUEventData.debug, DTChamberEfficiencyTask.debug, FCDTask.debug, DTChamberEfficiency.debug, CSCCLCTData.debug, DTTMax.debug, DTVDriftCalibration.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, CSCTMBHeader.debug, CSCEventData.debug, BaseParticlePropagator.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, crabFunctions.CrabTask.debug, and edm.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 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
def dprint(self, args)
Definition: rrapi.py:63
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 DigiComparisonTask.debug, TestTask.debug, TPComparisonTask.debug, HFRaddamTask.debug, LaserTask.debug, NoCQTask.debug, PedestalTask.debug, QIE10Task.debug, QIE11Task.debug, HcalOnlineHarvesting.debug, RecHitTask.debug, UMNioTask.debug, ZDCTask.debug, DigiPhase1Task.debug, HcalOfflineHarvesting.debug, RawTask.debug, TPTask.debug, LEDTask.debug, DigiTask.debug, DTDigiToRawModule.debug, CSCRPCData.debug, CSCTMBScope.debug, DTDigiToRaw.debug, CSCDCCUnpacker.debug, ALIUtils.debug, crabFunctions.CrabController.debug, DTSegmentsTask.debug, DTTTrigCorrectionFirst.debug, DTTPDeadWriter.debug, DTDDUUnpacker.debug, DTTTrigWriter.debug, DTT0CalibrationRMS.debug, CSCDCCEventData.debug, DTNoiseComputation.debug, DTOccupancyPoint.debug, DTTTrigSyncT0Only.debug, DTROS25Unpacker.debug, util.rrapi.RRApi.debug, DTT0Calibration.debug, DTEfficiencyTask.debug, DTTTrigCalibration.debug, DTRunConditionVar.debug, CSCDDUEventData.debug, DTChamberEfficiencyTask.debug, FCDTask.debug, DTChamberEfficiency.debug, CSCCLCTData.debug, DTVDriftCalibration.debug, DTTMax.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, CSCTMBHeader.debug, CSCEventData.debug, BaseParticlePropagator.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, crabFunctions.CrabTask.debug, DeadROC_duringRun.dir, util.rrapi.RRApi.dprint(), join(), cms::dd.split(), str, util.rrapi.RRApiError.url, and util.rrapi.RRApi.url.

Referenced by Options.Options.__getitem__(), betterConfigParser.BetterConfigParser.__updateDict(), util.rrapi.RRApi.columns(), rrapi.RRApi.columns(), util.rrapi.RRApi.count(), rrapi.RRApi.count(), rrapi.RRApi.data(), util.rrapi.RRApi.data(), betterConfigParser.BetterConfigParser.getCompares(), betterConfigParser.BetterConfigParser.getGeneral(), betterConfigParser.BetterConfigParser.getResultingSection(), rrapi.RRApi.report(), util.rrapi.RRApi.report(), rrapi.RRApi.reports(), util.rrapi.RRApi.reports(), util.rrapi.RRApi.tables(), rrapi.RRApi.tables(), rrapi.RRApi.tags(), util.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 
std::vector< std::string_view > split(std::string_view, const char *)
def get(self, parts, data=None)
Definition: rrapi.py:73
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
#define str(s)
def dprint(self, args)
Definition: rrapi.py:63
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, CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), HcalHistogramDigi.get(), OOTPileupCorrectionColl.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), AlignableIndexer.get(), DTRecoConditions.get(), pat::Flags::Core.get(), HcalItemArrayColl< Item, N >.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), fwlite::Record.get(), CaloMiscalibMapHcal.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), L1TriggerKeyExt.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), edm::EventItemGetter< RefType, EventType >.get(), cond::persistency::RunInfoProxy.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), tkal_create_file_lists._DasCache.get(), and edm.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def report(self, workspace, report)
Definition: rrapi.py:233
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, CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), HcalHistogramDigi.get(), OOTPileupCorrectionColl.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), HcalItemArrayColl< Item, N >.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), L1TriggerKeyExt.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def reports(self, workspace)
Definition: rrapi.py:225
def util.rrapi.RRApi.tables (   self,
  workspace 
)
Get tables for workspace (all apps)

Definition at line 134 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def tables(self, workspace)
Definition: rrapi.py:134
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, CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), HcalHistogramDigi.get(), OOTPileupCorrectionColl.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), HcalItemArrayColl< Item, N >.get(), TAPD.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), L1TriggerKeyExt.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), cond::persistency::RunInfoProxy.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def tags(self)
Definition: rrapi.py:120
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 CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def templates(self, workspace, table)
Definition: rrapi.py:146
def util.rrapi.RRApi.workspaces (   self)
Get workspaces (all apps)

Definition at line 128 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), APVCyclePhaseCollection.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), HcalHistogramDigi.get(), cond::persistency::CondGetter.get(), DigiCollectionFP420.get(), StorableDoubleMap< T >.get(), helper::MasterCollection< C1 >.get(), cond::Binary.get(), TMTQ.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), SiStripGainFactor.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), CSCTriggerContainer< T >.get(), SiStripFakeAPVParameters.get(), TPN.get(), pat::Flags.get(), DTRecoUncertainties.get(), DTKeyedConfigCache.get(), HcalItemColl< Item >.get(), AlignableMap.get(), ElectronDqmHarvesterBase.get(), edm::helper::AssociationIdenticalKeyReference.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), pos::PixelROCStatus.get(), edm::Association< C >.get(), pat::UserData.get(), EventWithHistory.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), ConfObject.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignableIndexer.get(), btagbtvdeep::DeepBoostedJetFeatures.get(), DTRecoConditions.get(), pat::Flags::Core.get(), TAPD.get(), HcalItemArrayColl< Item, N >.get(), helper::MasterCollection< edm::View< T > >.get(), edm::CloningPtr< T, P >.get(), DTHVHandler.get(), coral_bridge::AuthenticationCredentialSet.get(), CaloMiscalibMapHcal.get(), fwlite::Record.get(), MP7PacketReader.get(), edm::RefToBaseProd< T >.get(), MP7FileReader.get(), pat::EventHypothesis.get(), L1TriggerKey.get(), L1TriggerKeyExt.get(), SiStripConfObject.get(), mayown_ptr< T, N >.get(), ConditionDumperInEdm.get(), pat::Flags::Overlap.get(), pat::eventhypothesis::Looper< T >.get(), fwlite::EventSetup.get(), util.rrapi.RRApi.get(), edm::RangeMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), InputTagDistributorService.get(), DTRangeT0.get(), DTTtrig.get(), DTHVStatus.get(), HcalItemCollById< Item >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::helper::IndexRangeAssociation.get(), CaloMiscalibMapEcal.get(), cond::persistency::RunInfoProxy.get(), edm::EventItemGetter< RefType, EventType >.get(), pat::Flags::Selection.get(), DTDeadFlag.get(), edm::RefToBase< T >.get(), SiPixelClusterShapeCache.get(), HcalItemArrayCollById< Item, N >.get(), DTMtime.get(), reco::LeafRefCandidateT.get(), edm::RefProd< C >.get(), DTStatusFlag.get(), pat::Flags::Isolation.get(), DDXMLElement.get(), DTPerformance.get(), MuonDigiCollection< IndexType, DigiType >.get(), pat::eventhypothesis::AcceptAllFilter.get(), edm::Ptr< T >.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), data_sources.json_data_node.get(), cms::DDFilteredView.get(), edm::FwdRef< C, T, F >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), reco::TaggingVariableList.get(), reco::LeafCandidate.get(), dqm::dqmstoreimpl::DQMStore::IGetter.get(), edm::AssociationMap< Tag >.get(), pos::PixelConfigFile.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::dqmstoreimpl::DQMStore.get(), BeautifulSoup.Tag.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 
def get(self, parts, data=None)
Definition: rrapi.py:73
def workspaces(self)
Definition: rrapi.py:128

Member Data Documentation

util.rrapi.RRApi.app
util.rrapi.RRApi.debug
util.rrapi.RRApi.url

Definition at line 59 of file rrapi.py.

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