Skip to content

Commit

Permalink
CorrPlotsforCMTforRun3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhokin2 committed Jan 31, 2023
1 parent 9cb5dd1 commit 0b40de0
Show file tree
Hide file tree
Showing 29 changed files with 7,171 additions and 167 deletions.
6 changes: 5 additions & 1 deletion DPGAnalysis/HcalTools/README
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
use
setenv SCRAM_ARCH slc7_amd64_gcc900
##setenv SCRAM_ARCH slc7_amd64_gcc900

setenv SCRAM_ARCH ec8_amd64_gcc11
cmsenv
voms-proxy-init -voms cms -rfc

31 changes: 23 additions & 8 deletions DPGAnalysis/HcalTools/macros/cmt/RemoteMonitoringGLOBAL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3500,16 +3500,29 @@ int main(int argc, char *argv[]) {
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// RBX study:
//////////////////////////////////////////////////////////////////////////////////////////////////////// RBX study:
//////////////////////////////////////////////////////////////////////////////////// RBX study:
int MaxLum000000 = 0;
MaxLum000000 = MaxLum;

cout << " RBX analysis START for **************************" << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;
// int njeta = 22; int njphi = 18; int lsmax=2600;
int njeta = 22;
int njphi = 18;
int lsmax = 1800;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> int njeta = 22; int njphi = 18; int lsmax=1800; "
<< endl;
int lsmax0 = 1850;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> int njeta = 22; int njphi = 18; int lsmax0=1850; MaxLum = " << MaxLum << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;

if (MaxLum > lsmax0) {
MaxLum = lsmax0;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;
cout << "*********************************** EXCEEDED limit for MaxLum, it's bigger lsmax0. So we do limit "
"MaxLum = lsmax0 "
<< endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;
}

int lsmax = MaxLum;
//if (lsmax > 1800) lsmax = 1800;
double alexall[njeta][njphi][lsmax];

// for phi tables(!):
Expand All @@ -3524,12 +3537,13 @@ int main(int argc, char *argv[]) {
double blexho[njeta][lsmax];
double blexhf[njeta][lsmax];

cout << ">>>>>>>>>>>>>>>>>>>>>>>> alexall [njeta][njphi][lsmax]; " << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> For massive:alexall AND for eta and phi tables:::: " << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> alex... [njeta][njphi][lsmax]; lsmax = MaxLum; " << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> alex... BUT, Max of lsmax = 1800 " << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;
int maxbinsRBX = MaxLum;
int nx = maxbinsRBX; // # LS
cout << ">>>>>>>>>>>>>>>>>>>>>>>> maxbinsRBX = MaxLum; " << endl;
if (MaxLum > lsmax)
cout << "*********************************** ERROR ERROR ERROR ERROR: MaxLum > 1800 " << endl;
cout << ">>>>>>>>>>>>>>>>>>>>>>>> " << endl;

for (int i = 0; i < nx; i++) {
Expand Down Expand Up @@ -7516,7 +7530,8 @@ HF: j = 0,1,2, 3 18,19,20,21
htmlFile << "</tr>" << std::endl;

ind = 0;
for (int i = 1; i <= MaxLum; i++) {
// for (int i = 1; i <= MaxLum; i++) {
for (int i = 1; i <= MaxLum000000; i++) {
if ((ind % 2) == 1)
raw_class = "<td class=\"s2\" align=\"center\">";
else
Expand Down Expand Up @@ -8613,7 +8628,7 @@ HF: j = 0,1,2, 3 18,19,20,21
htmlFile << "<br>" << std::endl;

// htmlFile << "<h2> 1. General information </h2>"<< std::endl;
htmlFile << "<h2> 1. General information (Full number of LS = " << MaxLum << " ). </h2>" << std::endl;
htmlFile << "<h2> 1. General information (Full number of LS = " << MaxLum000000 << " ). </h2>" << std::endl;
htmlFile << " <img src=\"LumiEvent.png\" />" << std::endl;
htmlFile << "<br>" << std::endl;

Expand Down
Loading

0 comments on commit 0b40de0

Please sign in to comment.