Skip to content
Snippets Groups Projects

Add t in dvmp; add a place holder for InvQuant in REC

Merged Ziyue Zhang requested to merge ziyue_work_branch into master
1 file
+ 24
24
Compare changes
  • Side-by-side
  • Inline
@@ -119,16 +119,16 @@ int vm_invar(const std::string& config_name)
@@ -119,16 +119,16 @@ int vm_invar(const std::string& config_name)
hnu.DrawClone("hist");
hnu.DrawClone("hist");
// FIXME hardcoded beam configuration
// FIXME hardcoded beam configuration
plot::draw_label(10, 100, detector);
plot::draw_label(10, 100, detector);
TText* tptr21;
TText* tptr1;
auto t21 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
auto t1 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
t21->SetFillColorAlpha(kWhite, 0);
t1->SetFillColorAlpha(kWhite, 0);
t21->SetTextFont(43);
t1->SetTextFont(43);
t21->SetTextSize(25);
t1->SetTextSize(25);
tptr21 = t21->AddText("simulated");
tptr1 = t1->AddText("simulated");
tptr21->SetTextColor(plot::kMpBlue);
tptr1->SetTextColor(plot::kMpBlue);
// tptr1 = t1->AddText("reconstructed");
// tptr1 = t1->AddText("reconstructed");
// tptr1->SetTextColor(plot::kMpOrange);
// tptr1->SetTextColor(plot::kMpOrange);
t21->Draw();
t1->Draw();
// pad 2 Q2
// pad 2 Q2
c.cd(2);
c.cd(2);
@@ -144,16 +144,16 @@ int vm_invar(const std::string& config_name)
@@ -144,16 +144,16 @@ int vm_invar(const std::string& config_name)
hQ2.DrawClone("hist");
hQ2.DrawClone("hist");
// FIXME hardcoded beam configuration
// FIXME hardcoded beam configuration
plot::draw_label(10, 100, detector);
plot::draw_label(10, 100, detector);
TText* tptr22;
TText* tptr2;
auto t22 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
auto t2 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
t22->SetFillColorAlpha(kWhite, 0);
t2->SetFillColorAlpha(kWhite, 0);
t22->SetTextFont(43);
t2->SetTextFont(43);
t22->SetTextSize(25);
t2->SetTextSize(25);
tptr22 = t22->AddText("simulated");
tptr2 = t2->AddText("simulated");
tptr22->SetTextColor(plot::kMpBlue);
tptr2->SetTextColor(plot::kMpBlue);
// tptr1 = t1->AddText("reconstructed");
// tptr1 = t1->AddText("reconstructed");
// tptr1->SetTextColor(plot::kMpOrange);
// tptr1->SetTextColor(plot::kMpOrange);
t22->Draw();
t2->Draw();
// pad 3 x
// pad 3 x
c.cd(3);
c.cd(3);
@@ -169,16 +169,16 @@ int vm_invar(const std::string& config_name)
@@ -169,16 +169,16 @@ int vm_invar(const std::string& config_name)
hx.DrawClone("hist");
hx.DrawClone("hist");
// FIXME hardcoded beam configuration
// FIXME hardcoded beam configuration
plot::draw_label(10, 100, detector);
plot::draw_label(10, 100, detector);
TText* tptr23;
TText* tptr3;
auto t23 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
auto t3 = new TPaveText(.6, .8417, .9, .925, "NB NDC");
t23->SetFillColorAlpha(kWhite, 0);
t3->SetFillColorAlpha(kWhite, 0);
t23->SetTextFont(43);
t3->SetTextFont(43);
t23->SetTextSize(25);
t3->SetTextSize(25);
tptr23 = t23->AddText("simulated");
tptr3 = t3->AddText("simulated");
tptr23->SetTextColor(plot::kMpBlue);
tptr3->SetTextColor(plot::kMpBlue);
// tptr1 = t1->AddText("reconstructed");
// tptr1 = t1->AddText("reconstructed");
// tptr1->SetTextColor(plot::kMpOrange);
// tptr1->SetTextColor(plot::kMpOrange);
t23->Draw();
t3->Draw();
// pad 3 x
// pad 3 x
c.cd(4);
c.cd(4);
Loading