Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,13 @@ def addCommon(self):
self.addedObjects.append(("","options"))

if self._options.lazy_download:
self.process.AdaptorConfig = cms.Service("AdaptorConfig",
self.process.TFileAdaptor = cms.Service("TFileAdaptor",
stats = cms.untracked.bool(True),
enable = cms.untracked.bool(True),
cacheHint = cms.untracked.string("lazy-download"),
readHint = cms.untracked.string("read-ahead-buffered")
)
self.addedObjects.append(("Setup lazy download","AdaptorConfig"))
self.addedObjects.append(("Setup lazy download","TFileAdaptor"))

#self.process.cmsDriverCommand = cms.untracked.PSet( command=cms.untracked.string('cmsDriver.py '+self._options.arguments) )
#self.addedObjects.append(("what cmsDriver command was used","cmsDriverCommand"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")
Copy link
Contributor

@nothingface0 nothingface0 Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excuse the ignorance, but why are all those lines removed?

process.AdaptorConfig = cms.Service("AdaptorConfig

Are they not needed, in the sense that the service is added/instantiated by default somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, since the very beginning of CMSSW, that service has been automatically added to the system.



#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Message Logger
Expand Down
2 changes: 1 addition & 1 deletion DQM/CSCMonitorModule/test/dqm_dev_test_new_unpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
#--------------------------

#process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
#process.AdaptorConfig = cms.Service("AdaptorConfig")
#

#--------------------------
# Message Logger
Expand Down
2 changes: 1 addition & 1 deletion DQM/CSCMonitorModule/test/dqm_repacker_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
#--------------------------

#process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
#process.AdaptorConfig = cms.Service("AdaptorConfig")
#

#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Message Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@


#-------------------------- # Service #--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Filters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Filters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Filters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


# Simple filter for event
process.eventFilter = cms.EDFilter("SimpleEventFilter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


# Simple filter for event
process.eventFilter = cms.EDFilter("SimpleEventFilter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")

2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/python/reco_calib_source_client_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
destinations = cms.untracked.vstring('cout')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
StaticUpdateFrequency = cms.untracked.int32(10),
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/test/client_template_calib_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
destinations = cms.untracked.vstring('TEXTFILE')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
EventOffsetForInit = cms.untracked.int32(10),
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/test/client_template_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# destinations = cms.untracked.vstring('TEXTFILE')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


# DQM modules:
process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/test/client_template_physics_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
destinations = cms.untracked.vstring('TEXTFILE')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
EventOffsetForInit = cms.untracked.int32(10),
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/test/pixel_reco_dqm_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
destinations = cms.untracked.vstring('cout')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
FileSaveFrequency = cms.untracked.int32(50),
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiPixelCommon/test/reco_calib_source_client_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
destinations = cms.untracked.vstring('cout')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
StaticUpdateFrequency = cms.untracked.int32(10),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
destinations = cms.untracked.vstring('cout')
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
FileSaveFrequency = cms.untracked.int32(50),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
),
destinations = cms.untracked.vstring('cout')
)
process.AdaptorConfig = cms.Service("AdaptorConfig")

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
)
process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")

process.AdaptorConfig = cms.Service("AdaptorConfig")



##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
)
process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")

process.AdaptorConfig = cms.Service("AdaptorConfig")



##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
)
process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.siPixelLocalReco = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siPixelRecHits)
process.siStripLocalReco = cms.Sequence(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters*process.siStripMatchedRecHits)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Scheduling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
#--------------------------
# Service
#--------------------------
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Scheduling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

process.p = cms.Path(process.RecoForDQMCosmic*process.SiStripDQMOffRealData)

process.AdaptorConfig = cms.Service("AdaptorConfig")


#-------------------------
# Input Events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
process.SiStripClients
)

process.AdaptorConfig = cms.Service("AdaptorConfig")


#-------------------------
# Input Events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
process.outP = cms.OutputModule("AsciiOutputModule")
process.ep = cms.EndPath(process.outP)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('/store/relval/2008/7/21/RelVal-RelValQCD_Pt_80_120-1216579576-STARTUP_V4-2nd/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579576-STARTUP_V4-2nd-unmerged/0000/0A81C8A7-6E57-DD11-8B07-00161757BF42.root',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
process.outP = cms.OutputModule("AsciiOutputModule")
process.ep = cms.EndPath(process.outP)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('/store/relval/2008/7/21/RelVal-RelValQCD_Pt_80_120-1216579576-STARTUP_V4-2nd/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579576-STARTUP_V4-2nd-unmerged/0000/0A81C8A7-6E57-DD11-8B07-00161757BF42.root',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

process.outP = cms.OutputModule("AsciiOutputModule")

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.RecoForDQM = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siStripDigis*process.gtDigis*process.siStripZeroSuppression*process.siStripClusters)
process.p = cms.Path(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
##
process.outP = cms.OutputModule("AsciiOutputModule")

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.RecoForDQM = cms.Sequence(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters)
process.p = cms.Path(process.RecoForDQM*process.SiStripMonitorCluster)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
process.SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True

process.outP = cms.OutputModule("AsciiOutputModule")
process.AdaptorConfig = cms.Service("AdaptorConfig")


#--------------------------
# Sequences
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

process.outP = cms.OutputModule("AsciiOutputModule")

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('/store/relval/2008/7/21/RelVal-RelValQCD_Pt_80_120-1216579576-STARTUP_V4-2nd/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579576-STARTUP_V4-2nd-unmerged/0000/0A81C8A7-6E57-DD11-8B07-00161757BF42.root',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
process.printout = cms.OutputModule("AsciiOutputModule")
process.ep = cms.EndPath(process.printout)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source(
# Underground cosmics CRUZET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
process.printout = cms.OutputModule("AsciiOutputModule")
process.ep = cms.EndPath(process.printout)

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source(
"PoolSource",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

process.outP = cms.OutputModule("AsciiOutputModule")

process.AdaptorConfig = cms.Service("AdaptorConfig")


process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('/store/data/Commissioning08/Cosmics/RECO/v1/000/069/276/D6D1312C-6BAA-DD11-972B-000423D94494.root',
Expand Down
2 changes: 1 addition & 1 deletion FWCore/Framework/src/defaultCmsRunServices.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace edm {
std::vector<std::string> returnValue = {"MessageLogger",
"InitRootHandlers",
"UnixSignalService",
"AdaptorConfig",
"TFileAdaptor",
"SiteLocalConfigService",
"StatisticsSenderService",
"ResourceInformationService",
Expand Down
4 changes: 2 additions & 2 deletions FWCore/MessageService/python/test/Services_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from FWCore.Services.InitRootHandlers_cfi import *

# Tell AdaptorConfig to suppress the statistics summary. We aren't actually using
# Tell TFileAdaptor to suppress the statistics summary. We aren't actually using
# that service and it's summary interferes with the MessageLogger summary.
AdaptorConfig = cms.Service("AdaptorConfig",
TFileAdaptor = cms.Service("TFileAdaptor",
stats = cms.untracked.bool(False)
)
4 changes: 2 additions & 2 deletions FWStorage/Services/src/SiteLocalConfigService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,11 @@ namespace edm {
desc.addOptionalUntracked<std::string>("overrideSourceCacheTempDir");
desc.addOptionalUntracked<double>("overrideSourceCacheMinFree");
desc.addOptionalUntracked<std::string>("overrideSourceCacheHintDir")
->setComment("Set cache hint. See AdaptorConfig plugin for valid values.");
->setComment("Set cache hint. See TFileAdaptor plugin for valid values.");
desc.addOptionalUntracked<std::string>("overrideSourceCloneCacheHintDir")
->setComment("Provide an alternate cache hint for fast cloning.");
desc.addOptionalUntracked<std::string>("overrideSourceReadHint")
->setComment("Set read hint. See AdaptorConfig plugin for valid values.");
->setComment("Set read hint. See TFileAdaptor plugin for valid values.");
desc.addOptionalUntracked<std::vector<std::string> >("overrideSourceNativeProtocols");
desc.addOptionalUntracked<unsigned int>("overrideSourceTTreeCacheSize");
desc.addOptionalUntracked<unsigned int>("overrideSourceTimeout");
Expand Down
2 changes: 1 addition & 1 deletion FWStorage/StorageFactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Inherits from `TFile` but uses `edm::storage::Storage` instances when doing the

### `TFileAdaptor`

`TFileAdaptor` is a cmsRun Service (with a plugin name of `AdaptorConfig`, see [FWStorage/TFileAdaptor/README.md](../../FWStorage/TFileAdaptor/README.md)). It explicitly registers the use of `TStorageFactoryFile` with ROOT's `TFile::Open` system. The parameters passed to `TFileAdaptor` are relayed to `edm::storage::StorageFactory` to setup the defaults for the job.
`TFileAdaptor` is a cmsRun Service (with a plugin name of `TFileAdaptor`, see [FWStorage/TFileAdaptor/README.md](../../FWStorage/TFileAdaptor/README.md)). It explicitly registers the use of `TStorageFactoryFile` with ROOT's `TFile::Open` system. The parameters passed to `TFileAdaptor` are relayed to `edm::storage::StorageFactory` to setup the defaults for the job.

### `CondorStatusService`
Sends condor _Chirp_ messages periodically from cmsRun. These include the most recent aggregated `edm::storage::StorageAccount` information for all protocols being used except for the `"tstoragefile"` protocol.
Expand Down
Loading