ATLAS Offline Software
Loading...
Searching...
No Matches
CutFlowSvc Class Reference

This implements the methods for ICutFlowSvc. More...

#include <CutFlowSvc.h>

Inheritance diagram for CutFlowSvc:
Collaboration diagram for CutFlowSvc:

Public Member Functions

 CutFlowSvc (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor.
virtual StatusCode initialize () override final
 Gaudi Service Implementation.
virtual void handle (const Incident &incident) override final
 Incident service handle listening for BeginInputFile, EndInputFile and MetaDataStop.
virtual CutIdentifier registerFilter (const std::string &name, const std::string &description, bool nominalOnly) override final
 Register filter in the CutFlowSvc and returns the CutID of the corresponding CutBookkeeper.
virtual CutIdentifier registerTopFilter ATLAS_NOT_THREAD_SAFE (const std::string &name, const std::string &description, unsigned int logic, const std::string &outputStream, bool nominalOnly) override final
 Tells CutFlowSvc that a filter is used directly by an outputStream with a given logical context.
virtual CutIdentifier registerCut (const std::string &name, const std::string &description, CutIdentifier parentCutID, bool nominalOnly) override final
 Register cut as child of a filter in the CutFlowSvc and returns the CutID of the corresponding EventBookkeeper.
virtual void setFilterDescription (CutIdentifier cutID, const std::string &descr) override final
 Set the description of an existing CutBookkeeper.
virtual void addEvent (CutIdentifier cutID, const std::vector< float > &weights) override final
 Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID, using CutIdentifier returned by selfRegisterFilter.
virtual void addEvent (CutIdentifier cutID, double weight) override final
 Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID, using CutIdentifier returned by selfRegisterFilter.
virtual uint64_t getNAcceptedEvents (const CutIdentifier cutID) const override final
 Get number of accepted events for a cut.
const CutBookkeepersLocalCache & getCutBookkeepers () const
 Get CutBookkeepers cache.
StatusCode setNumberOfWeightVariations (size_t count)
 Set number of weight variations.

Private Member Functions

void addEvent (CutIdentifier cutID, size_t index, double weight)
 Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID for a specific index in the cache.
StatusCode determineCycleNumberFromInput (const std::string &collName)
 Helper function to determine the processing cycle number from the input meta-data store.
StatusCode createContainers (size_t count)
 Helper function to create an empty containers (and its aux store).
xAOD::CutBookkeeper * getCutBookkeeper (const CutIdentifier cutID, size_t index) const
 Get a CutBookkeeper given a CutID.

Private Attributes

Gaudi::Property< bool > m_configured {this, "Configured", true, "configuration check"}
 CutFlow service should be explicitly configured.
Gaudi::Property< bool > m_enableInputPeeking {this, "EnableInputPeeking", true, "enable input metadata peeking"}
 Enable metadata peeking from the input file.
ServiceHandle< StoreGateSvc > m_inMetaDataStore {this, "InputMetaDataStore", "StoreGateSvc/InputMetaDataStore", ""}
 The input meta-data store.
Gaudi::Property< std::string > m_completeCollName {this, "OutputCollName", "CutBookkeepers", ""}
 The name of the completed, i.e., fully processed, CutBookkeeperContainer.
CutBookkeepersLocalCache m_containers
 Local CutBookkeeperContainers.
Gaudi::Property< int > m_skimmingCycle {this, "SkimmingCycle", 0, "Skimming cycle of current job"}
 The current skimming cycle, i.e., how many processing stages we already had.
Gaudi::Property< std::string > m_inputStream {this, "InputStream", "N/A", "The name of the input file stream"}
 The name of the currently used input file stream.
std::recursive_mutex m_addEventMutex
 Mutex to protect adding an event.
std::unordered_set< CutIdentifier > m_nominalOnlyCuts
 List of nominal-only filters.

Detailed Description

This implements the methods for ICutFlowSvc.

Definition at line 43 of file CutFlowSvc.h.

Constructor & Destructor Documentation

◆ CutFlowSvc()

CutFlowSvc::CutFlowSvc ( const std::string & name,
ISvcLocator * pSvcLocator )

Constructor.

Definition at line 23 of file CutFlowSvc.cxx.

24 :
25 base_class(name, pSvcLocator)
26{
27 assert( pSvcLocator );
28}

Member Function Documentation

◆ addEvent() [1/3]

void CutFlowSvc::addEvent ( CutIdentifier cutID,
const std::vector< float > & weights )
finaloverridevirtual

Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID, using CutIdentifier returned by selfRegisterFilter.

Definition at line 183 of file CutFlowSvc.cxx.

185{
186 if (weights.size() != m_containers.size()) {
187 ATH_MSG_ERROR("Inconsistent weights and variation sizes " << weights.size() << " and " << m_containers.size());
188 throw std::runtime_error("Inconsistent weights and variation sizes");
189 }
190
191 for (size_t i = 0; i < m_containers.size(); ++i) {
192 addEvent(cutID, i, weights[i]);
193 }
194}
#define ATH_MSG_ERROR(x,...)
CutBookkeepersLocalCache m_containers
Local CutBookkeeperContainers.
Definition CutFlowSvc.h:143
virtual void addEvent(CutIdentifier cutID, const std::vector< float > &weights) override final
Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID, using CutIdentifier r...

◆ addEvent() [2/3]

void CutFlowSvc::addEvent ( CutIdentifier cutID,
double weight )
finaloverridevirtual

Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID, using CutIdentifier returned by selfRegisterFilter.

Definition at line 198 of file CutFlowSvc.cxx.

200{
201 if (m_nominalOnlyCuts.count(cutID) == 1) {
202 addEvent(cutID, 0, weight);
203 return;
204 }
205
206 for (size_t i = 0; i < m_containers.size(); ++i) {
207 addEvent(cutID, i, weight);
208 }
209}
std::unordered_set< CutIdentifier > m_nominalOnlyCuts
List of nominal-only filters.
Definition CutFlowSvc.h:155

◆ addEvent() [3/3]

void CutFlowSvc::addEvent ( CutIdentifier cutID,
size_t index,
double weight )
private

Tells CutFlowSvc to update the weighted event counter of a CutIdentifier cutID for a specific index in the cache.

Definition at line 214 of file CutFlowSvc.cxx.

217{
218 std::lock_guard<std::recursive_mutex> lock(m_addEventMutex);
219
220 ATH_MSG_VERBOSE("Adding event with weight " << weight << " to cut " << cutID << " for variation " << index);
221
222 xAOD::CutBookkeeper* cbk = getCutBookkeeper(cutID, index);
223 if (cbk == nullptr) {
224 ATH_MSG_ERROR("Could not find CutBookkeeper for CutID " << cutID << " and variation " << index);
225 throw std::runtime_error("Could not find CutBookkeeper");
226 }
227
228 cbk->addNAcceptedEvents(1);
229 cbk->addSumOfEventWeights(weight);
230 cbk->addSumOfEventWeightsSquared(weight*weight);
231}
#define ATH_MSG_VERBOSE(x,...)
virtual void lock()=0
Interface to allow an object to lock itself when made const in SG.
std::recursive_mutex m_addEventMutex
Mutex to protect adding an event.
Definition CutFlowSvc.h:152
xAOD::CutBookkeeper * getCutBookkeeper(const CutIdentifier cutID, size_t index) const
Get a CutBookkeeper given a CutID.
void addSumOfEventWeights(double nWeightedEvents)
Add more sum-of-event-weights that this CutBookkeeper has seen.
void addSumOfEventWeightsSquared(double nWeightedEventsSquared)
Add more sum-of-(event-weights-squared) that this CutBookkeeper has seen.
void addNAcceptedEvents(uint64_t nEvents)
Add seen events to the number of accepted events that this CutBookkeeper has seen.
CutBookkeeper_v1 CutBookkeeper
Define the latest version of the CutBookkeeper class.

◆ ATLAS_NOT_THREAD_SAFE()

virtual CutIdentifier registerTopFilter CutFlowSvc::ATLAS_NOT_THREAD_SAFE ( const std::string & name,
const std::string & description,
unsigned int logic,
const std::string & outputStream,
bool nominalOnly )
finaloverridevirtual

Tells CutFlowSvc that a filter is used directly by an outputStream with a given logical context.

The only foreseen client should the DecisionSvc, with its Accept/Require/Veto.

◆ createContainers()

StatusCode CutFlowSvc::createContainers ( size_t count)
private

Helper function to create an empty containers (and its aux store).

Definition at line 346 of file CutFlowSvc.cxx.

347{
348 // Expect that this should only be called once for now
349 if (!m_containers.empty() && m_containers.size() == count) {
350 return StatusCode::SUCCESS;
351 }
352
353 if (m_containers.size() > count) {
354 ATH_MSG_ERROR("Inconsistent variation count");
355 return StatusCode::FAILURE;
356 }
357
358 ATH_MSG_VERBOSE("Create containers with count " << count);
359
360 ATH_MSG_VERBOSE("Existing size " << m_containers.size());
361
362 // Create the containers
364 if (count == 1) {
365 return StatusCode::SUCCESS;
366 }
367
368 // Copy existing CutBookkeepers for consistency
370 if (first->empty()) {
371 return StatusCode::SUCCESS;
372 }
373 for (size_t i = 1; i < count; ++i) {
375 for (const xAOD::CutBookkeeper *cbk : *first) {
377 cont->push_back(newCbk);
378 *newCbk = *cbk;
379 }
380 }
381
382 return StatusCode::SUCCESS;
383}
value_type push_back(value_type pElem)
Add an element to the end of the collection.
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:148
bool first
Definition DeMoScan.py:534
CutBookkeeperContainer_v1 CutBookkeeperContainer
Define the latest version of the CutBookkeeperContainer class.
static void prepareContainers(CutBookkeepersLocalCache &target, size_t size, bool extend=false)

◆ determineCycleNumberFromInput()

StatusCode CutFlowSvc::determineCycleNumberFromInput ( const std::string & collName)
private

Helper function to determine the processing cycle number from the input meta-data store.

Definition at line 319 of file CutFlowSvc.cxx.

320{
321 ATH_MSG_DEBUG("calling determineCycleNumberFromInput('" << collName
322 << "')... have currently cycle number = " << m_skimmingCycle );
323
324 // Try to get CutBookkeepers from the input file
325 if ( m_inMetaDataStore->contains<xAOD::CutBookkeeperContainer>(collName) ) {
326 ATH_MSG_VERBOSE("Found xAOD::CutBookkeeperContainer in input MetaStore with name: " << collName);
327
328 const xAOD::CutBookkeeperContainer* inputContainer{};
329 ATH_CHECK( m_inMetaDataStore->retrieve( inputContainer, collName ) );
330 // Now, iterate over all CutBookkeepers and search for the highest cycle number
331 int maxCycle{};
332 for (const xAOD::CutBookkeeper* cbk : *inputContainer) {
333 int inCycle = cbk->cycle();
334 if (inCycle > maxCycle) maxCycle = inCycle;
335 }
336 m_skimmingCycle = std::max(m_skimmingCycle.value(), maxCycle + 1);
337 }
338
339 ATH_MSG_DEBUG("done calling determineCycleNumberFromInput('" << collName
340 << "')... have now cycle number = " << m_skimmingCycle );
341 return StatusCode::SUCCESS;
342}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
ServiceHandle< StoreGateSvc > m_inMetaDataStore
The input meta-data store.
Definition CutFlowSvc.h:137
Gaudi::Property< int > m_skimmingCycle
The current skimming cycle, i.e., how many processing stages we already had.
Definition CutFlowSvc.h:146

◆ getCutBookkeeper()

xAOD::CutBookkeeper * CutFlowSvc::getCutBookkeeper ( const CutIdentifier cutID,
size_t index ) const
private

Get a CutBookkeeper given a CutID.

Definition at line 402 of file CutFlowSvc.cxx.

404{
405 if (index >= m_containers.size()) {
406 return nullptr;
407 }
408
409 for (xAOD::CutBookkeeper* cbk : *m_containers.at(index)) {
410 if (cbk->uniqueIdentifier() == cutID) {
411 return cbk;
412 }
413 }
414 return nullptr;
415}

◆ getCutBookkeepers()

const CutBookkeepersLocalCache & CutFlowSvc::getCutBookkeepers ( ) const

Get CutBookkeepers cache.

Definition at line 395 of file CutFlowSvc.cxx.

396{
397 return m_containers;
398}

◆ getNAcceptedEvents()

uint64_t CutFlowSvc::getNAcceptedEvents ( const CutIdentifier cutID) const
finaloverridevirtual

Get number of accepted events for a cut.

Definition at line 419 of file CutFlowSvc.cxx.

420{
421 const xAOD::CutBookkeeper* cbk = getCutBookkeeper(cutID, 0);
422 if (cbk == nullptr) {
423 return std::numeric_limits<uint64_t>::max();
424 }
425 return cbk->nAcceptedEvents();
426}
uint64_t nAcceptedEvents() const
Get the number of accepted events that this CutBookkeeper has seen.

◆ handle()

void CutFlowSvc::handle ( const Incident & incident)
finaloverridevirtual

Incident service handle listening for BeginInputFile, EndInputFile and MetaDataStop.

Definition at line 236 of file CutFlowSvc.cxx.

237{
238 ATH_MSG_VERBOSE( "Start incident " << inc.type() );
239
240 if (m_enableInputPeeking && inc.type() == IncidentType::BeginInputFile) {
241 // Look up input stream name from FileMetaData
242 std::string inputstream = "";
243 if (m_inMetaDataStore->contains<xAOD::FileMetaData>("FileMetaData")) {
244 const xAOD::FileMetaData* fmd = nullptr;
245 if (m_inMetaDataStore->retrieve(fmd).isFailure()) {
246 ATH_MSG_ERROR("Failed to retrieve input FileMetaData");
247 } else if (fmd &&
248 !fmd->value(xAOD::FileMetaData::dataType, inputstream)) {
249 ATH_MSG_WARNING("Failed to get input stream name from FileMetaData");
250 }
251 } else {
252 ATH_MSG_DEBUG("No FileMetaData in input, trying EventStreamInfo");
253 // determine key for EventStreamInfo
254 std::vector<std::string> vKeys;
256 // eliminate duplicate keys
257 std::set<std::string> keys(vKeys.begin(), vKeys.end());
258 if (keys.size() == 1) {
259 std::string key = *keys.begin(); // get the one key
260 auto esi = m_inMetaDataStore->tryConstRetrieve<EventStreamInfo>(key);
261 if (esi && !esi->getProcessingTags().empty()) {
262 // use the first tag
263 inputstream = *esi->getProcessingTags().begin();
264 }
265 }
266 }
267
268 if (inputstream.empty()) {
269 if (m_inputStream.empty()) {
270 ATH_MSG_FATAL("Cannot determine input stream name");
271 return;
272 }
274 "Failed to parse stream name from metadata, using "
275 "property \"InputStream\"");
276 inputstream = m_inputStream;
277 }
278
279 // Check that input stream is consistent with previous file
280 ATH_MSG_DEBUG("Input stream name: \"" << inputstream << '"');
281 if (m_inputStream.empty()) {
282 m_inputStream = inputstream;
283 } else if (m_inputStream != inputstream) {
284 const FileIncident* finc = dynamic_cast<const FileIncident*>(&inc);
285 if (m_inputStream != "N/A" && m_inputStream != "unknownStream") {
286 ATH_MSG_FATAL("File " << (finc?finc->fileName():"???") << " stream " << inputstream
287 << " does not match previous file "
288 << m_inputStream);
289 return;
290 }
291 }
292 }
293
294 if (m_inputStream.empty()) {
295 ATH_MSG_FATAL("Input stream name is empty");
296 return;
297 }
298
299 // Clear the local bookkeepers
300 if (inc.type() == "MetaDataStop") {
301 if (!m_containers.empty()) {
302 // Reset existing container
303 for (size_t i = 0; i < m_containers.size(); ++i) {
304 for (xAOD::CutBookkeeper* cbk : *m_containers.at(i)) {
305 cbk->setNAcceptedEvents(0);
306 cbk->setSumOfEventWeights(0);
307 cbk->setSumOfEventWeightsSquared(0);
308 }
309 }
310 }
311 }
312
313 ATH_MSG_VERBOSE( "End incident " << inc.type() );
314 return;
315}
#define ATH_MSG_WARNING(x,...)
#define ATH_MSG_FATAL(x,...)
Athena::TPCnvVers::Old Athena::TPCnvVers::Current EventStreamInfo
Gaudi::Property< bool > m_enableInputPeeking
Enable metadata peeking from the input file.
Definition CutFlowSvc.h:134
Gaudi::Property< std::string > m_inputStream
The name of the currently used input file stream.
Definition CutFlowSvc.h:149
@ dataType
Data type that's in the file [string].
bool value(MetaDataType type, std::string &val) const
Get a pre-defined string value out of the object.
FileMetaData_v1 FileMetaData
Declare the latest version of the class.

◆ initialize()

StatusCode CutFlowSvc::initialize ( )
finaloverridevirtual

Gaudi Service Implementation.

Definition at line 32 of file CutFlowSvc.cxx.

33{
34 ATH_MSG_DEBUG( "Initializing " << name() );
35
36 // Only run if explicitly configured
37 if (m_configured.value() == false) {
38 ATH_MSG_ERROR("CutFlowSvc should be explicitly configured!");
39 return StatusCode::FAILURE;
40 }
41
42 //Get input MetaData StoreGate
43 ATH_CHECK( m_inMetaDataStore.retrieve() );
44
45 //Get IncidentSvc
46 ServiceHandle<IIncidentSvc> incSvc("IncidentSvc", this->name());
47 ATH_CHECK( incSvc.retrieve() );
48 incSvc->addListener(this, IncidentType::BeginInputFile, 60); // pri has to be < 100 to be after MetaDataSvc.
49 incSvc->addListener(this, "MetaDataStop", 30);
50
51 // Create initial bookkeeper container for bookkeepers in _this_ processing
53
54 // Configured input stream
55 ATH_MSG_DEBUG("Configured input stream = " << m_inputStream);
56
57 // Determine the skimming cycle number that we should use now from the input file
59 ATH_MSG_DEBUG("Have currently the cycle number = " << m_skimmingCycle);
61 }
62 ATH_MSG_DEBUG("Will use cycle number = " << m_skimmingCycle);
63
64 return StatusCode::SUCCESS;
65}
Gaudi::Property< std::string > m_completeCollName
The name of the completed, i.e., fully processed, CutBookkeeperContainer.
Definition CutFlowSvc.h:140
StatusCode determineCycleNumberFromInput(const std::string &collName)
Helper function to determine the processing cycle number from the input meta-data store.
StatusCode createContainers(size_t count)
Helper function to create an empty containers (and its aux store).
Gaudi::Property< bool > m_configured
CutFlow service should be explicitly configured.
Definition CutFlowSvc.h:131

◆ registerCut()

CutIdentifier CutFlowSvc::registerCut ( const std::string & name,
const std::string & description,
CutIdentifier parentCutID,
bool nominalOnly )
finaloverridevirtual

Register cut as child of a filter in the CutFlowSvc and returns the CutID of the corresponding EventBookkeeper.

This method should be used by filters to register their internal cuts that are not the Algs themselves.

Definition at line 135 of file CutFlowSvc.cxx.

139{
140 ATH_MSG_DEBUG("Registering cut with name '" << name << "', description '" << description
141 << "' and original CutID " << parentCutID);
142
143 // Get the CutBookkeeper of the origin Filter Algorithm/Tool
144 xAOD::CutBookkeeper* parentCbk = getCutBookkeeper(parentCutID, 0);
145 if (parentCbk == nullptr) {
146 ATH_MSG_ERROR("Could not find parent CutBookkeeper with CutID " << parentCutID);
147 throw std::runtime_error("Could not find CutBookkeeper");
148 }
149
150 // Call the registerFilter method and get the correct CutBookkeeper
151 // from the returned cutID
152 CutIdentifier cutID = registerFilter(name, description, nominalOnly);
153 xAOD::CutBookkeeper* cbk = getCutBookkeeper(cutID, 0);
154 if (cbk == nullptr) {
155 ATH_MSG_ERROR("Could not find CutBookkeeper with CutID " << cutID);
156 throw std::runtime_error("Could not find CutBookkeeper");
157 }
158
159 // Add child to parent
160 parentCbk->addChild(cbk);
161
162 return cutID;
163}
uint32_t CutIdentifier
InstanceIdentifier is a unique identifer used for every filter.
Definition ICutFlowSvc.h:25
virtual CutIdentifier registerFilter(const std::string &name, const std::string &description, bool nominalOnly) override final
Register filter in the CutFlowSvc and returns the CutID of the corresponding CutBookkeeper.
void addChild(CutBookkeeper_v1 *childEB)
Add one child to this CutBookkeeper.
std::string description
glabal timer - how long have I taken so far?
Definition hcg.cxx:93

◆ registerFilter()

CutIdentifier CutFlowSvc::registerFilter ( const std::string & name,
const std::string & description,
bool nominalOnly )
finaloverridevirtual

Register filter in the CutFlowSvc and returns the CutID of the corresponding CutBookkeeper.

This method should be used by filters that register themselves.

Definition at line 69 of file CutFlowSvc.cxx.

72{
73 ATH_MSG_DEBUG("Registering filter with name '" << name << "' and description '" << description << "'");
74
75 auto newCbk = std::make_unique<xAOD::CutBookkeeper>();
76 newCbk->setName(name);
77 newCbk->setDescription(description);
78 newCbk->setInputStream(m_inputStream);
79 newCbk->setCycle(m_skimmingCycle);
80 CutIdentifier cutID = newCbk->uniqueIdentifier();
81
82 // Let's see if an CutBookkeeper of this name already exists
84 ATH_MSG_VERBOSE("Searching if this CutBookkeeper already exists");
85 for (xAOD::CutBookkeeper* cbk : *container) {
86 if (newCbk->isEqualTo(cbk)) {
87 ATH_MSG_DEBUG("The CutBookkeeper with name '" << name << "' already exists"
88 << " and has CutID " << cbk->uniqueIdentifier() << "... Not adding!" );
89 // Return the existing cut ID
90 return cbk->uniqueIdentifier();
91 }
92 }
93
94 // If it is a new CutBookkeeper, add it to the container
95 ATH_MSG_DEBUG("Declaring a new filter with name '" << name << "' and CutID " << cutID );
96 container->push_back(std::move(newCbk));
97
98 if (nominalOnly) {
99 m_nominalOnlyCuts.emplace(cutID);
100 }
101
102 return cutID;
103}
const SG::AuxVectorData * container() const
Return the container holding this element.

◆ setFilterDescription()

void CutFlowSvc::setFilterDescription ( CutIdentifier cutID,
const std::string & descr )
finaloverridevirtual

Set the description of an existing CutBookkeeper.

Definition at line 167 of file CutFlowSvc.cxx.

169{
170 ATH_MSG_DEBUG("calling setFilterDescription(" << cutID << ", " << descr << ")" );
171
172 for (size_t i = 0; i < m_containers.size(); ++i) {
173 xAOD::CutBookkeeper* cbk = getCutBookkeeper(cutID, i);
174 if (cbk != nullptr) {
175 cbk->setDescription(descr);
176 }
177 }
178 return;
179}
void setDescription(const std::string &description)
Set the description of this CutBookkeeper.

◆ setNumberOfWeightVariations()

StatusCode CutFlowSvc::setNumberOfWeightVariations ( size_t count)

Set number of weight variations.

Definition at line 387 of file CutFlowSvc.cxx.

388{
390 return StatusCode::SUCCESS;
391}

Member Data Documentation

◆ m_addEventMutex

std::recursive_mutex CutFlowSvc::m_addEventMutex
mutableprivate

Mutex to protect adding an event.

Definition at line 152 of file CutFlowSvc.h.

◆ m_completeCollName

Gaudi::Property<std::string> CutFlowSvc::m_completeCollName {this, "OutputCollName", "CutBookkeepers", ""}
private

The name of the completed, i.e., fully processed, CutBookkeeperContainer.

Definition at line 140 of file CutFlowSvc.h.

140{this, "OutputCollName", "CutBookkeepers", ""};

◆ m_configured

Gaudi::Property<bool> CutFlowSvc::m_configured {this, "Configured", true, "configuration check"}
private

CutFlow service should be explicitly configured.

Definition at line 131 of file CutFlowSvc.h.

131{this, "Configured", true, "configuration check"};

◆ m_containers

CutBookkeepersLocalCache CutFlowSvc::m_containers
private

Local CutBookkeeperContainers.

Definition at line 143 of file CutFlowSvc.h.

◆ m_enableInputPeeking

Gaudi::Property<bool> CutFlowSvc::m_enableInputPeeking {this, "EnableInputPeeking", true, "enable input metadata peeking"}
private

Enable metadata peeking from the input file.

Definition at line 134 of file CutFlowSvc.h.

134{this, "EnableInputPeeking", true, "enable input metadata peeking"};

◆ m_inMetaDataStore

ServiceHandle<StoreGateSvc> CutFlowSvc::m_inMetaDataStore {this, "InputMetaDataStore", "StoreGateSvc/InputMetaDataStore", ""}
private

The input meta-data store.

Definition at line 137 of file CutFlowSvc.h.

137{this, "InputMetaDataStore", "StoreGateSvc/InputMetaDataStore", ""};

◆ m_inputStream

Gaudi::Property<std::string> CutFlowSvc::m_inputStream {this, "InputStream", "N/A", "The name of the input file stream"}
private

The name of the currently used input file stream.

Definition at line 149 of file CutFlowSvc.h.

149{this, "InputStream", "N/A", "The name of the input file stream"};

◆ m_nominalOnlyCuts

std::unordered_set<CutIdentifier> CutFlowSvc::m_nominalOnlyCuts
private

List of nominal-only filters.

Definition at line 155 of file CutFlowSvc.h.

◆ m_skimmingCycle

Gaudi::Property<int> CutFlowSvc::m_skimmingCycle {this, "SkimmingCycle", 0, "Skimming cycle of current job"}
private

The current skimming cycle, i.e., how many processing stages we already had.

Definition at line 146 of file CutFlowSvc.h.

146{this, "SkimmingCycle", 0, "Skimming cycle of current job"};

The documentation for this class was generated from the following files: