ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/tschum/FWlite_Analysis/start.C
Revision: 1.4
Committed: Thu Dec 3 22:29:16 2009 UTC (15 years, 5 months ago) by tschum
Content type: text/plain
Branch: MAIN
Changes since 1.3: +4 -3 lines
Log Message:
possible init from text file

File Contents

# User Rev Content
1 tschum 1.1 {
2     gROOT->ProcessLine(".L PlotTool.cc+");
3     PlotTool p;
4 tschum 1.2
5     p.addTrackJets = 0;
6    
7 tschum 1.4 // p.init("","dcap://dcache-ses-cms.desy.de//pnfs/desy.de/cms/tier2/store/data/BeamCommissioning09/MinimumBias/RECO/rereco_FIRSTCOLL_v1/0083/","Events","FIRSTCOLL");
8     p.init("goldenRun.txt","dcap://dcache-ses-cms.desy.de//pnfs/desy.de/cms/tier2","Events","FIRSTCOLL");
9 tschum 1.1
10     vector<string> vars;
11 tschum 1.3 vector<string> cuts;
12 tschum 1.1
13 tschum 1.2 vars.push_back("EventAuxiliary.run()");
14     vars.push_back("EventAuxiliary.isRealData()");
15     vars.push_back("EventAuxiliary.bunchCrossing()");
16     vars.push_back("EventAuxiliary.orbitNumber()");
17     vars.push_back("EventAuxiliary.storeNumber()");
18     vars.push_back("EventAuxiliary.event()");
19     vars.push_back("EventAuxiliary.experimentType()");
20     vars.push_back("EventAuxiliary.luminosityBlock()");
21 tschum 1.1
22 tschum 1.3 cuts.push_back("");
23 tschum 1.4 // cuts.push_back("EventAuxiliary.run()==122294");
24     // cuts.push_back("EventAuxiliary.run()==122314");
25 tschum 1.3
26 tschum 1.2 p.samePad_trees = false;
27     p.sameCanv_vars = true;
28 tschum 1.1
29 tschum 1.3 p.loop(vars,cuts);
30 tschum 1.1
31 tschum 1.3 p.saveCanvases();
32 tschum 1.1
33     }