ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/src/applySelection.cc
(Generate patch)

Comparing UserCode/MitHzz4l/Selection/src/applySelection.cc (file contents):
Revision 1.5 by dkralph, Wed Oct 12 17:25:15 2011 UTC vs.
Revision 1.6 by khahn, Thu Oct 13 14:18:55 2011 UTC

# Line 97 | Line 97 | int main(int argc, char** argv)
97    //--------------------------------------------------------------------------------------------------------------
98    TH1F * h_evt = new TH1F("hevt", "hevt", 2, 0, 2 );
99    TH1F * h_evtfail = new TH1F("hevtfail", "hevtfail", 1024, 0, 1024 );
100 <  TNtuple * passtuple = new TNtuple( "passtuple", "passtuple", "run:evt:lumi:channel:mZ1:mZ2:m4l:pt4l:w" );
100 >  //  TNtuple * passtuple = new TNtuple( "passtuple", "passtuple", "run:evt:lumi:channel:mZ1:mZ2:m4l:pt4l:w" );
101 >  TTree * passtuple = new TTree("passtuple", "passtuple" );
102 >  unsigned run, evt, lumi, channel;
103 >  float mZ1, mZ2, m4l, pt4l, w;
104 >  passtuple->Branch("run", &run);
105 >  passtuple->Branch("evt", &evt);
106 >  passtuple->Branch("lumi", &lumi);
107 >  passtuple->Branch("mZ1", &mZ1);
108 >  passtuple->Branch("mZ2", &mZ2);
109 >  passtuple->Branch("m4l", &m4l);
110 >  passtuple->Branch("pt4l", &pt4l);
111 >  passtuple->Branch("w", &w);
112    initCiCSelection();
113    if(ctrl.eleSele=="lik") initLikSelection();
114    if(ctrl.eleSele=="bdt") initBDTSelection();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines