forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import L1TGlobal CondFormat classes from UTM library
- Loading branch information
Showing
54 changed files
with
1,129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmAlgorithmRcd_h | ||
#define CondFormatsDataRecord_L1TUtmAlgorithmRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmAlgorithmRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmAlgorithmRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmBinRcd_h | ||
#define CondFormatsDataRecord_L1TUtmBinRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmBinRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmBinRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmConditionRcd_h | ||
#define CondFormatsDataRecord_L1TUtmConditionRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmConditionRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmConditionRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmCutRcd_h | ||
#define CondFormatsDataRecord_L1TUtmCutRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmCutRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmCutRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmCutValueRcd_h | ||
#define CondFormatsDataRecord_L1TUtmCutValueRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmCutValueRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmCutValueRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmObjectRcd_h | ||
#define CondFormatsDataRecord_L1TUtmObjectRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmObjectRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmObjectRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmScaleRcd_h | ||
#define CondFormatsDataRecord_L1TUtmScaleRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmScaleRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmScaleRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// auto-generated file by import_utm.pl | ||
#ifndef CondFormatsDataRecord_L1TUtmTriggerMenuRcd_h | ||
#define CondFormatsDataRecord_L1TUtmTriggerMenuRcd_h | ||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
class L1TUtmTriggerMenuRcd : public edm::eventsetup::EventSetupRecordImplementation<L1TUtmTriggerMenuRcd> {}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmAlgorithmRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmAlgorithmRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmBinRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmBinRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmConditionRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmConditionRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmCutRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmCutRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmCutValueRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmCutValueRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmObjectRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmObjectRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmScaleRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmScaleRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// auto-generated file by import_utm.pl | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
#include "CondFormats/DataRecord/interface/L1TUtmTriggerMenuRcd.h" | ||
EVENTSETUP_RECORD_REG(L1TUtmTriggerMenuRcd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// | ||
// NOTE: This file was automatically generated from UTM library via import_utm.pl | ||
// DIRECT EDITS MIGHT BE LOST. | ||
// | ||
/** | ||
* @author Takashi Matsushita | ||
* Created: 12 Mar 2015 | ||
*/ | ||
|
||
/** @todo nope */ | ||
|
||
#ifndef tmEventSetup_esAlgorithm_hh | ||
#define tmEventSetup_esAlgorithm_hh | ||
|
||
/*====================================================================* | ||
* declarations | ||
*====================================================================*/ | ||
/*-----------------------------------------------------------------* | ||
* headers | ||
*-----------------------------------------------------------------*/ | ||
#include <string> | ||
#include <vector> | ||
#include "CondFormats/Serialization/interface/Serializable.h" | ||
|
||
|
||
/*-----------------------------------------------------------------* | ||
* constants | ||
*-----------------------------------------------------------------*/ | ||
/* nope */ | ||
|
||
|
||
|
||
/** | ||
* This class implements data structure for Algorithm | ||
*/ | ||
class L1TUtmAlgorithm | ||
{ | ||
public: | ||
// ctor | ||
L1TUtmAlgorithm() | ||
: name_(), expression_(), expression_in_condition_(), rpn_vector_(), | ||
index_(), module_id_(), module_index_() { }; | ||
|
||
// dtor | ||
virtual ~L1TUtmAlgorithm() { }; | ||
|
||
/** set rpn_vector_ */ | ||
void setRpnVector(const std::vector<std::string>& x) { rpn_vector_ = x; }; | ||
|
||
/** get algorithm name */ | ||
const std::string& getName() const { return name_; }; | ||
|
||
/** get algorithm expression in grammar */ | ||
const std::string& getExpression() const { return expression_; }; | ||
|
||
/** get algorithm expression in condition */ | ||
const std::string& getExpressionInCondition() const { return expression_in_condition_; }; | ||
|
||
/** get reverse polish notion of algorithm expression in condition */ | ||
const std::vector<std::string>& getRpnVector() const { return rpn_vector_; }; | ||
|
||
/** get algorithm index */ | ||
unsigned int getIndex() const { return index_; }; | ||
|
||
/** get module id */ | ||
unsigned int getModuleId() const { return module_id_; }; | ||
|
||
/** get module index */ | ||
unsigned int getModuleIndex() const { return module_index_; }; | ||
|
||
protected: | ||
std::string name_; /**< name of algorithm */ | ||
std::string expression_; /**< algorithm expression in grammar */ | ||
std::string expression_in_condition_; /**< algorithm expression in condition */ | ||
std::vector<std::string> rpn_vector_; /**< reverse polish notation of algorithm expression in condition */ | ||
unsigned int index_; /**< index of algorithm (global) */ | ||
unsigned int module_id_; /**< module id */ | ||
unsigned int module_index_; /**< index of algorithm in module (local to module id) */ | ||
unsigned int version; | ||
COND_SERIALIZABLE; | ||
}; | ||
|
||
#endif // tmEventSetup_esAlgorithm_hh | ||
/* eof */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// | ||
// NOTE: This file was automatically generated from UTM library via import_utm.pl | ||
// DIRECT EDITS MIGHT BE LOST. | ||
// | ||
/** | ||
* @author Takashi Matsushita | ||
* Created: 12 Mar 2015 | ||
*/ | ||
|
||
/** @todo nope */ | ||
|
||
#ifndef tmEventSetup_esBin_hh | ||
#define tmEventSetup_esBin_hh | ||
|
||
/*====================================================================* | ||
* declarations | ||
*====================================================================*/ | ||
/*-----------------------------------------------------------------* | ||
* headers | ||
*-----------------------------------------------------------------*/ | ||
#include <limits> | ||
#include "CondFormats/Serialization/interface/Serializable.h" | ||
|
||
|
||
/*-----------------------------------------------------------------* | ||
* constants | ||
*-----------------------------------------------------------------*/ | ||
/* nope */ | ||
|
||
|
||
|
||
/** | ||
* This class implements data structure for Bin | ||
*/ | ||
class L1TUtmBin | ||
{ | ||
public: | ||
// ctor | ||
L1TUtmBin() | ||
: hw_index(std::numeric_limits<unsigned int>::max()), | ||
minimum(std::numeric_limits<double>::min()), | ||
maximum(std::numeric_limits<double>::max()) { }; | ||
|
||
L1TUtmBin(const unsigned int id, | ||
const double min, | ||
const double max) | ||
: hw_index(id), minimum(min), maximum(max) { }; | ||
|
||
// dtor | ||
virtual ~L1TUtmBin() { }; | ||
|
||
unsigned int hw_index; /**< HW index of bin */ | ||
double minimum; /**< minimum value of bin */ | ||
double maximum; /**< maximum value of bin */ | ||
unsigned int version; | ||
COND_SERIALIZABLE; | ||
}; | ||
|
||
#endif // tmEventSetup_esBin_hh | ||
/* eof */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// | ||
// NOTE: This file was automatically generated from UTM library via import_utm.pl | ||
// DIRECT EDITS MIGHT BE LOST. | ||
// | ||
/** | ||
* @author Takashi Matsushita | ||
* Created: 12 Mar 2015 | ||
*/ | ||
|
||
/** @todo nope */ | ||
|
||
#ifndef tmEventSetup_esCondition_hh | ||
#define tmEventSetup_esCondition_hh | ||
|
||
/*====================================================================* | ||
* declarations | ||
*====================================================================*/ | ||
/*-----------------------------------------------------------------* | ||
* headers | ||
*-----------------------------------------------------------------*/ | ||
#include <string> | ||
#include <vector> | ||
#include "CondFormats/Serialization/interface/Serializable.h" | ||
|
||
#include "CondFormats/L1TObjects/interface/L1TUtmCut.h" | ||
#include "CondFormats/L1TObjects/interface/L1TUtmObject.h" | ||
|
||
|
||
/*-----------------------------------------------------------------* | ||
* constants | ||
*-----------------------------------------------------------------*/ | ||
/* nope */ | ||
|
||
|
||
|
||
|
||
/** | ||
* This class implements data structure for Condition | ||
*/ | ||
class L1TUtmCondition | ||
{ | ||
public: | ||
// ctor | ||
L1TUtmCondition() | ||
: name_(), type_(-9999), | ||
objects_(), cuts_() { }; | ||
|
||
// dtor | ||
virtual ~L1TUtmCondition() { }; | ||
|
||
/** set condition name */ | ||
void setName(const std::string& x) { name_ = x; }; | ||
|
||
/** set condition type */ | ||
void setType(const int x) { type_ = x; }; | ||
|
||
/** get condition name */ | ||
const std::string& getName() const { return name_; }; | ||
|
||
/** get condition type */ | ||
const int getType() const { return type_; }; | ||
|
||
/** get objects associated with the condition */ | ||
const std::vector<L1TUtmObject>& getObjects() const { return objects_; }; | ||
|
||
/** get cuts associated with the condition */ | ||
const std::vector<L1TUtmCut>& getCuts() const { return cuts_; }; | ||
|
||
|
||
protected: | ||
std::string name_; /**< name of condition */ | ||
int type_; /**< type of condition */ | ||
std::vector<L1TUtmObject> objects_; /**< list of objects used in condition */ | ||
std::vector<L1TUtmCut> cuts_; /**< list of cuts applied on condition */ | ||
unsigned int version; | ||
COND_SERIALIZABLE; | ||
}; | ||
|
||
#endif // tmEventSetup_esCondition_hh | ||
/* eof */ |
Oops, something went wrong.