Skip to content

Commit b113a5c

Browse files
author
Markus
committed
addedA7stuff
1 parent 91399d8 commit b113a5c

File tree

4 files changed

+791
-0
lines changed

4 files changed

+791
-0
lines changed

A7LoopBase.C

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#define A7LoopBase_cxx
2+
#include "A7LoopBase.h"
3+
#include <TH2.h>
4+
#include <TStyle.h>
5+
#include <TCanvas.h>
6+
#include <vector>
7+
8+
#include <TF1.h>
9+
#include <TMath.h>
10+
#include <TMatrixF.h>
11+
#include <TVectorF.h>
12+
13+
TFile* A7LoopBase::Loop()
14+
{
15+
TFile* myFile = new TFile(outputFileName,"recreate");
16+
if (fChain == 0) return myFile;
17+
Long64_t nentries = fChain->GetEntriesFast();
18+
19+
20+
21+
Long64_t nbytes = 0, nb = 0;
22+
for (Long64_t jentry=0; jentry<nentries;jentry++) {
23+
24+
Long64_t ientry = LoadTree(jentry);
25+
if (ientry < 0) break;
26+
nb = fChain->GetEntry(jentry); nbytes += nb;
27+
28+
29+
}
30+
31+
32+
33+
return (myFile);
34+
// if (Cut(ientry) < 0) continue;
35+
}
36+
37+
38+
39+

0 commit comments

Comments
 (0)