17#ifndef TrigConfCoolFolderSpec_h
18#define TrigConfCoolFolderSpec_h
24#include "CoolKernel/pointers.h"
25#include "CoolKernel/FolderVersioning.h"
26#include "CoolKernel/FolderSpecification.h"
33 class RecordSpecification;
34 class IRecordSpecification;
45 cool::FolderSpecification
fspec;
154 static bool CreateFolderIfNotExist(cool::IDatabasePtr db,
const std::string& folder,
const cool::IRecordSpecification& spec,
155 cool::FolderVersioning::Mode mode,
bool isMultiChannel);
cool::RecordSpecification m_rspec
cool::FolderSpecification fspec
FolderDefinition(const std::string &folder, cool::FolderVersioning::Mode mode, const cool::RecordSpecification &rspec)
cool::RecordSpecification & rspec()
static cool::RecordSpecification createHltMenuFolderSpecification()
defines the folder structure for the HLT menu
static FolderDefinition HltPrescalesFolderDefinition()
static cool::IFolderSetPtr createMonFolderStructure(cool::IDatabasePtr db, int schemaVersion=0)
creates the folder structure in the monitoring COOL database
static cool::RecordSpecification createLvl1InputMapFolderSpecification()
defines the folder structure for the LVL1 CTP input map
static cool::RecordSpecification createLvl1MonMapFolderSpecification()
defines the folder structure for the LVL1 monitoring counter map
static const long mBGDescBlobSize
static cool::IFolderPtr getHltPrescaleKeyFolder(cool::IDatabasePtr db)
static void printFolderStructure(cool::IDatabasePtr db, std::ostream &o)
prints the folder structure that is in the COOL database
static cool::RecordSpecification createLvl1ThresholdFolderSpecification()
defines the folder structure for the LVL1 thresholds
static cool::RecordSpecification createLvl1MenuFolderSpecification()
defines the folder structure for the LVL1 menu
static FolderDefinition Lvl1ItemDefFolderDefinition()
static cool::IFolderPtr getHltChainGroupFolder(cool::IDatabasePtr db)
TrigConfCoolFolderSpec()
default constructor
static cool::RecordSpecification createLvl1ConfigKeysFolderSpecification()
defines the folder structure for the LVL1 config key
static cool::IFolderPtr getLvl1ConfKeyFolder(cool::IDatabasePtr db)
static cool::RecordSpecification createHltPrescalesFolderSpecification()
defines the folder structure for the HLT prescales
static cool::RecordSpecification createLvl1BGKeyFolderSpecification()
defines the folder structure for the LVL1 bunch group key
static cool::IFolderPtr getHltMenuFolder(cool::IDatabasePtr db)
static FolderDefinition Lvl1BGDescFolderDefinition()
static FolderDefinition Lvl1BGKeyFolderDefinition()
static int readSchemaVersion(cool::IDatabasePtr db)
get the version of the COOL database
static cool::IFolderPtr getMonConfKeyFolder(cool::IDatabasePtr db)
static FolderDefinition HltPrescaleKeyFolderDefinition()
static cool::RecordSpecification createLvl1ItemDefFolderSpecification()
defines the folder structure for the LVL1 item def
static FolderDefinition Lvl1ConfigKeysFolderDefinition()
static int determineSchemaVersion(const std::vector< cool::IFolderPtr > &folders)
static cool::RecordSpecification createLvl1BGDescFolderSpecification()
defines the folder structure for the LVL1 bunch group descriptions
static cool::RecordSpecification createLvl1PrescalesFolderSpecification(int schemaVersion)
defines the folder structure for the LVL1 prescales
static cool::IFolderPtr getLvl1ItemDefFolder(cool::IDatabasePtr db)
static cool::IFolderPtr getLvl1BGContentFolder(cool::IDatabasePtr db)
static cool::IFolderPtr getHltConfKeyFolder(cool::IDatabasePtr db)
static FolderDefinition Lvl1MonMapFolderSpecification()
static FolderDefinition Lvl1BGContentFolderDefinition()
static FolderDefinition HltMenuFolderDefinition()
static cool::IFolderPtr getLvl1PrescalesFolder(cool::IDatabasePtr db)
static int getDefaultSchemaVersion()
access to the version
static FolderDefinition Lvl1ThresholdFolderDefinition()
static cool::IFolderSetPtr createFolderStructure(cool::IDatabasePtr db, int schemaVersion=0)
creates the folder structure in the COOL database
static cool::IFolderPtr getLvl1MonMapFolder(cool::IDatabasePtr db)
static cool::RecordSpecification createLvl1BGContentFolderSpecification()
defines the folder structure for the LVL1 bunch groups
static FolderDefinition Lvl1PrescalesFolderDefinition(int schemaVersion)
static cool::IFolderPtr getLvl1BGDescFolder(cool::IDatabasePtr db)
static cool::IFolderPtr getLvl1BGKeyFolder(cool::IDatabasePtr db)
static cool::IFolderPtr getLvl1ThresholdFolder(cool::IDatabasePtr db)
static const int mDefaultSchemaVersion
static cool::RecordSpecification createHltChainGroupFolderSpecification()
defines the folder structure for the HLT chain groups
TrigConfCoolFolderSpec(const TrigConfCoolFolderSpec &)
copy constructor
static FolderDefinition HltChainGroupFolderDefinition()
static cool::IFolderPtr getLvl1InputMapFolder(cool::IDatabasePtr db)
static cool::RecordSpecification createHltPrescaleKeyFolderSpecification()
defines the folder structure for the HLT prescales
static FolderDefinition Lvl1InputMapFolderDefinition()
static cool::IFolderPtr getLvl1MenuFolder(cool::IDatabasePtr db)
static bool CreateFolderIfNotExist(cool::IDatabasePtr db, FolderDefinition fd, bool isMultiChannel)
static const long mBGContentBlobSize
static cool::RecordSpecification createHltConfigKeysFolderSpecification()
defines the folder structure for the HLT config key
static FolderDefinition Lvl1MenuFolderDefinition()
static bool CreateFolderIfNotExist(cool::IDatabasePtr db, const std::string &folder, const cool::IRecordSpecification &spec, cool::FolderVersioning::Mode mode, bool isMultiChannel)
static cool::IFolderPtr getHltPrescalesFolder(cool::IDatabasePtr db)
static FolderDefinition HltConfigKeysFolderDefinition()
Forward iterator to traverse the main components of the trigger configuration.