ATLAS Offline Software
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 
11 namespace cool {
12  class IRecord;
13  class Record;
14 }
15 
16 namespace coral {
17  class AttributeList;
18 }
19 
20 namespace TrigConf {
21 
22  class HLTChain;
23  class HLTChainList;
24  class HLTSequenceList;
25 
26  namespace TrigConfCoolHLTPayloadConverters {
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 
95 
96 
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
grepfile.info
info
Definition: grepfile.py:38
TrigConf::TrigConfCoolHLTPayloadConverters::createHltPrescaleKeyPayload
cool::Record createHltPrescaleKeyPayload(cool::IFolderPtr, int psk)
build a COOL db record from a HLT prescale value
Definition: TrigConfCoolHLTPayloadConverters.cxx:102
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
TrigConf::TrigConfCoolHLTPayloadConverters::readHltPrescaleKey
int readHltPrescaleKey(const coral::AttributeList &al)
build the HLT prescale key from a COOL db record
Definition: TrigConfCoolHLTPayloadConverters.cxx:261
test_pyathena.pt
pt
Definition: test_pyathena.py:11
TrigConf::TrigConfCoolHLTPayloadConverters::createHltPrescalesPayload
cool::Record createHltPrescalesPayload(cool::IFolderPtr, float prescale, float passthrough, float rerunprescale)
build a COOL db record from a HLT prescale value
Definition: TrigConfCoolHLTPayloadConverters.cxx:91
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
TrigConf::HLTChain
HLT chain configuration information.
Definition: TrigConfHLTData/TrigConfHLTData/HLTChain.h:35
TrigConf::TrigConfCoolHLTPayloadConverters::createHltChainGroupPayload
cool::Record createHltChainGroupPayload(cool::IFolderPtr, const TrigConf::HLTChain &ch)
build a COOL db record from a HLT chain
Definition: TrigConfCoolHLTPayloadConverters.cxx:57
trigbs_dumpPrescaleBits.HLTChain
HLTChain
Definition: trigbs_dumpPrescaleBits.py:41
cool
Definition: CoolTagInfo.h:12
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
coral
Definition: ISecondaryEventSelector.h:19
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
TrigConf::TrigConfCoolHLTPayloadConverters::createHLTChain
HLTChain * createHLTChain(const coral::AttributeList &al, TrigConf::HLTSequenceList *sequences=0)
build an HLT chain from a COOL db record
Definition: TrigConfCoolHLTPayloadConverters.cxx:110
TrigConf::HLTChainList
list of all HLT chains in a trigger menu
Definition: HLTChainList.h:56
TrigConf::TrigConfCoolHLTPayloadConverters::createHltMenuPayload
cool::Record createHltMenuPayload(cool::IFolderPtr, const TrigConf::HLTChain &, const std::string &concise)
build a COOL db record from a HLT chain
Definition: TrigConfCoolHLTPayloadConverters.cxx:28
TrigConf::TrigConfCoolHLTPayloadConverters::createHltConfigKeysPayload
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
Definition: TrigConfCoolHLTPayloadConverters.cxx:73
Record
Definition: HephProf.cxx:56
TrigConf::TrigConfCoolHLTPayloadConverters::createMonConfigKeyPayload
cool::Record createMonConfigKeyPayload(cool::IFolderPtr fld, uint MCK, std::string &info)
build a COOL db record from a HLT monitoring configuration key
Definition: TrigConfCoolHLTPayloadConverters.cxx:83
LArConditions2Ntuple.fld
string fld
Definition: LArConditions2Ntuple.py:302
TrigConf::TrigConfCoolHLTPayloadConverters::addGroupsToHltChain
void addGroupsToHltChain(const coral::AttributeList &al, const TrigConf::HLTChainList &chl)
add the groups to and HLT chain from a AttributeList
Definition: TrigConfCoolHLTPayloadConverters.cxx:222
TrigConf::TrigConfCoolHLTPayloadConverters::readHltPrescale
void readHltPrescale(const coral::AttributeList &al, float &ps, float &pt, float &rrps)
build the HLT prescale value from a COOL db record
Definition: TrigConfCoolHLTPayloadConverters.cxx:251
TrigConf::TrigConfCoolHLTPayloadConverters::readHltConfigKeys
void readHltConfigKeys(const coral::AttributeList &al, unsigned int &masterConfigKey, unsigned int &hltPrescaleKey, std::string &configSource)
read the HLT configuration keys from a coral::AttributeList
Definition: TrigConfCoolHLTPayloadConverters.cxx:241
TrigConf::HLTSequenceList
list of HLT sequences
Definition: HLTSequenceList.h:40