CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
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 46 of file rrapi.py.

Constructor & Destructor Documentation

def 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 51 of file rrapi.py.

51  def __init__(self, url, debug = False):
52  """
53  Construct API object.
54  url: URL to RRv3 API, i.e. http://localhost:8080/rr_user
55  debug: should debug messages be printed out? Verbose!
56  """
57  self.debug = debug
58  self.url = re.sub("/*$", "/api/", url)
59  self.app = self.get(["app"])
60  self.dprint("app = ", self.app)
61 
def get(self, parts, data=None)
Definition: rrapi.py:72
def __init__(self, url, debug=False)
Definition: rrapi.py:51
def dprint(self, args)
Definition: rrapi.py:62

Member Function Documentation

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

Definition at line 139 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), helper::MasterCollection< C1 >.get(), cond::CoralServiceFactory.get(), edm::ObjectWithDict.get(), TMTQ.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::MemberWithDict.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), AlignableMap.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), edm::CloningPtr< T, P >.get(), TAPD.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), edm::EventBase.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), util.rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), SiPixelClusterShapeCache.get(), DTTtrig.get(), Phase2ITPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), HcalItemArrayCollById< Item, N >.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), DTDeadFlag.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

139  def columns(self, workspace, table):
140  """
141  Get columns for table for workspace (all apps)
142  """
143  return self.get([workspace, table, "columns"])
144 
def get(self, parts, data=None)
Definition: rrapi.py:72
def columns(self, workspace, table)
Definition: rrapi.py:139
def 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 151 of file rrapi.py.

References util.rrapi.RRApi.app, rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), SiStripFakeAPVParameters.get(), cond::Binary.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), edm::ObjectWithDict.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TMTQ.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::MemberWithDict.get(), TPN.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), AlignableMap.get(), cond::persistency::KeyList.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ConfObject.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), FWEvePtr< T >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), edm::CloningPtr< T, P >.get(), TAPD.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::EventBase.get(), pat::EventHypothesis.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), BPHRecoSelect.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), BPHDaughters.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), util.rrapi.RRApi.get(), rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), DTTtrig.get(), Phase2ITPixelClusterShapeCache.get(), SiPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), DTRangeT0.get(), edmplugin::PluginManager.get(), HcalItemArrayCollById< Item, N >.get(), edm::Event.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), BeautifulSoup.Tag.get(), and createfilelist.int.

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

References util.rrapi.RRApi.app, rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), HcalHistogramDigi.get(), edm::VectorInputSourceFactory.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), TMTQ.get(), edm::ObjectWithDict.get(), RecoCollectionFP420.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::MemberWithDict.get(), TPN.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), AlignableMap.get(), cond::persistency::KeyList.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ConfObject.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), FWEvePtr< T >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), pat::EventHypothesis.get(), edm::RefToBaseProd< T >.get(), edm::EventBase.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), BPHRecoSelect.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), util.rrapi.RRApi.get(), rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), Phase2ITPixelClusterShapeCache.get(), DTTtrig.get(), SiPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), DTRangeT0.get(), edmplugin::PluginManager.get(), HcalItemArrayCollById< Item, N >.get(), edm::Event.get(), DTDeadFlag.get(), edm::eventsetup::ComponentFactory< T >.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), BeautifulSoup.Tag.get(), and join().

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

Definition at line 62 of file rrapi.py.

References DTDigiToRawModule.debug, CSCRPCData.debug, CSCDCCUnpacker.debug, CSCTMBScope.debug, ALIUtils.debug, DTDigiToRaw.debug, EgammaProbeSelector.debug, HiggsToZZ4LeptonsSkimEff.debug, DTTTrigCorrectionFirst.debug, HiggsTo2GammaSkim.debug, HiggsToZZ4LeptonsPreFilter.debug, DTSegmentsTask.debug, pkg.AbstractPkg.debug, HiggsToZZ4LeptonsSkim.debug, DTTPDeadWriter.debug, CSCDCCEventData.debug, IsolatedParticlesGeneratedJets.debug, DTTTrigWriter.debug, SiPixelDigiToRaw.debug, SiPixelRawToDigi.debug, DTDDUUnpacker.debug, DTT0Calibration.debug, DTT0CalibrationNew.debug, DTOccupancyPoint.debug, util.rrapi.RRApi.debug, rrapi.RRApi.debug, DTNoiseComputation.debug, DTROS25Unpacker.debug, HeavyChHiggsToTauNuSkim.debug, DTTTrigSyncT0Only.debug, DTTTrigCalibration.debug, DTEfficiencyTask.debug, CSCDDUEventData.debug, DTRunConditionVar.debug, HCALResponse.debug, DTChamberEfficiencyTask.debug, DTTMax.debug, DTChamberEfficiency.debug, CSCCLCTData.debug, PythiaFilterEMJetHeep.debug, DTVDriftCalibration.debug, PixelDataFormatter.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, BaseParticlePropagator.debug, RPCEfficiency.debug, CSCEventData.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, and HltDiff.debug.

Referenced by rrapi.RRApi.get().

62  def dprint(self, *args):
63  """
64  Print debug information
65  """
66  if self.debug:
67  print "RRAPI:",
68  for arg in args:
69  print arg,
70  print
71 
def dprint(self, args)
Definition: rrapi.py:62
def rrapi.RRApi.get (   self,
  parts,
  data = None 
)
General API call (do not use it directly!)

Definition at line 72 of file rrapi.py.

References DTDigiToRawModule.debug, CSCRPCData.debug, CSCDCCUnpacker.debug, ALIUtils.debug, CSCTMBScope.debug, DTDigiToRaw.debug, EgammaProbeSelector.debug, HiggsToZZ4LeptonsSkimEff.debug, DTTTrigCorrectionFirst.debug, HiggsTo2GammaSkim.debug, HiggsToZZ4LeptonsPreFilter.debug, DTSegmentsTask.debug, pkg.AbstractPkg.debug, HiggsToZZ4LeptonsSkim.debug, CSCDCCEventData.debug, IsolatedParticlesGeneratedJets.debug, DTTPDeadWriter.debug, DTTTrigWriter.debug, SiPixelRawToDigi.debug, SiPixelDigiToRaw.debug, DTDDUUnpacker.debug, DTT0Calibration.debug, DTT0CalibrationNew.debug, DTOccupancyPoint.debug, rrapi.RRApi.debug, util.rrapi.RRApi.debug, DTNoiseComputation.debug, DTROS25Unpacker.debug, HeavyChHiggsToTauNuSkim.debug, DTTTrigSyncT0Only.debug, DTTTrigCalibration.debug, DTEfficiencyTask.debug, CSCDDUEventData.debug, DTRunConditionVar.debug, HCALResponse.debug, DTChamberEfficiencyTask.debug, DTTMax.debug, DTChamberEfficiency.debug, CSCCLCTData.debug, DTVDriftCalibration.debug, PythiaFilterEMJetHeep.debug, PixelDataFormatter.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, BaseParticlePropagator.debug, RPCEfficiency.debug, CSCEventData.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, CSCALCTHeader.debug, HltDiff.debug, dir, rrapi.RRApi.dprint(), util.rrapi.RRApi.dprint(), join(), split, harvestTrackValidationPlots.str, util.rrapi.RRApiError.url, rrapi.RRApiError.url, LumiList.LumiList.url, util.rrapi.RRApi.url, and rrapi.RRApi.url.

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

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

Definition at line 232 of file rrapi.py.

References util.rrapi.RRApi.app, rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), TMTQ.get(), edm::ObjectWithDict.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::MemberWithDict.get(), TPN.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), AlignableMap.get(), cond::persistency::KeyList.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), ConfObject.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), pat::Flags::Core.get(), AlignableIndexer.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::EventBase.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), util.rrapi.RRApi.get(), rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), edm::RefToBase< T >.get(), DTTtrig.get(), SiPixelClusterShapeCache.get(), Phase2ITPixelClusterShapeCache.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), DTRangeT0.get(), edmplugin::PluginManager.get(), HcalItemArrayCollById< Item, N >.get(), DTDeadFlag.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

232  def report(self, workspace, report):
233  """
234  Get report data (USER app only)
235  """
236  if self.app != "user":
237  raise RRApiError("Reports available only in user app")
238  return self.get([workspace, report, "data"])
239 
240 
def get(self, parts, data=None)
Definition: rrapi.py:72
def report(self, workspace, report)
Definition: rrapi.py:232
def rrapi.RRApi.reports (   self,
  workspace 
)
Get available reports (USER app only)

Definition at line 224 of file rrapi.py.

References util.rrapi.RRApi.app, rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), TMTQ.get(), edm::ObjectWithDict.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::MemberWithDict.get(), TPN.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), AlignableMap.get(), cond::persistency::KeyList.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), ConfObject.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), pat::Flags::Core.get(), AlignableIndexer.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::EventBase.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), util.rrapi.RRApi.get(), rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), edm::RefToBase< T >.get(), DTTtrig.get(), SiPixelClusterShapeCache.get(), Phase2ITPixelClusterShapeCache.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), DTRangeT0.get(), edmplugin::PluginManager.get(), HcalItemArrayCollById< Item, N >.get(), DTDeadFlag.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

224  def reports(self, workspace):
225  """
226  Get available reports (USER app only)
227  """
228  if self.app != "user":
229  raise RRApiError("Reports available only in user app")
230  return self.get([workspace, "reports"])
231 
def get(self, parts, data=None)
Definition: rrapi.py:72
def reports(self, workspace)
Definition: rrapi.py:224
def rrapi.RRApi.tables (   self,
  workspace 
)
Get tables for workspace (all apps)

Definition at line 133 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), helper::MasterCollection< C1 >.get(), cond::CoralServiceFactory.get(), edm::ObjectWithDict.get(), TMTQ.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::MemberWithDict.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), AlignableMap.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), edm::CloningPtr< T, P >.get(), TAPD.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), edm::EventBase.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), util.rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), SiPixelClusterShapeCache.get(), DTTtrig.get(), Phase2ITPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), HcalItemArrayCollById< Item, N >.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), DTDeadFlag.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

133  def tables(self, workspace):
134  """
135  Get tables for workspace (all apps)
136  """
137  return self.get([workspace, "tables"])
138 
def get(self, parts, data=None)
Definition: rrapi.py:72
def tables(self, workspace)
Definition: rrapi.py:133
def rrapi.RRApi.tags (   self)
Get version tags (USER app only)

Definition at line 119 of file rrapi.py.

References util.rrapi.RRApi.app, rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), cond::CoralServiceFactory.get(), TMTQ.get(), edm::ObjectWithDict.get(), ClusterCollectionFP420.get(), TrackCollectionFP420.get(), RecoCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::MemberWithDict.get(), TPN.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), AlignableMap.get(), cond::persistency::KeyList.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), ConfObject.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), pat::Flags::Core.get(), AlignableIndexer.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::EventBase.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), util.rrapi.RRApi.get(), rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), edm::RefToBase< T >.get(), DTTtrig.get(), SiPixelClusterShapeCache.get(), Phase2ITPixelClusterShapeCache.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), DTRangeT0.get(), edmplugin::PluginManager.get(), HcalItemArrayCollById< Item, N >.get(), DTDeadFlag.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

119  def tags(self):
120  """
121  Get version tags (USER app only)
122  """
123  if self.app != "user":
124  raise RRApiError("Tags call is possible only in user app")
125  return self.get(["tags"])
126 
def get(self, parts, data=None)
Definition: rrapi.py:72
def tags(self)
Definition: rrapi.py:119
def rrapi.RRApi.templates (   self,
  workspace,
  table 
)
Get output templates for table for workspace (all apps)

Definition at line 145 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), helper::MasterCollection< C1 >.get(), cond::CoralServiceFactory.get(), edm::ObjectWithDict.get(), TMTQ.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::MemberWithDict.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), AlignableMap.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), edm::CloningPtr< T, P >.get(), TAPD.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), edm::EventBase.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), util.rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), SiPixelClusterShapeCache.get(), DTTtrig.get(), Phase2ITPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), HcalItemArrayCollById< Item, N >.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), DTDeadFlag.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

145  def templates(self, workspace, table):
146  """
147  Get output templates for table for workspace (all apps)
148  """
149  return self.get([workspace, table, "templates"])
150 
def get(self, parts, data=None)
Definition: rrapi.py:72
def templates(self, workspace, table)
Definition: rrapi.py:145
def rrapi.RRApi.workspaces (   self)
Get workspaces (all apps)

Definition at line 127 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), l1t::PackerFactory.get(), l1t::PackingSetupFactory.get(), l1t::UnpackerFactory.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), HcalHistogramDigi.get(), CTPPSPixelDigiCollection.get(), PixelDigiCollection.get(), OOTPileupCorrectionColl.get(), edm::Factory.get(), StorableDoubleMap< T >.get(), cond::Binary.get(), SiStripFakeAPVParameters.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), DigiCollectionFP420.get(), cond::payloadInspector::PlotAnnotations.get(), helper::MasterCollection< C1 >.get(), cond::CoralServiceFactory.get(), edm::ObjectWithDict.get(), TMTQ.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), edm::stream::impl::dummy_ptr.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::MemberWithDict.get(), edm::helper::AssociationIdenticalKeyReference.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), HcalItemColl< Item >.get(), ElectronDqmHarvesterBase.get(), DTRecoUncertainties.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), AlignableMap.get(), BPHUserData.get(), pat::UserData.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), hcaldqm::ContainerXXX< STDTYPE >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), HcalItemArrayColl< Item, N >.get(), AlignableIndexer.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), BPHTokenWrapper< Obj >.get(), helper::MasterCollection< edm::View< T > >.get(), DTRecoConditions.get(), mayown_ptr< T, N >.get(), edm::ExtensionCord< T >.get(), edm::CloningPtr< T, P >.get(), TAPD.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), pat::EventHypothesis.get(), edm::EventBase.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), BPHRecoSelect.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), BPHDaughters.get(), jsoncollector::JsonMonPtr.get(), CaloMiscalibMapHcal.get(), SiStripConfObject.get(), edm::propagate_const< T >.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), util.rrapi.RRApi.get(), BPHRecoBuilder::BPHGenericCollection.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKeyExt.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), DTT0.get(), FWEventItem.get(), DTTPGParameters.get(), DTLVStatus.get(), edm::helper::IndexRangeAssociation.get(), cond::persistency::RunInfoProxy.get(), HcalItemCollById< Item >.get(), pat::Flags::Selection.get(), SiPixelClusterShapeCache.get(), DTTtrig.get(), Phase2ITPixelClusterShapeCache.get(), edm::RefToBase< T >.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), reco::LeafRefCandidateT.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), HcalItemArrayCollById< Item, N >.get(), edm::eventsetup::ComponentFactory< T >.get(), edm::Event.get(), DTDeadFlag.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< C >.get(), pat::eventhypothesis::AcceptAllFilter.get(), DDXMLElement.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), data_sources.json_data_node.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), BPHRecoBuilder::BPHSpecificCollection< T >.get(), cond::persistency::RowBuffer< Columns >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), DQMStore::IGetter.get(), reco::Candidate.get(), reco::LeafCandidate.get(), reco::TaggingVariableList.get(), edm::Ref< C, T, F >.get(), edm::AssociationMap< Tag >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< 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(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), mps_create_file_lists._DasCache.get(), and BeautifulSoup.Tag.get().

127  def workspaces(self):
128  """
129  Get workspaces (all apps)
130  """
131  return self.get(["workspaces"])
132 
def get(self, parts, data=None)
Definition: rrapi.py:72
def workspaces(self)
Definition: rrapi.py:127

Member Data Documentation

rrapi.RRApi.app
rrapi.RRApi.debug

Definition at line 57 of file rrapi.py.

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

rrapi.RRApi.url

Definition at line 58 of file rrapi.py.

Referenced by rrapi.RRApi.get().