1 #ifndef CalibCalorimetry_EcalLaserAnalyzer_MELaserPrim_h 2 #define CalibCalorimetry_EcalLaserAnalyzer_MELaserPrim_h 57 void print(std::ostream &
o);
63 bool setInt(
const char *,
int ix,
int iy,
int ival);
64 bool setVal(
const char *,
int ix,
int iy,
float val);
67 bool setInt(
const char *
tname,
const char *vname,
int ival);
73 Int_t
getInt(
const char *,
int ix,
int iy);
74 Float_t
getVal(
const char *,
int ix,
int iy);
147 std::map<TString, TH2 *>
i_h;
148 std::map<TString, TH2 *>
f_h;
151 std::map<TString, TTree *>
t_t;
152 std::map<TString, int>
i_t;
153 std::map<TString, float>
f_t;
154 std::map<TString, const char *>
c_t;
277 void addBranchI(
const char *t_name,
const char *v_name);
278 void addBranchF(
const char *t_name,
const char *v_name);
279 void addBranchC(
const char *t_name,
const char *v_name);
280 void bookHistoI(
const char *t_name,
const char *v_name);
281 void bookHistoF(
const char *t_name,
const char *v_name);
static const TString apdpn_varName[iSize_apdpn]
Double_t tpapd_APD[iSize_apdpn]
TBranch * b_tppn_moduleID
static const TString separator
TBranch * b_apdpn_apdpn[iSizeArray_apdpn]
static bool getViewIds(int logicId, int &channelView, int &id1, int &id2)
TBranch * b_apdpn_channelID
Double_t pn_PN[iSize_apdpn]
static const TString mtq_varName[iSize_mtq]
Double_t pn_PNoPNB[iSize_apdpn]
TBranch * b_ab_ab[iSize_ab]
Double_t pn_PNoPN[iSize_apdpn]
Int_t getInt(const char *, int ix, int iy)
std::map< TString, TTree * > t_t
bool setVal(const char *, int ix, int iy, float val)
Double_t mtq_mtq[iSize_mtq]
static TString channelViewName(int)
bool fill(const char *tname)
static const TString apdpn_extraVarName[iSizeExtra_apdpn]
MELaserPrim(ME::Header header, ME::Settings settings, const char *inpath, const char *outfile)
Float_t getVal(const char *, int ix, int iy)
void addBranchC(const char *t_name, const char *v_name)
void print(std::ostream &o)
TBranch * b_apdpn_ShapeCor
bool setInt(const char *, int ix, int iy, int ival)
static const TString ab_varName[iSize_ab]
static int logicId(int channelView, int id1, int id2=0)
static const TString mtq_varUnit[iSize_mtq]
TBranch * b_tpapd_towerID
std::map< TString, float > f_t
static TString lmfLaserName(int table, int type, int color=ME::iBlue)
unsigned long long TimeStamp
void addBranchI(const char *t_name, const char *v_name)
TBranch * b_mtq_mtq[iSize_mtq]
Double_t pn_PNoPNA[iSize_apdpn]
static const TString apdpn_extraVarUnit[iSizeExtra_apdpn]
std::map< TString, const char * > c_t
std::map< TString, int > i_t
TBranch * b_tpapd_channelID
std::map< TString, TH2 * > f_h
std::map< TString, TH2 * > i_h
TBranch * b_tpapd_moduleID
std::string tname(const std::string &tableName, const std::string &schemaVersion)
TBranch * b_apdpn_towerID
void addBranchF(const char *t_name, const char *v_name)
void setHistoStyle(TH1 *)
Double_t apdpn_apdpn[iSizeArray_apdpn][iSize_apdpn]
void bookHistoI(const char *t_name, const char *v_name)
Double_t tppn_PN[iSize_apdpn]
static const TString apdpn_arrayName[iSizeArray_apdpn]
static const TString apdpn_varUnit[iSizeArray_apdpn][iSize_apdpn]
TBranch * b_apdpn_moduleID
void bookHistoF(const char *t_name, const char *v_name)