Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
cleanup ecal detector map definition
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeichlersmith committed Nov 30, 2021
1 parent 2b13c9e commit 3bb10a8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions include/Ecal/EcalDetectorMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

namespace ecal {

/// The ECal map is between the ECal EID and the ECal DetID
typedef ldmx::TemplatedElectronicsMap<ldmx::EcalElectronicsID,ldmx::EcalID> EcalElectronicsMap;

/** \brief Class which provides various information about how the parts of the Ecal connect to each other.
*
* The class is loaded from three tables, currently in the form of CSV objects, using the EcalDetectorMapLoader.
Expand Down Expand Up @@ -58,7 +55,7 @@ class EcalDetectorMap : public framework::ConditionsObject {
/**
* access the electronics map
*/
const EcalElectronicsMap& emap() const { return emap_; }
const auto& emap() const { return emap_; }

private:
/// import cell map from the provided CSV loader
Expand All @@ -72,7 +69,7 @@ class EcalDetectorMap : public framework::ConditionsObject {
void buildElectronicsMap();

/// the full electronics map
EcalElectronicsMap emap_;
ldmx::ElectronicsMap<ldmx::EcalElectronicsID,ldmx::EcalID> emap_;

/**
* Table of per-module cell information
Expand Down

0 comments on commit 3bb10a8

Please sign in to comment.