Skip to content

Commit

Permalink
Merge pull request cms-sw#87 from CMS-HGCAL/hgcalmapping_CMSSW_13_3_0…
Browse files Browse the repository at this point in the history
…_pre4_feat

WIP: Factorization of the code for the logical mapping
  • Loading branch information
kerstinlovisa committed Nov 15, 2023
2 parents b56ee69 + 5c275d0 commit 562856c
Show file tree
Hide file tree
Showing 66 changed files with 1,019 additions and 1,858 deletions.
29 changes: 0 additions & 29 deletions CondFormats/DataRecord/interface/HGCalCondSerializableConfigRcd.h

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 25 additions & 0 deletions CondFormats/DataRecord/interface/HGCalMappingModuleIndexerRcd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#ifndef CondFormatsModuleIndexerRcd_HGCalMappingModuleIndexerRcd_h
#define CondFormatsModuleIndexerRcd_HGCalMappingModuleIndexerRcd_h
// -*- C++ -*-
//
// Package: CondFormats/DataRecords
// Class : HGCalMappingModuleIndexerRcd
//
/**\class HGCalMappingModuleIndexerRcd HGCalMappingModuleIndexerRcd.h CondFormats/DataRecords/interface/HGCalMappingModuleIndexerRcd.h
Description: [one line class summary]
Usage:
<usage>
*/
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 13 Nov 2023 12:02:11 GMT
//

#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"

class HGCalMappingModuleIndexerRcd : public edm::eventsetup::EventSetupRecordImplementation<HGCalMappingModuleIndexerRcd> {};

#endif
30 changes: 30 additions & 0 deletions CondFormats/DataRecord/interface/HGCalMappingModuleRcd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#ifndef CondFormatsModuleRcd_HGCalMappingModuleRcd_h
#define CondFormatsModuleRcd_HGCalMappingModuleRcd_h
// -*- C++ -*-
//
// Package: CondFormats/DataRecords
// Class : HGCalMappingModuleRcd
//
/**\class HGCalMappingModuleRcd HGCalMappingModuleRcd.h CondFormats/DataRecords/interface/HGCalMappingModuleRcd.h
Description: [one line class summary]
Usage:
<usage>
*/
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 13 Nov 2023 12:02:11 GMT
//

#include "FWCore/Framework/interface/DependentRecordImplementation.h"
#include "FWCore/Utilities/interface/mplVector.h"
#include "CondFormats/DataRecord/interface/HGCalMappingModuleIndexerRcd.h"

class HGCalMappingModuleRcd
: public edm::eventsetup::DependentRecordImplementation<HGCalMappingModuleRcd,
edm::mpl::Vector<HGCalMappingModuleIndexerRcd> > {};


#endif
25 changes: 25 additions & 0 deletions CondFormats/DataRecord/interface/HGCalMappingSiCellIndexerRcd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#ifndef CondFormatsSiCellIndexerRcd_HGCalMappingSiCellIndexerRcd_h
#define CondFormatsSiCellIndexerRcd_HGCalMappingSiCellIndexerRcd_h
// -*- C++ -*-
//
// Package: CondFormats/DataRecords
// Class : HGCalMappingSiCellIndexerRcd
//
/**\class HGCalMappingSiCellIndexerRcd HGCalMappingSiCellIndexerRcd.h CondFormats/DataRecords/interface/HGCalMappingSiCellIndexerRcd.h
Description: [one line class summary]
Usage:
<usage>
*/
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 13 Nov 2023 12:01:56 GMT
//

#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"

class HGCalMappingSiCellIndexerRcd : public edm::eventsetup::EventSetupRecordImplementation<HGCalMappingSiCellIndexerRcd> {};

#endif
25 changes: 25 additions & 0 deletions CondFormats/DataRecord/interface/HGCalMappingSiPMCellIndexerRcd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#ifndef CondFormatsSiPMCellIndexerRcd_HGCalMappingSiPMCellIndexerRcd_h
#define CondFormatsSiPMCellIndexerRcd_HGCalMappingSiPMCellIndexerRcd_h
// -*- C++ -*-
//
// Package: CondFormats/DataRecords
// Class : HGCalMappingSiPMCellIndexerRcd
//
/**\class HGCalMappingSiPMCellIndexerRcd HGCalMappingSiPMCellIndexerRcd.h CondFormats/DataRecords/interface/HGCalMappingSiPMCellIndexerRcd.h
Description: [one line class summary]
Usage:
<usage>
*/
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 13 Nov 2023 12:01:56 GMT
//

#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"

class HGCalMappingSiPMCellIndexerRcd : public edm::eventsetup::EventSetupRecordImplementation<HGCalMappingSiPMCellIndexerRcd> {};

#endif

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : HGCalCondSerializableConfigRcd
// Class : HGCalMappingModuleIndexerRcd
//
// Implementation:
// [Notes on implementation]
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 29 May 2023 09:13:07 GMT
// Created: Mon, 13 Nov 2023 12:02:11 GMT

#include "CondFormats/DataRecord/interface/HGCalCondSerializableConfigRcd.h"
#include "CondFormats/DataRecord/interface/HGCalMappingModuleIndexerRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"

EVENTSETUP_RECORD_REG(HGCalCondSerializableConfigRcd);
EVENTSETUP_RECORD_REG(HGCalMappingModuleIndexerRcd);
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : HGCalCondSerializablePedestalsRcd
// Class : HGCalMappingModuleRcd
//
// Implementation:
// [Notes on implementation]
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Thu, 01 Jun 2023 09:12:22 GMT
// Created: Mon, 13 Nov 2023 12:02:11 GMT

#include "CondFormats/DataRecord/interface/HGCalCondSerializablePedestalsRcd.h"
#include "CondFormats/DataRecord/interface/HGCalMappingModuleRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"

EVENTSETUP_RECORD_REG(HGCalCondSerializablePedestalsRcd);
EVENTSETUP_RECORD_REG(HGCalMappingModuleRcd);
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : HGCalCondSerializableModuleInfoRcd
// Class : HGCalMappingSiCellIndexerRcd
//
// Implementation:
// [Notes on implementation]
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 29 May 2023 09:14:38 GMT
// Created: Mon, 13 Nov 2023 12:01:56 GMT

#include "CondFormats/DataRecord/interface/HGCalCondSerializableModuleInfoRcd.h"
#include "CondFormats/DataRecord/interface/HGCalMappingSiCellIndexerRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"

EVENTSETUP_RECORD_REG(HGCalCondSerializableModuleInfoRcd);
EVENTSETUP_RECORD_REG(HGCalMappingSiCellIndexerRcd);
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : HGCalCondSerializableSiPMTileInfoRcd
// Class : HGCalMappingSiPMCellIndexerRcd
//
// Implementation:
// [Notes on implementation]
//
// Author: Pedro Vieira De Castro Ferreira Da Silva
// Created: Mon, 29 May 2023 09:14:39 GMT
// Created: Mon, 13 Nov 2023 12:01:56 GMT

#include "CondFormats/DataRecord/interface/HGCalCondSerializableSiPMTileInfoRcd.h"
#include "CondFormats/DataRecord/interface/HGCalMappingSiPMCellIndexerRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"

EVENTSETUP_RECORD_REG(HGCalCondSerializableSiPMTileInfoRcd);
EVENTSETUP_RECORD_REG(HGCalMappingSiPMCellIndexerRcd);
12 changes: 9 additions & 3 deletions CondFormats/HGCalObjects/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<use name="CondFormats/Serialization"/>
<use name="Geometry/HGCalCommonData"/>
<use name="boost_serialization"/>
<use name="DataFormats/HGCalDigi"/>
<use name="DataFormats/Math"/>
<use name="DataFormats/Portable"/>
<use name="DataFormats/SoATemplate"/>
<use name="FWCore/MessageLogger"/>
<use name="FWCore/ParameterSet"/>
<use name="FWCore/Framework"/>
<use name="FWCore/Utilities"/>
<use name="Geometry/HGCalCommonData"/>
<use name="HeterogeneousCore/AlpakaCore"/>
<use name="HeterogeneousCore/AlpakaInterface"/>
<use name="HeterogeneousCore/CUDACore"/>
<use name="boost_serialization"/>
<flags ALPAKA_BACKENDS="1"/>
<export>
<lib name="1"/>
</export>
Loading

0 comments on commit 562856c

Please sign in to comment.