Common implementation of the IBunchCrossingConfProvider interface. More...
#include <BunchCrossingConfProviderBase.h>
Public Member Functions | |
virtual std::vector< int > | configuredBCIDs () const |
Function providing the BCIDs of the configured colliding bunches. | |
virtual std::vector< float > | configuredIntensitiesBeam1 () const |
Function providing the intensities of the configured colliding bunches. | |
virtual std::vector< float > | configuredIntensitiesBeam2 () const |
Function providing the intensities of the configured colliding bunches. | |
virtual std::vector< int > | configuredUnpairedBCIDsBeam1 () const |
Function providing the BCIDs of the configured unpaired bunches. | |
virtual std::vector< int > | configuredUnpairedBCIDsBeam2 () const |
Function providing the BCIDs of the configured unpaired bunches. | |
virtual std::vector< float > | configuredUnpairedIntensitiesBeam1 () const |
Function providing the intensities of the configured unpaired bunches. | |
virtual std::vector< float > | configuredUnpairedIntensitiesBeam2 () const |
Function providing the intensities of the configured unpaired bunches. | |
Static Protected Attributes | |
static const std::string | BUNCH_CONFIG_INCIDENT_NAME = "BunchConfig" |
Type name for the incident that such tools should emit. |
Common implementation of the IBunchCrossingConfProvider interface.
Implementing the IBunchCrossingConfProvider interface is quite simple actually, and it can be done in a common way. So it doesn't make sense to do it separately for all the tool implementations.
std::vector< int > Trig::BunchCrossingConfProviderBase::configuredBCIDs | ( | ) | const [virtual] |
Function providing the BCIDs of the configured colliding bunches.
The implementation just loops over all the possible BCIDs and puts the IDs of the ones which are reported to be filled, into the output vector.
Implements Trig::IBunchCrossingConfProvider.
Reimplemented in Trig::MCBunchCrossingTool.
std::vector< float > Trig::BunchCrossingConfProviderBase::configuredIntensitiesBeam1 | ( | ) | const [virtual] |
Function providing the intensities of the configured colliding bunches.
The implementation just loops over all the possible BCIDs, and puts the intensities of the filled ones into the output vector. This way the result is in sync with the output of configuredBCIDs().
Implements Trig::IBunchCrossingConfProvider.
Reimplemented in Trig::LHCBunchCrossingTool, Trig::MCBunchCrossingTool, and Trig::TrigConfBunchCrossingTool.
std::vector< float > Trig::BunchCrossingConfProviderBase::configuredIntensitiesBeam2 | ( | ) | const [virtual] |
Function providing the intensities of the configured colliding bunches.
The implementation just loops over all the possible BCIDs, and puts the intensities of the filled ones into the output vector. This way the result is in sync with the output of configuredBCIDs().
Implements Trig::IBunchCrossingConfProvider.
Reimplemented in Trig::LHCBunchCrossingTool, Trig::MCBunchCrossingTool, and Trig::TrigConfBunchCrossingTool.
std::vector< int > Trig::BunchCrossingConfProviderBase::configuredUnpairedBCIDsBeam1 | ( | ) | const [virtual] |
Function providing the BCIDs of the configured unpaired bunches.
The implementation just loops over all the possible BCIDs and puts the IDs of the ones which are reported to be unpaired, into the output vector.
Implements Trig::IBunchCrossingConfProvider.
std::vector< int > Trig::BunchCrossingConfProviderBase::configuredUnpairedBCIDsBeam2 | ( | ) | const [virtual] |
Function providing the BCIDs of the configured unpaired bunches.
The implementation just loops over all the possible BCIDs and puts the IDs of the ones which are reported to be unpaired, into the output vector.
Implements Trig::IBunchCrossingConfProvider.
std::vector< float > Trig::BunchCrossingConfProviderBase::configuredUnpairedIntensitiesBeam1 | ( | ) | const [virtual] |
Function providing the intensities of the configured unpaired bunches.
The implementation just loops over all the possible BCIDs, and puts the intensities of the unpaired ones into the output vector. This way the result is in sync with the output of configuredUnpairedBCIDsBeam1().
Implements Trig::IBunchCrossingConfProvider.
Reimplemented in Trig::LHCBunchCrossingTool, and Trig::TrigConfBunchCrossingTool.
std::vector< float > Trig::BunchCrossingConfProviderBase::configuredUnpairedIntensitiesBeam2 | ( | ) | const [virtual] |
Function providing the intensities of the configured unpaired bunches.
The implementation just loops over all the possible BCIDs, and puts the intensities of the unpaired ones into the output vector. This way the result is in sync with the output of configuredUnpairedBCIDsBeam2().
Implements Trig::IBunchCrossingConfProvider.
Reimplemented in Trig::LHCBunchCrossingTool, and Trig::TrigConfBunchCrossingTool.