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