Skip to content

Instantly share code, notes, and snippets.

@agenel
agenel / cpp
Created March 26, 2017 20:42
root example
#include "TRandom3.h"
#include "TH1F.h" //INCLUDE ROOT HEADER FILES
#include "TLorentzVector.h" // WE WILL USE
#include "TCanvas.h"
double v1px, v1e; //DECLARE VECTOR COMPONENTS
double v2pz, v2e;
void TLV()
{