-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move HGCalParameters class to common HGCal directory
* Add a schema for HGCalParameters as PHGCalParameters * Add serialization test for a new schema PHGCalParameters * Fix conflicts
- Loading branch information
Showing
15 changed files
with
130 additions
and
54 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
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,74 @@ | ||
#ifndef CondFormats_GeometryObjects_PHGCalParameters_h | ||
#define CondFormats_GeometryObjects_PHGCalParameters_h | ||
|
||
#include "CondFormats/Serialization/interface/Serializable.h" | ||
#include <string> | ||
#include <vector> | ||
|
||
class PHGCalParameters { | ||
|
||
public: | ||
|
||
PHGCalParameters( void ) {} | ||
~PHGCalParameters( void ) {} | ||
|
||
std::string name_; | ||
std::vector<double> cellSize_; | ||
std::vector<double> moduleBlS_; | ||
std::vector<double> moduleTlS_; | ||
std::vector<double> moduleHS_; | ||
std::vector<double> moduleDzS_; | ||
std::vector<double> moduleAlphaS_; | ||
std::vector<double> moduleCellS_; | ||
std::vector<double> moduleBlR_; | ||
std::vector<double> moduleTlR_; | ||
std::vector<double> moduleHR_; | ||
std::vector<double> moduleDzR_; | ||
std::vector<double> moduleAlphaR_; | ||
std::vector<double> moduleCellR_; | ||
std::vector<double> trformTranX_; | ||
std::vector<double> trformTranY_; | ||
std::vector<double> trformTranZ_; | ||
std::vector<double> trformRotXX_; | ||
std::vector<double> trformRotYX_; | ||
std::vector<double> trformRotZX_; | ||
std::vector<double> trformRotXY_; | ||
std::vector<double> trformRotYY_; | ||
std::vector<double> trformRotZY_; | ||
std::vector<double> trformRotXZ_; | ||
std::vector<double> trformRotYZ_; | ||
std::vector<double> trformRotZZ_; | ||
std::vector<double> zLayerHex_; | ||
std::vector<double> rMinLayHex_; | ||
std::vector<double> rMaxLayHex_; | ||
std::vector<double> waferPosX_; | ||
std::vector<double> waferPosY_; | ||
std::vector<double> cellFineX_; | ||
std::vector<double> cellFineY_; | ||
std::vector<double> cellCoarseX_; | ||
std::vector<double> cellCoarseY_; | ||
std::vector<double> boundR_; | ||
std::vector<int> moduleLayS_; | ||
std::vector<int> moduleLayR_; | ||
std::vector<int> layer_; | ||
std::vector<int> layerIndex_; | ||
std::vector<int> layerGroup_; | ||
std::vector<int> cellFactor_; | ||
std::vector<int> depth_; | ||
std::vector<int> depthIndex_; | ||
std::vector<int> depthLayerF_; | ||
std::vector<int> waferCopy_; | ||
std::vector<int> waferTypeL_; | ||
std::vector<int> waferTypeT_; | ||
std::vector<int> layerGroupM_; | ||
std::vector<int> layerGroupO_; | ||
std::vector<uint32_t> trformIndex_; | ||
double waferR_; | ||
int nCells_; | ||
int nSectors_; | ||
int mode_; | ||
|
||
COND_SERIALIZABLE; | ||
}; | ||
|
||
#endif |
4 changes: 2 additions & 2 deletions
4
CondFormats/GeometryObjects/src/T_EventSetup_HGCalParameters.cc
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "CondFormats/GeometryObjects/interface/HGCalParameters.h" | ||
#include "CondFormats/GeometryObjects/interface/PHGCalParameters.h" | ||
#include "FWCore/Utilities/interface/typelookup.h" | ||
|
||
TYPELOOKUP_DATA_REG(HGCalParameters); | ||
TYPELOOKUP_DATA_REG(PHGCalParameters); |
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
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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<use name="DetectorDescription/Base"/> | ||
<use name="DetectorDescription/Core"/> | ||
<use name="CondFormats/GeometryObjects"/> | ||
<export> | ||
<lib name="1"/> | ||
</export> |
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
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
14 changes: 7 additions & 7 deletions
14
...ometryObjects/interface/HGCalParameters.h → ...CalCommonData/interface/HGCalParameters.h
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
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
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
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
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
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