9 #ifndef LArSamples_LArIdTranslatorHelper_H
10 #define LArSamples_LArIdTranslatorHelper_H
17 #include "RtypesCore.h"
39 ULong64_t onlid,offlid,
ttid;
45 int GetPartitionLayerIndex(
const int partition,
const int layer)
const;
46 bool FindChannel(
const int index,
float eta,
float phi);
47 bool LoadIdTranslator(
const TString&
file);
50 TCanvas* CaloPartitionLayerDisplay(TH1**
h,
const Char_t*
title=
"",
bool kLogz=
true);
51 TH2* GetCaloPartitionLayerMap(
const int index,
bool kProfile=
false);
52 const Char_t* GetPartitonLayerName(
const int index);
53 void MakeTranslatorMapping(
const char* inputtreefile,
const char* inputhistfile,
const int run);
54 bool IsHVLine(
const int hvline)
const;
56 Int_t
GetNpl(){
return m_nPartitionLayers; }
58 TTree*
Tree() {
return m_tree; }
68 Char_t m_namebuf[128]{};