Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little changes to make things easier for new users. #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
RootInclude= -I ../../ToolDAQ/root/include
RootLib= -L ../../ToolDAQ/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lMathCore -lThread -pthread -lm -ldl -rdynamic -pthread -m64

RootInclude = -I $(shell root-config --incdir)
RootLib = $(shell root-config --libs)
CXX = $(shell root-config --cxx)

all:

g++ -g src/*.cpp UserPlots/*.cpp -o PlotTest -I include -I UserPlots $(RootInclude) $(RootLib)
$(CXX) -g src/*.cpp UserPlots/*.cpp -o PlotTest -I include -I UserPlots $(RootInclude) $(RootLib)

clean:

rm PlotTest
rm PlotTest
2 changes: 1 addition & 1 deletion UserPlots/ExampleEventDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool ExampleEventDisplay::Execute(std::vector<CardData*> *data){

std::stringstream tmp;

tmp<<outpath<<"EventDisplay.jpg";
tmp<<outpath<<"EventDisplay" << std::setfill('0') << std::setw(2) << card << ".png";
canvas->SaveAs(tmp.str().c_str());

}
Expand Down
1 change: 1 addition & 0 deletions UserPlots/ExampleEventDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <string>
#include <iostream>
#include <iomanip>
#include <Plot.h>

#include <TCanvas.h>
Expand Down