ATLAS Offline Software
|
Description of the class that is used to keep track of event counts. More...
#include <CutBookkeeper_v1.h>
Classes | |
struct | Payload |
Add struct for payload and implement operator *,/....*=,... More... | |
Public Types | |
enum | CutLogic { UNKNOWN = 0, ALLEVENTSPROCESSED = 1, ALLEVENTSWRITTEN = 2, OTHER = 3, ACCEPT = 4, REQUIRE = 5, VETO = 6 } |
Enumeration of the logic of a cut. More... | |
using | TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | ConstAccessor = SG::ConstAccessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Accessor = SG::Accessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Decorator = SG::Decorator< T, ALLOC > |
Public Member Functions | |
CutBookkeeper_v1 () | |
Constructor. More... | |
~CutBookkeeper_v1 () | |
Destructor. More... | |
bool | operator== (const CutBookkeeper_v1 &rhs) |
Equality operator. More... | |
bool | isEqualTo (const CutBookkeeper_v1 *eb) const |
Test for the equality of this CutBookkeeper with another one. More... | |
void | toPersistent () |
Function preparing the object to be persistified. More... | |
const SG::AuxVectorData * | container () const |
Return the container holding this element. More... | |
SG::AuxVectorData * | container () |
Return the container holding this element. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name, const std::string &clsname) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for reading. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
Check if an aux variable is available for writing. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for writing as a decoration. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
Fetch an aux decoration, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
Fetch an aux decoration, as a non-const reference. More... | |
void | makePrivateStore () |
Create a new (empty) private store for this object. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 &other) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other) |
Create a new private store for this object and copy aux data. More... | |
void | releasePrivateStore () |
Release and free any private store associated with this object. More... | |
void | setStore (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (SG::IAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
Set the store associated with this object. More... | |
void | setConstStore (const SG::IConstAuxStore *store) |
Synonym for setStore with IConstAuxStore . More... | |
void | setNonConstStore (SG::IAuxStore *store) |
Synonym for setStore with IAuxStore . More... | |
bool | usingPrivateStore () const |
Test to see if this object is currently using a private store. More... | |
bool | usingStandaloneStore () const |
Test to see if this object is currently using a standalone store. More... | |
const SG::IConstAuxStore * | getConstStore () const |
Return the current store, as a const interface. More... | |
SG::IAuxStore * | getStore () const |
Return the current store, as a non-const interface. More... | |
void | clearCache () |
Clear the cached aux data pointers. More... | |
const SG::auxid_set_t & | getAuxIDs () const |
Return a set of identifiers for existing data items for this object. More... | |
bool | hasStore () const |
Return true if this object has an associated store. More... | |
bool | hasNonConstStore () const |
Return true if this object has an associated non-const store. More... | |
bool | clearDecorations () const |
Clear all decorations. More... | |
bool | trackIndices () const |
Return true if index tracking is enabled for this object. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
Getters and setters for the payload information, i.e., event coutners and weights | |
Payload | payload () const |
Get the whole payload object (which contains all counters) in one go. More... | |
void | setPayload (const Payload &payload) |
Set the whole payload object (which contains all counters) in one go. More... | |
uint64_t | nAcceptedEvents () const |
Get the number of accepted events that this CutBookkeeper has seen. More... | |
void | setNAcceptedEvents (uint64_t nEvents) |
Set the number of accepted events for this CutBookkeeper. More... | |
void | addNAcceptedEvents (uint64_t nEvents) |
Add seen events to the number of accepted events that this CutBookkeeper has seen. More... | |
double | sumOfEventWeights () const |
Get the sum-of-event-weights that this CutBookkeeper has seen. More... | |
void | setSumOfEventWeights (double nWeightedEvents) |
Set the sum-of-event-weights that this CutBookkeeper has seen. More... | |
void | addSumOfEventWeights (double nWeightedEvents) |
Add more sum-of-event-weights that this CutBookkeeper has seen. More... | |
double | sumOfEventWeightsSquared () const |
Get the sum-of-(event-weights-squared) that this CutBookkeeper has seen. More... | |
void | setSumOfEventWeightsSquared (double nWeightedEventsSquared) |
Set the sum-of-(event-weights-squared) that this CutBookkeeper has seen. More... | |
void | addSumOfEventWeightsSquared (double nWeightedEventsSquared) |
Add more sum-of-(event-weights-squared) that this CutBookkeeper has seen. More... | |
Handling of the child-parent relationship between different CutBookkeepers | |
bool | hasParent () const |
Check if there is a parent CutBookkeeper of this CutBookkeeper. More... | |
const xAOD::CutBookkeeper_v1 * | parent () const |
Get the parent CutBookkeeper. More... | |
void | setParent (const CutBookkeeper_v1 *parentEB) |
Set the parent CutBookkeeper of this CutBookkeeper. More... | |
std::size_t | nChildren () const |
Get the number of children CutBookkeepers of this CutBookkeeper. More... | |
bool | hasChild (const xAOD::CutBookkeeper_v1 *testCBK) const |
Test if a given child already exists. More... | |
const xAOD::CutBookkeeper_v1 * | child (std::size_t i) const |
Get the child at position i. More... | |
void | setChildren (const std::vector< CutBookkeeper_v1 * > &childrenEB) |
Set all children of this CutBookkeeper in one go. More... | |
void | addChildren (const std::vector< CutBookkeeper_v1 * > &childrenEB) |
Add multiple children in one go to this CutBookkeeper. More... | |
void | addChild (CutBookkeeper_v1 *childEB) |
Add one child to this CutBookkeeper. More... | |
CutBookkeeper_v1 * | addNewChild (const std::string &name, const std::string &description) |
Create a new CutBookkeeper (using the given name and description) and add this new CutBookkeeper to this one as a child. More... | |
Handling of the usage of other CutBookkeepers by this one | |
std::size_t | nUsedOthers () const |
Check if this CutBookkeeper has used others. More... | |
bool | hasUsedOther (const xAOD::CutBookkeeper_v1 *testCBK) const |
Check if this CutBookkeeper has used others. More... | |
const xAOD::CutBookkeeper_v1 * | usedOther (std::size_t i) const |
Get the usedOther at position i. More... | |
void | setUsedOthers (const std::vector< CutBookkeeper_v1 * > &usedOthers) |
Set all CutBookkeeper that are used by this one in one go. More... | |
void | addUsedOthers (const std::vector< CutBookkeeper_v1 * > &usedOthers) |
Add multiple children in one go to this CutBookkeeper. More... | |
void | addUsedOther (CutBookkeeper_v1 *usedOtherEB) |
Add one other CutBookkeeper that is used by this one. More... | |
Handling of the siblings of this CutBookkeepers, i.e., the cuts | |
that happen at the same cut stage as this one, but in another (control) region | |
std::size_t | nSiblings () const |
Check if this CutBookkeeper has siblings. More... | |
bool | hasSibling (const xAOD::CutBookkeeper_v1 *testCBK) const |
Test if the provided CutBookkeeper is already a sibling. More... | |
const xAOD::CutBookkeeper_v1 * | sibling (std::size_t i) const |
Get the sibling number i. More... | |
void | setSiblings (const std::vector< CutBookkeeper_v1 * > &siblings) |
Set all CutBookkeeper that are siblings to this one in one go. More... | |
void | addSiblings (const std::vector< CutBookkeeper_v1 * > &siblings) |
Add multiple siblings in one go to this CutBookkeeper. More... | |
void | addSibling (CutBookkeeper_v1 *siblingsEB) |
Add one sibling CutBookkeeper to this one. More... | |
Static Public Attributes | |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
bool | noPrivateData () const |
True if this element has no private data. More... | |
bool | havePrivateData () const |
True if this element currently has private data. More... | |
bool | hadPrivateData () const |
True if this element had private data before it was added to its current container. More... | |
Private Types | |
enum | PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 } |
The current private data state. More... | |
Private Member Functions | |
void | releasePrivateStoreForDtor () |
Out-of-line portion of destructor. More... | |
void | setIndex (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
bool | setIndexPrivate (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
void | makePrivateStore1 (const void *) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other) |
Create a new private store for this object and copy aux data. More... | |
AuxElementStandaloneData * | setStore1 (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | clearAux () |
Clear all aux data associated with this element. More... | |
void | copyAux (const ConstAuxElement &other) |
Copy aux data from another object. More... | |
void | setNoPrivateData () |
Record that this element does not have private data. More... | |
void | setHavePrivateData () |
Record that this element currently has private data. More... | |
void | setHadPrivateData () |
Record that this element used to have private data. More... | |
Private Attributes | |
const SG::AuxVectorData * | m_container |
The container of which this object is an element. More... | |
size_t | m_index |
The index of this element within its container. More... | |
PrivateStoreState | m_privateStoreState |
Getters and setters for the (sort of) 'static' information of the CutBookkeeper | |
unsigned int | nameIdentifier () const |
Get the nameIdentifier for this CutBookkeeper. More... | |
unsigned int | uniqueIdentifier () const |
Get the uniqueIdentifier for this CutBookkeeper. More... | |
const std::string & | name () const |
Get the name of this CutBookkeeper. More... | |
void | setName (const std::string &name) |
Set the name of this CutBookkeeper. More... | |
const std::string & | description () const |
Get the description of this CutBookkeeper. More... | |
void | setDescription (const std::string &description) |
Set the description of this CutBookkeeper. More... | |
bool | isTopFilter () const |
Check if this CutBookkeeper was a top filter. More... | |
void | setTopFilter (bool isTopFilter) |
Set the top-filter property of this CutBookkeeper. More... | |
CutLogic | cutLogic () const |
Get the cut logic of this CutBookkeeper, e.g., ACCEPT, REQUIRE, VETO. More... | |
void | setCutLogic (CutLogic logic) |
Set the cut logic of this CutBookkeeper, e.g., ACCEPT, REQUIRE, VETO. More... | |
int | cycle () const |
Get the skimming cycle that this CutBookkeeper was running in. More... | |
void | setCycle (int cycle) |
Set the skimming cycle that this CutBookkeeper is running in. More... | |
const std::string & | inputStream () const |
Get the name of the input-file stream object that was seen by this CutBookkeeper. More... | |
void | setInputStream (const std::string &inputstream) |
Set the name of the current input-file stream object for this CutBookkeeper. More... | |
const std::vector< std::string > & | outputStreams () const |
Get the names of the output-file stream objects that were seen by this CutBookkeeper. More... | |
bool | hasOutputStream (const std::string &outputstream) const |
Check if the given output stream name is known to this CutBookkeeper. More... | |
void | addOutputStream (const std::string &outputstream) |
Add the name of an output-file stream object for this CutBookkeeper. More... | |
void addOutputStreamForAllUsed | ATLAS_NOT_THREAD_SAFE (const std::string &outputstream) |
Add the name of an output-file stream object for this CutBookkeeper. More... | |
void | setOutputStreams (const std::vector< std::string > &outputstreams) |
Set the names of the output-file stream objects for this CutBookkeeper. More... | |
void | setNameIdentifier (unsigned int hash) |
Set the nameIdentifier for this CutBookkeeper. More... | |
void | setUniqueIdentifier (unsigned int hash) |
Set the uniqueIdentifier for this CutBookkeeper. More... | |
Description of the class that is used to keep track of event counts.
$Revision$ $Date$
Definition at line 29 of file CutBookkeeper_v1.h.
|
inherited |
Definition at line 548 of file AuxElement.h.
|
inherited |
Definition at line 545 of file AuxElement.h.
|
inherited |
Definition at line 551 of file AuxElement.h.
|
inherited |
Definition at line 542 of file AuxElement.h.
Enumeration of the logic of a cut.
Enumerator | |
---|---|
UNKNOWN | |
ALLEVENTSPROCESSED | |
ALLEVENTSWRITTEN | |
OTHER | |
ACCEPT | |
REQUIRE | |
VETO |
Definition at line 34 of file CutBookkeeper_v1.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
xAOD::CutBookkeeper_v1::CutBookkeeper_v1 | ( | ) |
xAOD::CutBookkeeper_v1::~CutBookkeeper_v1 | ( | ) |
void xAOD::CutBookkeeper_v1::addChild | ( | CutBookkeeper_v1 * | childEB | ) |
void xAOD::CutBookkeeper_v1::addChildren | ( | const std::vector< CutBookkeeper_v1 * > & | childrenEB | ) |
Add multiple children in one go to this CutBookkeeper.
Definition at line 429 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addNAcceptedEvents | ( | uint64_t | nEvents | ) |
Add seen events to the number of accepted events that this CutBookkeeper has seen.
Definition at line 302 of file CutBookkeeper_v1.cxx.
CutBookkeeper_v1 * xAOD::CutBookkeeper_v1::addNewChild | ( | const std::string & | name, |
const std::string & | description | ||
) |
Create a new CutBookkeeper (using the given name and description) and add this new CutBookkeeper to this one as a child.
Definition at line 471 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addOutputStream | ( | const std::string & | outputstream | ) |
Add the name of an output-file stream object for this CutBookkeeper.
Definition at line 250 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addSibling | ( | CutBookkeeper_v1 * | siblingsEB | ) |
Add one sibling CutBookkeeper to this one.
Definition at line 642 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addSiblings | ( | const std::vector< CutBookkeeper_v1 * > & | siblings | ) |
Add multiple siblings in one go to this CutBookkeeper.
Definition at line 629 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addSumOfEventWeights | ( | double | nWeightedEvents | ) |
Add more sum-of-event-weights that this CutBookkeeper has seen.
Definition at line 320 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addSumOfEventWeightsSquared | ( | double | nWeightedEventsSquared | ) |
Add more sum-of-(event-weights-squared) that this CutBookkeeper has seen.
Definition at line 338 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addUsedOther | ( | CutBookkeeper_v1 * | usedOtherEB | ) |
Add one other CutBookkeeper that is used by this one.
Definition at line 555 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::addUsedOthers | ( | const std::vector< CutBookkeeper_v1 * > & | usedOthers | ) |
Add multiple children in one go to this CutBookkeeper.
Definition at line 542 of file CutBookkeeper_v1.cxx.
void addOutputStreamForAllUsed xAOD::CutBookkeeper_v1::ATLAS_NOT_THREAD_SAFE | ( | const std::string & | outputstream | ) |
Add the name of an output-file stream object for this CutBookkeeper.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
const xAOD::CutBookkeeper_v1 * xAOD::CutBookkeeper_v1::child | ( | std::size_t | i | ) | const |
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 535 of file AuxElement.cxx.
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 319 of file AuxElement.cxx.
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 385 of file AuxElement.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 561 of file AuxElement.cxx.
CutBookkeeper_v1::CutLogic xAOD::CutBookkeeper_v1::cutLogic | ( | ) | const |
Get the cut logic of this CutBookkeeper, e.g., ACCEPT, REQUIRE, VETO.
Definition at line 195 of file CutBookkeeper_v1.cxx.
int xAOD::CutBookkeeper_v1::cycle | ( | ) | const |
Get the skimming cycle that this CutBookkeeper was running in.
Definition at line 205 of file CutBookkeeper_v1.cxx.
const std::string & xAOD::CutBookkeeper_v1::description | ( | ) | const |
Get the description of this CutBookkeeper.
Definition at line 172 of file CutBookkeeper_v1.cxx.
|
inherited |
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 335 of file AuxElement.cxx.
|
inherited |
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 284 of file AuxElement.cxx.
|
inherited |
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 299 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
bool xAOD::CutBookkeeper_v1::hasChild | ( | const xAOD::CutBookkeeper_v1 * | testCBK | ) | const |
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 368 of file AuxElement.cxx.
Check if the given output stream name is known to this CutBookkeeper.
Definition at line 240 of file CutBookkeeper_v1.cxx.
bool xAOD::CutBookkeeper_v1::hasParent | ( | ) | const |
Check if there is a parent CutBookkeeper of this CutBookkeeper.
Definition at line 359 of file CutBookkeeper_v1.cxx.
bool xAOD::CutBookkeeper_v1::hasSibling | ( | const xAOD::CutBookkeeper_v1 * | testCBK | ) | const |
Test if the provided CutBookkeeper is already a sibling.
Definition at line 592 of file CutBookkeeper_v1.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 355 of file AuxElement.cxx.
bool xAOD::CutBookkeeper_v1::hasUsedOther | ( | const xAOD::CutBookkeeper_v1 * | testCBK | ) | const |
|
protectedinherited |
True if this element currently has private data.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
const std::string & xAOD::CutBookkeeper_v1::inputStream | ( | ) | const |
Get the name of the input-file stream object that was seen by this CutBookkeeper.
Definition at line 220 of file CutBookkeeper_v1.cxx.
|
inherited |
Check if an aux variable is available for reading.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Check if an aux variable is available for writing.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Check if an aux variable is available for writing as a decoration.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
bool xAOD::CutBookkeeper_v1::isEqualTo | ( | const CutBookkeeper_v1 * | eb | ) | const |
Test for the equality of this CutBookkeeper with another one.
Definition at line 348 of file CutBookkeeper_v1.cxx.
bool xAOD::CutBookkeeper_v1::isTopFilter | ( | ) | const |
Check if this CutBookkeeper was a top filter.
Definition at line 184 of file CutBookkeeper_v1.cxx.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 172 of file AuxElement.cxx.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 521 of file AuxElement.cxx.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
uint64_t xAOD::CutBookkeeper_v1::nAcceptedEvents | ( | ) | const |
Get the number of accepted events that this CutBookkeeper has seen.
Definition at line 291 of file CutBookkeeper_v1.cxx.
const std::string & xAOD::CutBookkeeper_v1::name | ( | ) | const |
Get the name of this CutBookkeeper.
Definition at line 156 of file CutBookkeeper_v1.cxx.
Get the nameIdentifier for this CutBookkeeper.
Definition at line 133 of file CutBookkeeper_v1.cxx.
std::size_t xAOD::CutBookkeeper_v1::nChildren | ( | ) | const |
Get the number of children CutBookkeepers of this CutBookkeeper.
Definition at line 387 of file CutBookkeeper_v1.cxx.
|
protectedinherited |
True if this element has no private data.
std::size_t xAOD::CutBookkeeper_v1::nSiblings | ( | ) | const |
Check if this CutBookkeeper has siblings.
Definition at line 587 of file CutBookkeeper_v1.cxx.
std::size_t xAOD::CutBookkeeper_v1::nUsedOthers | ( | ) | const |
Check if this CutBookkeeper has used others.
Definition at line 500 of file CutBookkeeper_v1.cxx.
|
inline |
Equality operator.
Definition at line 82 of file CutBookkeeper_v1.h.
const std::vector< std::string > & xAOD::CutBookkeeper_v1::outputStreams | ( | ) | const |
Get the names of the output-file stream objects that were seen by this CutBookkeeper.
Definition at line 235 of file CutBookkeeper_v1.cxx.
const xAOD::CutBookkeeper_v1 * xAOD::CutBookkeeper_v1::parent | ( | ) | const |
Get the parent CutBookkeeper.
Definition at line 364 of file CutBookkeeper_v1.cxx.
CutBookkeeper_v1::Payload xAOD::CutBookkeeper_v1::payload | ( | ) | const |
Get the whole payload object (which contains all counters) in one go.
Return it by value as it only contains three numbers.
Definition at line 112 of file CutBookkeeper_v1.cxx.
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 190 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
void xAOD::CutBookkeeper_v1::setChildren | ( | const std::vector< CutBookkeeper_v1 * > & | childrenEB | ) |
Set all children of this CutBookkeeper in one go.
Definition at line 422 of file CutBookkeeper_v1.cxx.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::CutBookkeeper_v1::setCutLogic | ( | CutBookkeeper_v1::CutLogic | val | ) |
Set the cut logic of this CutBookkeeper, e.g., ACCEPT, REQUIRE, VETO.
Definition at line 199 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setCycle | ( | int | cycle | ) |
Set the skimming cycle that this CutBookkeeper is running in.
Definition at line 209 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setDescription | ( | const std::string & | description | ) |
Set the description of this CutBookkeeper.
Definition at line 177 of file CutBookkeeper_v1.cxx.
|
privateinherited |
Record that this element used to have private data.
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 462 of file AuxElement.cxx.
void xAOD::CutBookkeeper_v1::setInputStream | ( | const std::string & | inputstream | ) |
Set the name of the current input-file stream object for this CutBookkeeper.
Definition at line 225 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setNAcceptedEvents | ( | uint64_t | nEvents | ) |
Set the number of accepted events for this CutBookkeeper.
Definition at line 295 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setName | ( | const std::string & | name | ) |
Set the nameIdentifier for this CutBookkeeper.
Definition at line 137 of file CutBookkeeper_v1.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::CutBookkeeper_v1::setOutputStreams | ( | const std::vector< std::string > & | outputstreams | ) |
Set the names of the output-file stream objects for this CutBookkeeper.
Definition at line 280 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setParent | ( | const CutBookkeeper_v1 * | parentEB | ) |
Set the parent CutBookkeeper of this CutBookkeeper.
Definition at line 372 of file CutBookkeeper_v1.cxx.
Set the whole payload object (which contains all counters) in one go.
Definition at line 121 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setSiblings | ( | const std::vector< CutBookkeeper_v1 * > & | siblings | ) |
Set all CutBookkeeper that are siblings to this one in one go.
Definition at line 622 of file CutBookkeeper_v1.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
store | Link to the new store. |
Definition at line 249 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 221 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 237 of file AuxElement.cxx.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 418 of file AuxElement.cxx.
void xAOD::CutBookkeeper_v1::setSumOfEventWeights | ( | double | nWeightedEvents | ) |
Set the sum-of-event-weights that this CutBookkeeper has seen.
Definition at line 313 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setSumOfEventWeightsSquared | ( | double | nWeightedEventsSquared | ) |
Set the sum-of-(event-weights-squared) that this CutBookkeeper has seen.
Definition at line 331 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setTopFilter | ( | bool | isTopFilter | ) |
Set the top-filter property of this CutBookkeeper.
Definition at line 188 of file CutBookkeeper_v1.cxx.
Set the uniqueIdentifier for this CutBookkeeper.
Definition at line 148 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::setUsedOthers | ( | const std::vector< CutBookkeeper_v1 * > & | usedOthers | ) |
Set all CutBookkeeper that are used by this one in one go.
Definition at line 535 of file CutBookkeeper_v1.cxx.
const xAOD::CutBookkeeper_v1 * xAOD::CutBookkeeper_v1::sibling | ( | std::size_t | i | ) | const |
double xAOD::CutBookkeeper_v1::sumOfEventWeights | ( | ) | const |
Get the sum-of-event-weights that this CutBookkeeper has seen.
Definition at line 309 of file CutBookkeeper_v1.cxx.
double xAOD::CutBookkeeper_v1::sumOfEventWeightsSquared | ( | ) | const |
Get the sum-of-(event-weights-squared) that this CutBookkeeper has seen.
Definition at line 327 of file CutBookkeeper_v1.cxx.
void xAOD::CutBookkeeper_v1::toPersistent | ( | ) |
Function preparing the object to be persistified.
Definition at line 670 of file CutBookkeeper_v1.cxx.
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
Get the uniqueIdentifier for this CutBookkeeper.
Definition at line 144 of file CutBookkeeper_v1.cxx.
const xAOD::CutBookkeeper_v1 * xAOD::CutBookkeeper_v1::usedOther | ( | std::size_t | i | ) | const |
Get the usedOther at position i.
Definition at line 521 of file CutBookkeeper_v1.cxx.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 of file AuxElement.cxx.
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 270 of file AuxElement.cxx.
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 324 of file AuxElement.h.
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 920 of file AuxElement.h.