ROOTPWA
Functions
sampleWeightedEvts.C File Reference
#include "TTree.h"
#include "TLorentzVector.h"
#include "TVector3.h"
#include "TLorentzRotation.h"
#include "TH1D.h"
#include "TClonesArray.h"
#include "TROOT.h"
#include "TMath.h"
#include "TRandom3.h"
#include "TCanvas.h"
#include <iostream>
#include <fstream>
#include <vector>
#include "NParticleEvent.h"

Go to the source code of this file.

Functions

void sampleWeightedEvents (TTree *mctr, string outputfile, unsigned int n, bool doweight=true)

Function Documentation

void sampleWeightedEvents ( TTree *  mctr,
string  outputfile,
unsigned int  n,
bool  doweight = true 
)

Definition at line 20 of file sampleWeightedEvts.C.

References i, p, and q().