Skip to content

Commit

Permalink
import L1TGlobal CondFormat classes from UTM library
Browse files Browse the repository at this point in the history
  • Loading branch information
mulhearn committed Jan 13, 2016
1 parent 4918827 commit 08b95b5
Show file tree
Hide file tree
Showing 54 changed files with 1,129 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmAlgorithmRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmBinRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmConditionRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmCutRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmCutValueRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmObjectRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmScaleRcd.h
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
6 changes: 6 additions & 0 deletions CondFormats/DataRecord/interface/L1TUtmTriggerMenuRcd.h
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
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmAlgorithmRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmBinRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmConditionRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmCutRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmCutValueRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmObjectRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmScaleRcd.cc
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);
4 changes: 4 additions & 0 deletions CondFormats/DataRecord/src/L1TUtmTriggerMenuRcd.cc
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);
84 changes: 84 additions & 0 deletions CondFormats/L1TObjects/interface/L1TUtmAlgorithm.h
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 */
60 changes: 60 additions & 0 deletions CondFormats/L1TObjects/interface/L1TUtmBin.h
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 */
80 changes: 80 additions & 0 deletions CondFormats/L1TObjects/interface/L1TUtmCondition.h
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 */
Loading

0 comments on commit 08b95b5

Please sign in to comment.