from FWCore.ParameterSet.Config import ESInputTag # Define the input tag for a specific detector calibration table myCalib = ESInputTag("TrackingSurfaceDeformation:TrackerTable:v1")
from FWCore.ParameterSet.Config import ESInputTag # Define the input tags for multiple sources of event setup data mySources = [ ESInputTag("CaloGeometryFromDB:EBRECAL"), ESInputTag("CaloTowerConstituentsMapBuilder:EB") ]This example demonstrates how ESInputTag can be used to specify multiple sources of event setup data. We create a list containing two ESInputTag objects, each of which defines a different source and product. Overall, ESInputTag is a useful tool for defining the sources of event setup data in CMS applications. It provides an easy way to specify the data you want to access, and makes the process of parsing the input string much simpler.