Definition at line 18 of file MEGeom.h.
TH2 * MEGeom::getHist |
( |
int |
ilmr, |
|
|
int |
unit |
|
) |
| |
|
static |
Definition at line 34 of file MEGeom.cc.
References assert(), gather_cfg::cout, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEEM, ME::iEEP, ME::iElectronicChannel, ME::iHVChannel, ME::iLMModule, ME::iLMRegion, ME::iLVChannel, ME::iSector, ecalpyutils::ism(), ME::iSuperCrystal, ME::regionAndSector(), reco_application_2006_simpleTBanalysis_cfg::rootfile, MEEBGeom::smName(), and MEEEGeom::smName().
42 std::cout <<
"LM region=" << ilmr <<
" reg/sm/dcc/side " << ireg <<
"/" << ism <<
"/" << idcc <<
"/" << side << std::endl;
44 TString hname =
"LMR="; hname += ilmr; hname +=
" ";
57 hname +=
"DCC="; hname += idcc; hname +=
"/" ; hname += side;
67 rootfile = TFile::Open(
"ebgeom.root");
88 rootfile = TFile::Open(
"eegeom_1.root");
92 hn_=
"eem_S"; hn_+= isect;
106 h_->SetTitle( hname );
107 h_->GetXaxis()->SetTitle(
"ix");
108 h_->GetXaxis()->CenterTitle();
109 h_->GetYaxis()->SetTitle(
"iy");
110 h_->GetYaxis()->CenterTitle();
static void regionAndSector(int ilmr, int &ireg, int &isect, int &idcc, int &iside)
static TString smName(int ism)
static TString smName(int ism)
int ism(int ieta, int iphi)