forked from ltikvica/WZanalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.vuko
48 lines (29 loc) · 1.67 KB
/
Makefile.vuko
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#LDFLAGS=`root-config --libs`
#CPPFLAGS= -Wall -Wno-long-long -pthread -DCTHREAD_POSIX -D_THREAD_SAFE -D_REENTRANT -I$(ROOTSYS)/include
CPPFLAGS=`root-config --cflags` -IRooUnfold-1.1.1/src/ -g
#If running in CMSSW42...
#LDFLAGS = -L$(ROOTSYS)/lib -lNew -lRint -lTree -lTreePlayer -lCint -lThread -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMinuit -lPostscript -lProof -lThread -lCore -lGX11 -lPhysics -lGpad -lGui -lTreeViewer -L/usr/X11R6/lib -lm -ldl -L/usr/lib -lpthread -rdynamic
#if running in CMSSW53...
LDFLAGS =$(shell root-config --libs) RooUnfold-1.1.1/libRooUnfold.so
# FOR DATA
#MYCCOPT=-D DATA
# FOR mc
MYCCOPT=
#wzDoGenAnalysisNewAutomatic1: wzDoGenAnalysisNewAutomatic1.C wzTools2.C WZ.C WZEvent.C
# g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
wzAnalysisData: wzAnalysisData.C wzToolsNew.C WZ2012Data.C
g++ -D DATA $(CPPFLAGS) $(LDFLAGS) -o $@ $^
wzAnalysisMC: wzAnalysisMC.C wzToolsNew.C WZ.C WZEvent.C
g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
wzMCSignalAnalysis: wzMCSignalAnalysis.C wzToolsNew.C WZ.C WZGenEvent.C WZEvent.C UnfoldingAnalysis.C UnfoldingAnalysis.h
g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
wzMCUnfoldingAnalysis: wzMCUnfoldingAnalysis.C wzToolsNew.C WZGenEvent.C WZEvent.C UnfoldingAnalysis.C WZAnalysis.C UnfoldingAnalysis.h UnfoldingHistogramFactory.C
g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
wzExampleAnalysis: wzExampleAnalysis.C wzToolsNew.C WZGenEvent.C WZEvent.C WZAnalysis.C
g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
unfold: unfold.C
g++ $(CPPFLAGS) $(LDFLAGS) -o $@ $^
#test: test.C wzTools2.C WZ2012Data.C
# g++ -D DATA $(CPPFLAGS) $(LDFLAGS) -o $@ $^
#wzMatrixMethod: wzMatrixMethod.C wzTools2.C WZ2012Data.C
# g++ -D DATA $(CPPFLAGS) $(LDFLAGS) -o $@ $^