CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
L1GctEmulator Class Reference

#include <src/L1Trigger/GlobalCaloTrigger/src/L1GctEmulator.h>

Inheritance diagram for L1GctEmulator:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Types

typedef L1GlobalCaloTrigger::lutPtr lutPtr
 typedefs More...
 
typedef
L1GlobalCaloTrigger::lutPtrVector 
lutPtrVector
 
- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 

Public Member Functions

 L1GctEmulator (const edm::ParameterSet &ps)
 constructor More...
 
 ~L1GctEmulator ()
 destructor More...
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

void beginJob ()
 
int configureGct (const edm::EventSetup &c)
 
void endJob ()
 
void produce (edm::Event &e, const edm::EventSetup &c)
 

Private Attributes

L1GlobalCaloTriggerm_gct
 
std::string m_inputLabel
 
lutPtrVector m_jetEtCalibLuts
 
bool m_verbose
 
bool m_writeInternalData
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: Framework module that runs the GCT bit-level emulator

Implementation: An EDProducer that contains an instance of L1GlobalCaloTrigger.

Definition at line 29 of file L1GctEmulator.h.

Member Typedef Documentation

typedefs

Definition at line 33 of file L1GctEmulator.h.

Definition at line 34 of file L1GctEmulator.h.

Constructor & Destructor Documentation

L1GctEmulator::L1GctEmulator ( const edm::ParameterSet ps)
explicit

constructor

Definition at line 39 of file L1GctEmulator.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), L1GctJetLeafCard::hardwareJetFinder, m_gct, m_inputLabel, m_jetEtCalibLuts, m_verbose, L1GctJetFinderParams::NUMBER_ETA_VALUES, L1GlobalCaloTrigger::print(), L1GlobalCaloTrigger::setBxRange(), L1GlobalCaloTrigger::setupTauAlgo(), AlCaHLTBitMon_QueryRunRegistry::string, and L1GctJetLeafCard::tdrJetFinder.

39  :
41  m_writeInternalData(ps.getParameter<bool>("writeInternalData")),
42  m_verbose(ps.getUntrackedParameter<bool>("verbose", false))
43  {
44 
45  // list of products
46  produces<L1GctEmCandCollection>("isoEm");
47  produces<L1GctEmCandCollection>("nonIsoEm");
48  produces<L1GctJetCandCollection>("cenJets");
49  produces<L1GctJetCandCollection>("forJets");
50  produces<L1GctJetCandCollection>("tauJets");
51  produces<L1GctInternJetDataCollection>();
52  produces<L1GctEtTotalCollection>();
53  produces<L1GctEtHadCollection>();
54  produces<L1GctEtMissCollection>();
55  produces<L1GctHtMissCollection>();
56  produces<L1GctInternEtSumCollection>();
57  produces<L1GctInternHtMissCollection>();
58  produces<L1GctHFBitCountsCollection>();
59  produces<L1GctHFRingEtSumsCollection>();
60 
61  // get the input label
62  edm::InputTag inputTag = ps.getParameter<edm::InputTag>("inputLabel");
63  m_inputLabel = inputTag.label();
64 
65  // Get the number of bunch crossings to be processed
66  int firstBx = -ps.getParameter<unsigned>("preSamples");
67  int lastBx = ps.getParameter<unsigned>("postSamples");
68 
69  // instantiate the GCT. Argument selects the type of jetFinder to be used.
71  std::string jfTypeStr = ps.getParameter<std::string>("jetFinderType");
72  if (jfTypeStr == "tdrJetFinder") { jfType = L1GctJetLeafCard::tdrJetFinder; }
73  else if (jfTypeStr != "hardwareJetFinder") {
74  edm::LogWarning ("L1GctEmulatorSetup") << "Unrecognised jetFinder option " << jfTypeStr
75  << "\nHardware jetFinder will be used";
76  }
77  bool hwTest = ps.getParameter<bool>("hardwareTest");
78  if (hwTest) {
79  unsigned mask = ps.getUntrackedParameter<unsigned>("jetLeafMask", 0);
80  m_gct = new L1GlobalCaloTrigger(jfType, mask);
81  edm::LogWarning ("L1GctEmulatorSetup") << "Emulator has been configured in hardware test mode with mask " << mask
82  << "\nThis mode should NOT be used for Physics studies!";
83  } else {
84  m_gct = new L1GlobalCaloTrigger(jfType);
85  }
86  m_gct->setBxRange(firstBx, lastBx);
87 
88  // Fill the jetEtCalibLuts vector
89  lutPtr nextLut( new L1GctJetEtCalibrationLut() );
90 
91  for (unsigned ieta=0; ieta<L1GctJetFinderParams::NUMBER_ETA_VALUES; ieta++) {
92  nextLut->setEtaBin(ieta);
93  m_jetEtCalibLuts.push_back(nextLut);
94  nextLut.reset ( new L1GctJetEtCalibrationLut() );
95  }
96 
97  // Setup the tau algorithm parameters
98  bool useImprovedTauAlgo = ps.getParameter<bool>("useImprovedTauAlgorithm");
99  bool ignoreTauVetoBitsForIsolation = ps.getParameter<bool>("ignoreRCTTauVetoBitsForIsolation");
100  m_gct->setupTauAlgo(useImprovedTauAlgo, ignoreTauVetoBitsForIsolation);
101 
102  // set verbosity (not implemented yet!)
103  // m_gct->setVerbose(m_verbose);
104 
105  // print debug info?
106  if (m_verbose) {
107  m_gct->print();
108  }
109  consumes<L1CaloEmCollection>(m_inputLabel);
110  consumes<L1CaloRegionCollection>(m_inputLabel);
111 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void setupTauAlgo(const bool useImprovedAlgo, const bool ignoreVetoBitsForIsolation)
setup the tau algorithm parameters
Jet Et calibration LUT.
L1GlobalCaloTrigger::lutPtr lutPtr
typedefs
Definition: L1GctEmulator.h:33
Bit-level emulation of the Global Calorimeter Trigger.
L1GlobalCaloTrigger * m_gct
Definition: L1GctEmulator.h:53
void setBxRange(const int firstBx, const int lastBx)
static const unsigned NUMBER_ETA_VALUES
Number of eta bins used in correction.
bool m_writeInternalData
Definition: L1GctEmulator.h:59
lutPtrVector m_jetEtCalibLuts
Definition: L1GctEmulator.h:56
std::string m_inputLabel
Definition: L1GctEmulator.h:50
L1GctEmulator::~L1GctEmulator ( )

destructor

Definition at line 113 of file L1GctEmulator.cc.

References m_gct.

113  {
114  if (m_gct != 0) delete m_gct;
115 }
L1GlobalCaloTrigger * m_gct
Definition: L1GctEmulator.h:53

Member Function Documentation

void L1GctEmulator::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDProducer.

Definition at line 118 of file L1GctEmulator.cc.

119 {
120 }
int L1GctEmulator::configureGct ( const edm::EventSetup c)
private

Definition at line 126 of file L1GctEmulator.cc.

References edm::EventSetup::get(), m_gct, m_jetEtCalibLuts, m_verbose, edm::ESHandle< class >::product(), L1GlobalCaloTrigger::setChannelMask(), L1GlobalCaloTrigger::setHtMissScale(), L1GlobalCaloTrigger::setJetEtCalibrationLuts(), L1GlobalCaloTrigger::setJetFinderParams(), L1GlobalCaloTrigger::setupHfSumLuts(), and summarizeEdmComparisonLogfiles::success.

Referenced by produce().

127 {
128  int success = 0;
129  if (&c==0) {
130  success = -1;
131  if (m_verbose) {
132  edm::LogWarning("L1GctConfigFailure") << "Cannot find EventSetup information." << std::endl;
133  }
134  }
135 
136  if (success == 0) {
137  // get data from EventSetup
139  c.get< L1GctJetFinderParamsRcd >().get( jfPars ) ; // which record?
141  c.get< L1GctChannelMaskRcd >().get( chanMask ) ; // which record?
143  c.get< L1JetEtScaleRcd >().get( etScale ) ; // which record?
144  edm::ESHandle< L1CaloEtScale > htMissScale ;
145  c.get< L1HtMissScaleRcd >().get( htMissScale ) ; // which record?
146  edm::ESHandle< L1CaloEtScale > hfRingEtScale ;
147  c.get< L1HfRingEtScaleRcd >().get( hfRingEtScale ) ; // which record?
148 
149 
150  if (jfPars.product() == 0) {
151  success = -1;
152  if (m_verbose) {
153  edm::LogWarning("L1GctConfigFailure")
154  << "Failed to find a L1GctJetFinderParamsRcd:L1GctJetFinderParams in EventSetup!" << std::endl;
155  }
156  }
157 
158  if (chanMask.product() == 0) {
159  success = -1;
160  if (m_verbose) {
161  edm::LogWarning("L1GctConfigFailure")
162  << "Failed to find a L1GctChannelMaskRcd:L1GctChannelMask in EventSetup!" << std::endl;
163  }
164  }
165 
166  if (hfRingEtScale.product() == 0) {
167  success = -1;
168  if (m_verbose) {
169  edm::LogWarning("L1GctConfigFailure")
170  << "Failed to find a L1HfRingEtScaleRcd:L1HfRingEtScaleRcd in EventSetup!" << std::endl;
171  }
172  }
173 
174 
175  if (success==0) {
176  // tell the jet Et Luts about the scales
177  for (unsigned ieta=0; ieta<m_jetEtCalibLuts.size(); ieta++) {
178  m_jetEtCalibLuts.at(ieta)->setFunction(jfPars.product());
179  m_jetEtCalibLuts.at(ieta)->setOutputEtScale(etScale.product());
180  }
181 
182  // pass all the setup info to the gct
184  m_gct->setJetFinderParams(jfPars.product());
185  m_gct->setHtMissScale(htMissScale.product());
186  m_gct->setupHfSumLuts(hfRingEtScale.product());
187  m_gct->setChannelMask(chanMask.product());
188  }
189  }
190 
191  if (success != 0 && m_verbose) {
192  edm::LogError("L1GctConfigError")
193  << "Configuration failed - GCT emulator will not be run" << std::endl;
194  }
195  return success;
196 }
void setJetFinderParams(const L1GctJetFinderParams *const jfpars)
L1GlobalCaloTrigger * m_gct
Definition: L1GctEmulator.h:53
void setHtMissScale(const L1CaloEtScale *const scale)
setup scale for missing Ht
void setupHfSumLuts(const L1CaloEtScale *const scale)
setup Hf sum LUTs
void setChannelMask(const L1GctChannelMask *const mask)
setup the input channel mask
void setJetEtCalibrationLuts(const lutPtrVector &jfluts)
setup the Jet Calibration Luts
lutPtrVector m_jetEtCalibLuts
Definition: L1GctEmulator.h:56
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:86
void L1GctEmulator::endJob ( void  )
privatevirtual

Reimplemented from edm::EDProducer.

Definition at line 122 of file L1GctEmulator.cc.

123 {
124 }
void L1GctEmulator::produce ( edm::Event e,
const edm::EventSetup c 
)
privatevirtual

Implements edm::EDProducer.

Definition at line 198 of file L1GctEmulator.cc.

References configureGct(), L1GlobalCaloTrigger::fillEmCands(), L1GlobalCaloTrigger::fillRegions(), edm::Event::getByLabel(), L1GlobalCaloTrigger::getCentralJets(), L1GlobalCaloTrigger::getEtHadCollection(), L1GlobalCaloTrigger::getEtMissCollection(), L1GlobalCaloTrigger::getEtSumCollection(), L1GlobalCaloTrigger::getForwardJets(), L1GlobalCaloTrigger::getHFBitCountsCollection(), L1GlobalCaloTrigger::getHFRingEtSumsCollection(), L1GlobalCaloTrigger::getHtMissCollection(), L1GlobalCaloTrigger::getInternalEtSums(), L1GlobalCaloTrigger::getInternalHtMiss(), L1GlobalCaloTrigger::getInternalJets(), L1GlobalCaloTrigger::getIsoElectrons(), L1GlobalCaloTrigger::getNonIsoElectrons(), L1GlobalCaloTrigger::getTauJets(), edm::HandleBase::isValid(), m_gct, m_inputLabel, m_verbose, m_writeInternalData, L1GlobalCaloTrigger::process(), edm::Event::put(), and L1GlobalCaloTrigger::reset().

198  {
199 
200  // The emulator will always produce output collections, which get filled as long as
201  // the setup and input data are present. Start by making empty output collections.
202 
203  // create the em and jet collections
204  std::auto_ptr<L1GctEmCandCollection> isoEmResult (new L1GctEmCandCollection( ) );
205  std::auto_ptr<L1GctEmCandCollection> nonIsoEmResult(new L1GctEmCandCollection( ) );
206  std::auto_ptr<L1GctJetCandCollection> cenJetResult(new L1GctJetCandCollection( ) );
207  std::auto_ptr<L1GctJetCandCollection> forJetResult(new L1GctJetCandCollection( ) );
208  std::auto_ptr<L1GctJetCandCollection> tauJetResult(new L1GctJetCandCollection( ) );
209 
210  // create the energy sum digis
211  std::auto_ptr<L1GctEtTotalCollection> etTotResult (new L1GctEtTotalCollection( ) );
212  std::auto_ptr<L1GctEtHadCollection> etHadResult (new L1GctEtHadCollection ( ) );
213  std::auto_ptr<L1GctEtMissCollection> etMissResult(new L1GctEtMissCollection ( ) );
214  std::auto_ptr<L1GctHtMissCollection> htMissResult(new L1GctHtMissCollection ( ) );
215 
216  // create the Hf sums digis
217  std::auto_ptr<L1GctHFBitCountsCollection> hfBitCountResult (new L1GctHFBitCountsCollection ( ) );
218  std::auto_ptr<L1GctHFRingEtSumsCollection> hfRingEtSumResult(new L1GctHFRingEtSumsCollection( ) );
219 
220  // create internal data collections
221  std::auto_ptr<L1GctInternJetDataCollection> internalJetResult (new L1GctInternJetDataCollection( ));
222  std::auto_ptr<L1GctInternEtSumCollection> internalEtSumResult (new L1GctInternEtSumCollection ( ));
223  std::auto_ptr<L1GctInternHtMissCollection> internalHtMissResult(new L1GctInternHtMissCollection ( ));
224 
225  // get config data from EventSetup.
226  // check this has been done successfully before proceeding
227  if (configureGct(c) == 0) {
228 
229  // get the RCT data
232  bool gotEm = e.getByLabel(m_inputLabel, em);
233  bool gotRgn = e.getByLabel(m_inputLabel, rgn);
234 
235  // check the data
236  if (!gotEm && m_verbose) {
237  edm::LogError("L1GctInputFailedError")
238  << "Failed to get em candidates with label " << m_inputLabel << " - GCT emulator will not be run" << std::endl;
239  }
240 
241  if (!gotRgn && m_verbose) {
242  edm::LogError("L1GctInputFailedError")
243  << "Failed to get calo regions with label " << m_inputLabel << " - GCT emulator will not be run" << std::endl;
244  }
245 
246  if (gotEm && !em.isValid()) {
247  gotEm = false;
248  if (m_verbose) {
249  edm::LogError("L1GctInputFailedError")
250  << "isValid() flag set to false for em candidates with label " << m_inputLabel << " - GCT emulator will not be run" << std::endl;
251  }
252  }
253 
254  if (gotRgn && !rgn.isValid()) {
255  gotRgn = false;
256  if (m_verbose) {
257  edm::LogError("L1GctInputFailedError")
258  << "isValid() flag set to false for calo regions with label " << m_inputLabel << " - GCT emulator will not be run" << std::endl;
259  }
260  }
261 
262  // if all is ok, proceed with GCT processing
263  if (gotEm && gotRgn) {
264  // reset the GCT internal buffers
265  m_gct->reset();
266 
267  // fill the GCT source cards
268  m_gct->fillEmCands(*em);
269  m_gct->fillRegions(*rgn);
270 
271  // process the event
272  m_gct->process();
273 
274  // fill the em and jet collections
275  *isoEmResult = m_gct->getIsoElectrons();
276  *nonIsoEmResult = m_gct->getNonIsoElectrons();
277  *cenJetResult = m_gct->getCentralJets();
278  *forJetResult = m_gct->getForwardJets();
279  *tauJetResult = m_gct->getTauJets();
280 
281  // fill the energy sum digis
282  *etTotResult = m_gct->getEtSumCollection();
283  *etHadResult = m_gct->getEtHadCollection();
284  *etMissResult = m_gct->getEtMissCollection();
285  *htMissResult = m_gct->getHtMissCollection();
286 
287  // fill the Hf sums digis
288  *hfBitCountResult = m_gct->getHFBitCountsCollection ();
289  *hfRingEtSumResult = m_gct->getHFRingEtSumsCollection();
290 
291  // fill internal data collections if required
292  if (m_writeInternalData) {
293  *internalJetResult = m_gct->getInternalJets();
294  *internalEtSumResult = m_gct->getInternalEtSums();
295  *internalHtMissResult = m_gct->getInternalHtMiss();
296  }
297  }
298  }
299 
300  // put the collections into the event
301  e.put(isoEmResult,"isoEm");
302  e.put(nonIsoEmResult,"nonIsoEm");
303  e.put(cenJetResult,"cenJets");
304  e.put(forJetResult,"forJets");
305  e.put(tauJetResult,"tauJets");
306  e.put(etTotResult);
307  e.put(etHadResult);
308  e.put(etMissResult);
309  e.put(htMissResult);
310  e.put(hfBitCountResult);
311  e.put(hfRingEtSumResult);
312 
313  e.put(internalJetResult);
314  e.put(internalEtSumResult);
315  e.put(internalHtMissResult);
316 
317 }
L1GctHFRingEtSumsCollection getHFRingEtSumsCollection() const
void fillEmCands(const std::vector< L1CaloEmCand > &rgn)
set electrons from the RCT at the input to be processed
L1GctJetCandCollection getTauJets() const
tau jet outputs to GT
L1GctHFBitCountsCollection getHFBitCountsCollection() const
std::vector< L1GctEtMiss > L1GctEtMissCollection
std::vector< L1GctHFRingEtSums > L1GctHFRingEtSumsCollection
std::vector< L1GctEtHad > L1GctEtHadCollection
std::vector< L1GctInternHtMiss > L1GctInternHtMissCollection
L1GctJetCandCollection getForwardJets() const
forward jet outputs to GT
L1GctEmCandCollection getNonIsoElectrons() const
non-iso electron outputs to GT
L1GctHtMissCollection getHtMissCollection() const
Htmiss output to GT.
L1GctEtTotalCollection getEtSumCollection() const
Total Et output to GT.
std::vector< L1GctEtTotal > L1GctEtTotalCollection
L1GlobalCaloTrigger * m_gct
Definition: L1GctEmulator.h:53
std::vector< L1GctHFBitCounts > L1GctHFBitCountsCollection
std::vector< L1GctJetCand > L1GctJetCandCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:113
L1GctInternHtMissCollection getInternalHtMiss() const
void fillRegions(const std::vector< L1CaloRegion > &rgn)
L1GctEtHadCollection getEtHadCollection() const
Total hadronic Et output to GT.
L1GctJetCandCollection getCentralJets() const
central jet outputs to GT
bool isValid() const
Definition: HandleBase.h:76
L1GctInternJetDataCollection getInternalJets() const
all jets from jetfinders in raw format
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:402
void reset()
Reset internal buffers.
L1GctEmCandCollection getIsoElectrons() const
std::vector< L1GctHtMiss > L1GctHtMissCollection
bool m_writeInternalData
Definition: L1GctEmulator.h:59
std::vector< L1GctInternJetData > L1GctInternJetDataCollection
std::string m_inputLabel
Definition: L1GctEmulator.h:50
std::vector< L1GctInternEtSum > L1GctInternEtSumCollection
int configureGct(const edm::EventSetup &c)
L1GctEtMissCollection getEtMissCollection() const
Etmiss output to GT.
void process()
process an event
std::vector< L1GctEmCand > L1GctEmCandCollection
L1GctInternEtSumCollection getInternalEtSums() const
Et sums and components in internal format.

Member Data Documentation

L1GlobalCaloTrigger* L1GctEmulator::m_gct
private

Definition at line 53 of file L1GctEmulator.h.

Referenced by configureGct(), L1GctEmulator(), produce(), and ~L1GctEmulator().

std::string L1GctEmulator::m_inputLabel
private

Definition at line 50 of file L1GctEmulator.h.

Referenced by L1GctEmulator(), and produce().

lutPtrVector L1GctEmulator::m_jetEtCalibLuts
private

Definition at line 56 of file L1GctEmulator.h.

Referenced by configureGct(), and L1GctEmulator().

bool L1GctEmulator::m_verbose
private

Definition at line 62 of file L1GctEmulator.h.

Referenced by configureGct(), L1GctEmulator(), and produce().

bool L1GctEmulator::m_writeInternalData
private

Definition at line 59 of file L1GctEmulator.h.

Referenced by produce().