ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfCoolHLTPayloadConverters.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigConfStorage_TrigConfCoolHLTPayloadConverters
6#define TrigConfStorage_TrigConfCoolHLTPayloadConverters
7
8#include <string>
9#include "CoolKernel/pointers.h"
10
11namespace cool {
12 class IRecord;
13 class Record;
14}
15
16namespace coral {
17 class AttributeList;
18}
19
20namespace TrigConf {
21
22 class HLTChain;
23 class HLTChainList;
24 class HLTSequenceList;
25
27
28
35 cool::Record createHltMenuPayload(cool::IFolderPtr, const TrigConf::HLTChain&, const std::string& concise );
36
42 cool::Record createHltChainGroupPayload(cool::IFolderPtr, const TrigConf::HLTChain & ch);
43
44
54 cool::Record createHltConfigKeysPayload( cool::IFolderPtr, unsigned int masterKey,
55 unsigned int hltPrescaleKey, const std::string& configSource );
56
57
66 cool::Record createMonConfigKeyPayload(cool::IFolderPtr fld, uint MCK, std::string& info );
67
77 cool::Record createHltPrescalesPayload(cool::IFolderPtr, float prescale,
78 float passthrough, float rerunprescale);
79
80
90 cool::Record createHltPrescaleKeyPayload(cool::IFolderPtr, int psk);
91
92
94 HLTChain * createHLTChain( const coral::AttributeList & al, TrigConf::HLTSequenceList* sequences=0 );
95
96
98 void addGroupsToHltChain( const coral::AttributeList & al, const TrigConf::HLTChainList& chl);
99
100
102 void readHltConfigKeys( const coral::AttributeList & al, unsigned int & masterConfigKey,
103 unsigned int & hltPrescaleKey, std::string & configSource );
104
105
107 void readHltPrescale( const coral::AttributeList & al, float& ps, float& pt, float& rrps );
108
109
111 int readHltPrescaleKey( const coral::AttributeList & al );
112 }
113}
114
115#endif
unsigned int uint
static Double_t al
list of all HLT chains in a trigger menu
HLT chain configuration information.
list of HLT sequences
cool::Record createHltPrescaleKeyPayload(cool::IFolderPtr, int psk)
build a COOL db record from a HLT prescale value
cool::Record createHltPrescalesPayload(cool::IFolderPtr, float prescale, float passthrough, float rerunprescale)
build a COOL db record from a HLT prescale value
int readHltPrescaleKey(const coral::AttributeList &al)
build the HLT prescale key from a COOL db record
void readHltPrescale(const coral::AttributeList &al, float &ps, float &pt, float &rrps)
build the HLT prescale value from a COOL db record
cool::Record createHltChainGroupPayload(cool::IFolderPtr, const TrigConf::HLTChain &ch)
build a COOL db record from a HLT chain
cool::Record createMonConfigKeyPayload(cool::IFolderPtr fld, uint MCK, std::string &info)
build a COOL db record from a HLT monitoring configuration key
void addGroupsToHltChain(const coral::AttributeList &al, const TrigConf::HLTChainList &chl)
add the groups to and HLT chain from a AttributeList
void readHltConfigKeys(const coral::AttributeList &al, unsigned int &masterConfigKey, unsigned int &hltPrescaleKey, std::string &configSource)
read the HLT configuration keys from a coral::AttributeList
cool::Record createHltConfigKeysPayload(cool::IFolderPtr, unsigned int masterKey, unsigned int hltPrescaleKey, const std::string &configSource)
build a COOL db record from a set of HLT configuration keys
HLTChain * createHLTChain(const coral::AttributeList &al, TrigConf::HLTSequenceList *sequences=0)
build an HLT chain from a COOL db record
cool::Record createHltMenuPayload(cool::IFolderPtr, const TrigConf::HLTChain &, const std::string &concise)
build a COOL db record from a HLT chain
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22