--
DenverWhittington - 09 Feb 2007
Introduction
The TRT_ConditionsTools package contains tools which provide various types of TRT detector conditions information. All such tools should be migrated from the TRT_ConditionsAlgs package to this one. It currently contains:
TRT_ConditionsSummaryTool
This
AlgTool provides a status flag for an identifier, based on the status from multiple tools of type ITRT_ConditionsSummaryBase. It contains the following functions:
- std::string listTools()
- Returns a string listing the tools to be called, as specified in the jobOptions.
- InDet::TRT_CondFlag condSummaryStatus( Identifier) (inherited from summary base interface)
- Returns a status flag, derived from the collection of status flags given by the specified tools.
ITRT_ConditionsSummaryBase
The ITRT_ConditionsSummaryBase is an
IAlgTool interface for all tools which provide TRT conditions data. Here are the pertinent contents:
- enum InDet::TRT_CondFlag
- {NO_INFO, GOOD, BAD}
- This status flag will be added to as the variety of status states is defined.
- InDet::TRT_CondFlag condSummaryStatus( Identifier )
- This function returns a status flag, as determined by the inheriting tool.
TRT_ConditionsTestTool
This
AlgTool provides an example of how to implement a tool which inherits from ITRT_ConditionsSummaryBase. For testing, it returns
InDet::TRT_CondFlag::GOOD for any Identifier.
- InDet::TRT_CondFlag condSummaryStatus( Identifier )
TRT_ConditionsSummaryExAlg
This is a simple Algorithm in TRT_ConditionsAlgs which provides an example of how to use the TRT_ConditionsSummaryTool.