Trig::TrigConfBunchCrossingTool Class Reference

The trigger config implementation of IBunchCrossingTool. More...

#include <TrigConfBunchCrossingTool.h>

Inheritance diagram for Trig::TrigConfBunchCrossingTool:
Trig::BunchCrossingToolBase Trig::BunchCrossingConfProviderBase Trig::IBunchCrossingTool asg::AsgMetadataTool Trig::IBunchCrossingConfProvider Trig::IBunchCrossingTool asg::IAsgTool asg::AsgTool asg::IAsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 TrigConfBunchCrossingTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard AlgTool constructor.
virtual StatusCode initialize ()
 Regular AlgTool initialization function.
virtual void handle (const Incident &inc)
 Function called when a registered incident happens.
virtual configid_type configID () const
 Unique identifier for the current configuration.
virtual std::vector< float > configuredIntensitiesBeam1 () const
 Override the default implementation because this tool doesn't provide this info.
virtual std::vector< float > configuredIntensitiesBeam2 () const
 Override the default implementation because this tool doesn't provide this info.
virtual std::vector< float > configuredUnpairedIntensitiesBeam1 () const
 Override the default implementation because this tool doesn't provide this info.
virtual std::vector< float > configuredUnpairedIntensitiesBeam2 () const
 Override the default implementation because this tool doesn't provide this info.

Detailed Description

The trigger config implementation of IBunchCrossingTool.

This implementation should be used primarily to get information about the bunch pattern for data files. It retrieves the bunch pattern configuration using the trigger configuration service. So in principle it can itself get the configuration from a few different places. (Currently TrigConf::LVL1ConfigSvc and TrigConf::DSConfigSvc provide this information.)

It also acts as a bunch crossing configuration provider, implementing the Trig::IBunchCrossingConfProvider interface.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
618331
Date
2014-09-24 13:55:26 +0200 (Wed, 24 Sep 2014)

Member Function Documentation

IBunchCrossingConfProvider::configid_type Trig::TrigConfBunchCrossingTool::configID (  )  const [virtual]

Unique identifier for the current configuration.

This specialization of the function just returns the BGKey of the currently loaded configuration. This is the simplest implementation for this function...

Implements Trig::IBunchCrossingConfProvider.

std::vector< float > Trig::TrigConfBunchCrossingTool::configuredIntensitiesBeam1 (  )  const [virtual]

Override the default implementation because this tool doesn't provide this info.

This function will always return an empty vector, because this tool doesn't provide this sort of information. While saving the default 1.0 values for all the filled bunches would have the same result right now, the tools may handle the absence of the intensity information in different ways in the future.

Returns:
An empty vector

Reimplemented from Trig::BunchCrossingConfProviderBase.

std::vector< float > Trig::TrigConfBunchCrossingTool::configuredIntensitiesBeam2 (  )  const [virtual]

Override the default implementation because this tool doesn't provide this info.

This function will always return an empty vector, because this tool doesn't provide this sort of information. While saving the default 1.0 values for all the filled bunches would have the same result right now, the tools may handle the absence of the intensity information in different ways in the future.

Returns:
An empty vector

Reimplemented from Trig::BunchCrossingConfProviderBase.

std::vector< float > Trig::TrigConfBunchCrossingTool::configuredUnpairedIntensitiesBeam1 (  )  const [virtual]

Override the default implementation because this tool doesn't provide this info.

This function will always return an empty vector, because this tool doesn't provide this sort of information. While saving the default 1.0 values for all the unpaired bunches would have the same result right now, the tools may handle the absence of the intensity information in different ways in the future.

Returns:
An empty vector

Reimplemented from Trig::BunchCrossingConfProviderBase.

std::vector< float > Trig::TrigConfBunchCrossingTool::configuredUnpairedIntensitiesBeam2 (  )  const [virtual]

Override the default implementation because this tool doesn't provide this info.

This function will always return an empty vector, because this tool doesn't provide this sort of information. While saving the default 1.0 values for all the unpaired bunches would have the same result right now, the tools may handle the absence of the intensity information in different ways in the future.

Returns:
An empty vector

Reimplemented from Trig::BunchCrossingConfProviderBase.

void Trig::TrigConfBunchCrossingTool::handle ( const Incident &  inc  )  [virtual]

Function called when a registered incident happens.

The function checks if it received the expected type of incident, and then instructs the tool to check if its configuration needs to be changed.

Reimplemented from asg::AsgMetadataTool.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1