Implementation reading the information from the LHC conditions DB. More...
#include <LHCBunchCrossingTool.h>
Public Member Functions | |
LHCBunchCrossingTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Standard AlgTool constructor. | |
virtual StatusCode | initialize () |
Regular AlgTool initialization function. | |
virtual configid_type | configID () const |
Unique identifier for the current configuration. | |
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< 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. |
Implementation reading the information from the LHC conditions DB.
This implementation of the tool behaves pretty much like TrigConfBunchCrossingTool. But instead of reading the BCIDs of the colliding bunches out of the trigger configuration, it reads them from the LHC conditions, stored in the TDAQ COOL folders.
Apparently for some runs this information is more reliable than the trigger configuration.
It also acts as a bunch crossing configuration provider, implementing the Trig::IBunchCrossingConfProvider interface.
IBunchCrossingConfProvider::configid_type Trig::LHCBunchCrossingTool::configID | ( | ) | const [virtual] |
Unique identifier for the current configuration.
The configuration ID is derived from the IOV of the currently loaded conditions. The LHC fill number could also be a good number in the future, but I'm not sure how to extract that at the moment.
Implements Trig::IBunchCrossingConfProvider.
std::vector< float > Trig::LHCBunchCrossingTool::configuredIntensitiesBeam1 | ( | ) | const [virtual] |
Function providing the intensities of the configured colliding bunches.
Override the function in case no valid beam intensity is available for the moment.
Reimplemented from Trig::BunchCrossingConfProviderBase.
std::vector< float > Trig::LHCBunchCrossingTool::configuredIntensitiesBeam2 | ( | ) | const [virtual] |
Function providing the intensities of the configured colliding bunches.
Override the function in case no valid beam intensity is available for the moment.
Reimplemented from Trig::BunchCrossingConfProviderBase.
std::vector< float > Trig::LHCBunchCrossingTool::configuredUnpairedIntensitiesBeam1 | ( | ) | const [virtual] |
Function providing the intensities of the configured unpaired bunches.
Override the function in case no valid beam intensity is available for the moment.
Reimplemented from Trig::BunchCrossingConfProviderBase.
std::vector< float > Trig::LHCBunchCrossingTool::configuredUnpairedIntensitiesBeam2 | ( | ) | const [virtual] |
Function providing the intensities of the configured unpaired bunches.
Override the function in case no valid beam intensity is available for the moment.
Reimplemented from Trig::BunchCrossingConfProviderBase.