TrdMCClusterR Fit Classifier
Namespaces | Functions
EventGeneratorTRD.h File Reference
#include <TH1F.h>
#include <TROOT.h>
#include <TError.h>
#include <TCanvas.h>
#include <TProfile.h>
#include <TRandom3.h>
#include "AMSTrdMCTrack.h"
#include "EventGenTRDConsts.h"
#include <cmath>
#include <vector>
#include <iostream>
Include dependency graph for EventGeneratorTRD.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 EventGeneratorTRD
 

Functions

std::vector< AMSTrdMCTrack::TrackEventGeneratorTRD::GenerateTRDEvent (const TH1F *hFittedTRDtrksinMC, const bool &debugMode=false, const double &SIGMA_TRACK_CLUSTERS=1)
 
std::vector< int > EventGeneratorTRD::EstimateLayerLadderTube (double x, double y, double z, const bool debugMode=false)
 
double EventGeneratorTRD::GetRandomSampledEdep (const TH1F *hTRDEkinMaxZPrMC, const TH2F *h2D_TRDEkinMaxZPrMC_Edep, const bool debugMode=false)
 
double EventGeneratorTRD::generateNearEdge (double min, double max, TRandom3 &r3)
 
AMSTrdMCTrack::Cluster EventGeneratorTRD::GenerateClusterNearTRDEdge (TRandom3 &r3)
 
AMSTrdMCTrack::Cluster EventGeneratorTRD::GenerateClusterAtMinDistance (const AMSTrdMCTrack::Cluster &P0, TRandom3 &r3)
 
AMSTrdMCTrack::Cluster EventGeneratorTRD::GenerateClusterOppositeP0 (const AMSTrdMCTrack::Cluster &P0, TRandom3 &r3)
 
std::vector< AMSTrdMCTrack::TRDTrackEventGeneratorTRD::GenerateTRDEvent (const TH1F *hTRDEkinMaxZPrMC, const TH2F *h2D_TRDEkinMaxZPrMC_Edep, const TH2F *h2D_TRDMap_XZ, const TH2F *h2D_TRDMap_YZ, const TH2F *h2D_TRDMap_XY, const int nFakeTracksPerEvent=1, const bool debugMode=false, TH1D *hQA_nAttemptsPerFakeEvent=NULL, TH2D *hQA_FakeAngleVSLength=NULL, double SIGMA_TRACK_CLUSTERS=0.001)
 
TH2F * EventGeneratorTRD::GetModuleHistogramFakeTracks (const std::vector< AMSTrdMCTrack::TRDTrack > &fake_tracks, const bool debugMode=false, TH2F *hTRDEventMap_XZ=NULL, TH2F *hTRDEventMap_YZ=NULL)
 Function to process fake tracks and return a filled histogram. More...