Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef CalibTracker_SiStripChannelGain_SiStripDetInfoFileReader_h
#define CalibTracker_SiStripChannelGain_SiStripDetInfoFileReader_h

#include <string>
#include "CalibFormats/SiStripObjects/interface/SiStripDetInfo.h"

namespace SiStripDetInfoFileReader {
  using DetInfo = SiStripDetInfo::DetInfo;

  constexpr static char const* const kDefaultFile = "CalibTracker/SiStripCommon/data/SiStripDetInfo.dat";

  /**
   * Read SiStrip detector info from a file
   */
  SiStripDetInfo read(std::string filePath);
};  // namespace SiStripDetInfoFileReader

#endif