FairRoot/PandaRoot
|
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <vector>
#include <iostream>
#include "MC4Vector.H"
#include "HEPParticle.H"
#include "TH1.h"
#include "Setup.H"
#include "TObjArray.h"
#include "TMath.h"
Go to the source code of this file.
Functions | |
void | fillUserHisto (char *name, double val, double weight=1.0, double min=Setup::bin_min[0][0], double max=Setup::bin_max[0][0]) |
double | normalised_cross_product (double *v1, double *v2, double *result) |
double | dot_product (double *v1, double *v2) |
double | dot_product (MC4Vector v1, MC4Vector v2) |
double | magnitude (double *v) |
int | RhoRhoPHOTOSUserTreeAnalysis (HEPParticle *mother, HEPParticleList *stableDaughters, int nparams, double *params) |
Variables | |
int | L [6] = { 5000000,5000000,2000000,2000000,1000000,1000000 } |
double dot_product | ( | double * | v1, |
double * | v2 | ||
) |
Definition at line 49 of file RhoRhoPHOTOSUserTreeAnalysis.C.
Referenced by magnitude(), and RhoRhoPHOTOSUserTreeAnalysis().
double dot_product | ( | MC4Vector | v1, |
MC4Vector | v2 | ||
) |
Definition at line 54 of file RhoRhoPHOTOSUserTreeAnalysis.C.
|
inline |
Definition at line 19 of file RhoRhoPHOTOSUserTreeAnalysis.C.
References h, max(), min(), and nbins.
Referenced by RhoRhoPHOTOSUserTreeAnalysis().
double magnitude | ( | double * | v | ) |
Definition at line 59 of file RhoRhoPHOTOSUserTreeAnalysis.C.
References dot_product(), and sqrt().
Referenced by RhoRhoPHOTOSUserTreeAnalysis().
double normalised_cross_product | ( | double * | v1, |
double * | v2, | ||
double * | result | ||
) |
Definition at line 33 of file RhoRhoPHOTOSUserTreeAnalysis.C.
Referenced by RhoRhoPHOTOSUserTreeAnalysis().
int RhoRhoPHOTOSUserTreeAnalysis | ( | HEPParticle * | mother, |
HEPParticleList * | stableDaughters, | ||
int | nparams, | ||
double * | params | ||
) |
Main function. This does not take any parameters. It assumes the events are something -> tau+ tau-, then tau -> pi+/- pi0 nu
Definition at line 68 of file RhoRhoPHOTOSUserTreeAnalysis.C.
References acos(), dot_product(), fillUserHisto(), L, magnitude(), name, normalised_cross_product(), sqrt(), and theta.
int L[6] = { 5000000,5000000,2000000,2000000,1000000,1000000 } |
Definition at line 16 of file RhoRhoPHOTOSUserTreeAnalysis.C.
Referenced by PndTrkPlotMacros::disegnaSciTilHit(), PndTrkPlotMacros2::disegnaSciTilHit(), PndSttTrackFinderReal::disegnaSciTilHit(), HypStatDecay::GetAZH(), PndSciTAnaIdeal::GetChargeIon(), PndHypIdealPRTask::GetChargeIon(), PndHypDPatternRecoTask::GetChargeIon(), PndHypSimpleAna::GetIonCharge(), PndHypFullAna::GetIonCharge(), PndHypFullIdealAna::GetIonCharge(), muon_barrel_strip_5bis(), mzboost(), RhoCalculationTools::P6FromTrajectory(), RhoRhoPHOTOSUserTreeAnalysis(), and RhoCalculationTools::TransportToZ().