FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
tsim | SetBranchAddress ("MCTrack",&mctrack_array) |
tsim | SetBranchAddress ("EmcPoint",&point_array) |
cout<< "POINTs for new FwEndCap == "<< tsim-> | GetEntriesFast () |
c1 | Divide (3, 3) |
gStyle | SetPalette (1) |
c1 | cd (1) |
hrow_crystal_p | Draw ("colz") |
hrow_crystal_p | GetXaxis () -> SetTitle("crystal number") |
hrow_crystal_p | GetYaxis () -> SetTitle("row number") |
c1 | cd (2) |
c1 | cd (3) |
copies | SetTextSize (0.05) |
copies | SetFillColor (0) |
copies | SetBorderSize (0) |
copies | AddEntry (hz_p,"All copies","l") |
copies | AddEntry (hz_cp1_p,"copy_1","l") |
copies | AddEntry (hz_cp2_p,"copy_2","l") |
copies | AddEntry (hz_cp3_p,"copy_3","l") |
copies | AddEntry (hz_cp4_p,"copy_4","l") |
hz_p | Draw () |
hz_cp1_p | SetLineColor (2) |
hz_cp1_p | Draw ("same") |
hz_cp2_p | SetLineColor (3) |
hz_cp3_p | SetLineColor (4) |
hz_cp4_p | SetLineColor (6) |
c1 | Modified () |
c1 | cd (4) |
h10d | SetLineColor (1) |
c1 | cd (5) |
c1 | cd (6) |
c1 | cd (7) |
c1 | cd (8) |
c1 | cd (9) |
c2 | Update () |
c3a | Divide (2, 2) |
Variables | |
TFile * | fsim = new TFile("data/fixed/sim_emc_g3_m3_1000eve_fixed.root") |
TTree * | tsim =(TTree *) fsim->Get("pndsim") |
TClonesArray * | mctrack_array =new TClonesArray("PndMCTrack") |
TClonesArray * | point_array =new TClonesArray("PndEmcPoint") |
PndEmcMapper * | emcMap =PndEmcMapper::Instance(2) |
Double_t | theta_mc |
Double_t | phi_mc |
Double_t | ene_mc |
Double_t | point_ene |
Double_t | point_theta |
Double_t | point_phi |
Double_t | x_p |
Double_t | y_p |
Double_t | z_p |
Double_t | module_p |
Double_t | crystal_p |
Double_t | row_p |
Double_t | copy_p |
Double_t | crystal_pid |
Double_t | row_pid |
Double_t | hit_ene |
Double_t | hit_theta |
Double_t | hit_phi |
Double_t | hit_id |
Double_t | hit_x |
Double_t | hit_y |
Double_t | z_cp1_p |
Double_t | z_cp2_p |
Double_t | z_cp3_p |
Double_t | z_cp4_p |
Int_t | id_p |
TVector3 | photon_momentum |
TLorentzVector | phot |
int | ndigi |
int | npoint |
double | max_energy1 =0 |
TH2F * | hrow_crystal_p = new TH2F("row_crystal","row vs crystal (POINT)",72,-36,36,72,-36,36) |
TH2F * | hx_y_p = new TH2F("x_y_p","x vs y (POINT)",200,-100,100,200,-100,100) |
TH1F * | hid_p = new TH1F("id_p","id (POINT)",140000000,300000000,340000000) |
TH1F * | hx_p = new TH1F("x_p","X (POINT)",100,-100,100) |
TH1F * | hy_p = new TH1F("y_p","Y (POINT)",100,-100,100) |
TH1F * | hz_p = new TH1F("z_p","Z (POINT)",100,200,300) |
TH1F * | hmodule_p = new TH1F("module_p","Module (POINT)",5,1,6) |
TH2F * | hcp_z_p = new TH2F("cp_z_p","Copy vs.Z pos (POINT)",4,1,5,80,200,240) |
TH1F * | hz_cp1_p = new TH1F("z_cp1_p","z (POINT)",300,1,300) |
TH1F * | hz_cp2_p = new TH1F("z_cp2_p","z (POINT)",300,1,300) |
TH1F * | hz_cp3_p = new TH1F("z_cp3_p","z (POINT)",300,1,300) |
TH1F * | hz_cp4_p = new TH1F("z_cp4_p","z (POINT)",300,1,300) |
TH2F * | hxpad_x_p = new TH2F("xpad_x_p","x vs xpad (POINT)",200,-100,100,200,-100,100) |
TH2F * | hypad_y_p = new TH2F("ypad_y_p","y vs ypad (POINT)",200,-100,100,200,-100,100) |
TH2F * | hxpad_x_cp1_p = new TH2F("xpad_x_cp1_p","x vs xpad _cp1_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hxpad_x_cp2_p = new TH2F("xpad_x_cp2_p","x vs xpad _cp2_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hxpad_x_cp3_p = new TH2F("xpad_x_cp3_p","x vs xpad _cp3_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hxpad_x_cp4_p = new TH2F("xpad_x_cp4_p","x vs xpad _cp4_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hypad_y_cp1_p = new TH2F("ypad_y_cp1_p","y vs ypad _cp1_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hypad_y_cp2_p = new TH2F("ypad_y_cp2_p","y vs ypad _cp2_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hypad_y_cp3_p = new TH2F("ypad_y_cp3_p","y vs ypad _cp3_ (POINT)",200,-100,100,200,-100,100) |
TH2F * | hypad_y_cp4_p = new TH2F("ypad_y_cp4_p","y vs ypad _cp4_ (POINT)",200,-100,100,200,-100,100) |
TH1F * | hene_mc = new TH1F("hene_mc","MC energy (GeV)",100,0.0,1.05) |
TH1F * | hene_p = new TH1F("hene_p","DATA energy (GeV)",1000,0.0,0.1) |
TH1F * | hpoi_ene = new TH1F("hpoi_ene","SUM of Points energy (GeV)",100,0.0,1.05) |
TH1F * | hhit_ene = new TH1F("hhit_ene","SUM of Hits energy (GeV)",100,0.0,1.05) |
TH1F * | h10 = new TH1F("h10","POINT Theta (MC)",180,0.,180.) |
TH1F * | h20 = new TH1F("h20","POINT Phi (MC)",360,-180.,180.) |
TH1F * | h10d = new TH1F("h10d","POINT Theta (data)",180,0.,180.) |
TH1F * | h20d = new TH1F("h20d","POINT Phi (data)",360,-180.,180.) |
TH1F * | h1 = new TH1F("h1","POINT Theta difference",100,-5.,5.) |
TH1F * | h2 = new TH1F("h2","POINT Phi difference",100,-5.,5.) |
TH1F * | h1a = new TH1F("h1a","POINT Theta difference -changed id ",100,-5.,5.) |
TH1F * | h2a = new TH1F("h2a","POINT Phi difference - changed id",100,-5.,5.) |
TH1F * | h3 = new TH1F("h3","HIT Theta difference",100,-5.,5.) |
TH1F * | h4 = new TH1F("h4","HIT Phi difference",100,-5.,5.) |
TH1F * | h3a = new TH1F("h3a","HIT Theta difference -changed id",100,-5.,5.) |
TH1F * | h4a = new TH1F("h4a","HIT Phi difference -changed id",100,-5.,5.) |
TCanvas * | c1 = new TCanvas("c1", "", 100, 100, 800, 800) |
TLegend * | copies = new TLegend(0.60,0.50,0.85,0.85) |
TCanvas * | c2 = new TCanvas("c2", "", 100, 100, 800, 800) |
TCanvas * | c3a = new TCanvas("c3a", "", 100, 100, 800, 800) |
TCanvas * | c3b = new TCanvas("c3b", "", 100, 100, 800, 800) |
c1 cd | ( | 1 | ) |
c1 cd | ( | 2 | ) |
c1 cd | ( | 3 | ) |
c1 cd | ( | 4 | ) |
c1 cd | ( | 5 | ) |
c1 cd | ( | 6 | ) |
myCan4 cd | ( | 7 | ) |
myCan4 cd | ( | 8 | ) |
c1 cd | ( | 9 | ) |
c2 Divide | ( | 3 | , |
3 | |||
) |
c3a Divide | ( | 2 | , |
2 | |||
) |
h5 Draw | ( | "colz" | ) |
hz_p Draw | ( | ) |
Definition at line 64 of file NHitsPerEvent.C.
hz_cp1_p Draw | ( | "same" | ) |
cout<< "POINTs for new FwEndCap == " << tsim-> GetEntriesFast | ( | ) |
Definition at line 90 of file anal_point_fwendcap.C.
References PndEmcPoint::GetCopy(), PndEmcPoint::GetCrystal(), PndEmcPoint::GetModule(), PndMCTrack::GetMomentum(), PndEmcPoint::GetRow(), PndEmcPoint::GetXPad(), PndEmcPoint::GetYPad(), i, mctrack, npoints, Pi, point, point_ene, x_p, and y_p.
Referenced by anaRadLength(), PndPidCorrelator::ConstructChargedCandidate(), PndSttTrackFinderReal::DoFind(), PndSttTrackFinderIdeal::DoFind(), PndKFParticleFinderQA::Exec(), PndFtsDataAccessor::Exec(), PndSolCorrTask::Exec(), PndFtsCATracking::Exec(), PndFtsTrackerIdeal::Exec(), PndCATracking::Exec(), PndSimpleAnalysis::FillGenericLists(), PndMvdSttGemRiemannTrackFinderTask::FillHitArray(), PndMvdRiemannTrackFinderTask::FillHitArray(), PndAnaTask::FillList(), PndBranchBurstBuilder_timeCut_STB::GetBurstData(), PndTrkNeighboringMap::GetCandseeds(), PndSttMatchTracks::GetHitFromCollections(), PndSttTrackFinderIdeal::GetHitFromCollections(), PndSttHelixTrackFitter::GetHitFromCollections(), PndSttTrackFinderReal::GetHitFromCollections(), PndTrkNeighboringMap::GetIndivisiblesToHit(), PndTrkNeighboringMap::GetNeighboringsToHit(), PndSttMatchTracks::GetPointFromCollections(), PndSttTrackFinderIdeal::GetPointFromCollections(), PndSttTrackFinderReal::GetPointFromCollections(), PndDrcAccuDigiPixelDraw::ReadAllHits(), and GFTrack::setCardinalRep().
hrow_crystal_p GetXaxis | ( | ) | -> SetTitle("crystal number") |
Definition at line 653 of file anal_hit_digi_cluster_fwendcap.C.
hrow_crystal_p GetYaxis | ( | ) | -> SetTitle("row number") |
Definition at line 131 of file macro/detectors/emc/dedicated/reco_analys.C.
gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
c1 Modified | ( | ) |
copies SetBorderSize | ( | 0 | ) |
tsim SetBranchAddress | ( | "MCTrack" | , |
& | mctrack_array | ||
) |
tsim SetBranchAddress | ( | "EmcPoint" | , |
& | point_array | ||
) |
copies SetFillColor | ( | 0 | ) |
hz_cp1_p SetLineColor | ( | 2 | ) |
hz_cp2_p SetLineColor | ( | 3 | ) |
hz_cp3_p SetLineColor | ( | 4 | ) |
hz_cp4_p SetLineColor | ( | 6 | ) |
h4p SetLineColor | ( | 1 | ) |
gStyle SetPalette | ( | 1 | ) |
copies SetTextSize | ( | 0. | 05 | ) |
c2 Update | ( | ) |
TCanvas* c1 = new TCanvas("c1", "", 100, 100, 800, 800) |
Definition at line 186 of file anal_point_fwendcap.C.
TCanvas* c2 = new TCanvas("c2", "", 100, 100, 800, 800) |
Definition at line 269 of file anal_point_fwendcap.C.
TCanvas* c3a = new TCanvas("c3a", "", 100, 100, 800, 800) |
Definition at line 294 of file anal_point_fwendcap.C.
TCanvas* c3b = new TCanvas("c3b", "", 100, 100, 800, 800) |
Definition at line 319 of file anal_point_fwendcap.C.
TLegend* copies = new TLegend(0.60,0.50,0.85,0.85) |
Definition at line 202 of file anal_point_fwendcap.C.
Double_t copy_p |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t crystal_p |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t crystal_pid |
Definition at line 21 of file anal_point_fwendcap.C.
PndEmcMapper* emcMap =PndEmcMapper::Instance(2) |
Definition at line 17 of file anal_point_fwendcap.C.
Double_t ene_mc |
Definition at line 20 of file anal_point_fwendcap.C.
TFile* fsim = new TFile("data/fixed/sim_emc_g3_m3_1000eve_fixed.root") |
Definition at line 8 of file anal_point_fwendcap.C.
TH1F* h1 = new TH1F("h1","POINT Theta difference",100,-5.,5.) |
Definition at line 77 of file anal_point_fwendcap.C.
TH1F* h10 = new TH1F("h10","POINT Theta (MC)",180,0.,180.) |
Definition at line 72 of file anal_point_fwendcap.C.
TH1F* h10d = new TH1F("h10d","POINT Theta (data)",180,0.,180.) |
Definition at line 74 of file anal_point_fwendcap.C.
TH1F* h1a = new TH1F("h1a","POINT Theta difference -changed id ",100,-5.,5.) |
Definition at line 80 of file anal_point_fwendcap.C.
TH1F* h2 = new TH1F("h2","POINT Phi difference",100,-5.,5.) |
Definition at line 78 of file anal_point_fwendcap.C.
TH1F* h20 = new TH1F("h20","POINT Phi (MC)",360,-180.,180.) |
Definition at line 73 of file anal_point_fwendcap.C.
TH1F* h20d = new TH1F("h20d","POINT Phi (data)",360,-180.,180.) |
Definition at line 75 of file anal_point_fwendcap.C.
TH1F* h2a = new TH1F("h2a","POINT Phi difference - changed id",100,-5.,5.) |
Definition at line 81 of file anal_point_fwendcap.C.
TH1F* h3 = new TH1F("h3","HIT Theta difference",100,-5.,5.) |
Definition at line 83 of file anal_point_fwendcap.C.
Referenced by KFParticle::GetDistanceFromVertexXY(), KFParticleSIMD::GetDistanceFromVertexXY(), KFParticleBase::GetEta(), KFParticleBaseSIMD::GetEta(), HypHitAnasigBg_AR(), overall_perf(), overall_perf_full(), overall_perf_toy(), QAmacro_emc_3(), and TrackHits().
TH1F* h3a = new TH1F("h3a","HIT Theta difference -changed id",100,-5.,5.) |
Definition at line 86 of file anal_point_fwendcap.C.
TH1F* h4 = new TH1F("h4","HIT Phi difference",100,-5.,5.) |
Definition at line 84 of file anal_point_fwendcap.C.
Referenced by KFParticle::GetDistanceFromVertexXY(), KFParticleSIMD::GetDistanceFromVertexXY(), KFParticleBase::GetEta(), KFParticleBaseSIMD::GetEta(), HypHitAnasigBg_AR(), overall_perf_toy(), TrackHits(), PndCATrackParamVector::Transport0ToX(), PndCATrackParamVector::TransportJ0ToX0(), PndFTSCATrackParamVector::TransportJ0ToX0(), PndCATrackParam::TransportToX(), PndCATrackParamVector::TransportToX(), PndFTSCATrackParam::TransportToX0(), and PndFTSCATrackParamVector::TransportToX0().
TH1F* h4a = new TH1F("h4a","HIT Phi difference -changed id",100,-5.,5.) |
Definition at line 87 of file anal_point_fwendcap.C.
Definition at line 44 of file anal_point_fwendcap.C.
TH1F* hene_mc = new TH1F("hene_mc","MC energy (GeV)",100,0.0,1.05) |
Definition at line 64 of file anal_point_fwendcap.C.
TH1F* hene_p = new TH1F("hene_p","DATA energy (GeV)",1000,0.0,0.1) |
Definition at line 66 of file anal_point_fwendcap.C.
TH1F* hhit_ene = new TH1F("hhit_ene","SUM of Hits energy (GeV)",100,0.0,1.05) |
Definition at line 69 of file anal_point_fwendcap.C.
TH1F* hid_p = new TH1F("id_p","id (POINT)",140000000,300000000,340000000) |
Definition at line 38 of file anal_point_fwendcap.C.
Double_t hit_ene |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t hit_id |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t hit_phi |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t hit_theta |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t hit_x |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t hit_y |
Definition at line 21 of file anal_point_fwendcap.C.
TH1F* hmodule_p = new TH1F("module_p","Module (POINT)",5,1,6) |
Definition at line 42 of file anal_point_fwendcap.C.
TH1F* hpoi_ene = new TH1F("hpoi_ene","SUM of Points energy (GeV)",100,0.0,1.05) |
Definition at line 68 of file anal_point_fwendcap.C.
TH2F* hrow_crystal_p = new TH2F("row_crystal","row vs crystal (POINT)",72,-36,36,72,-36,36) |
Definition at line 36 of file anal_point_fwendcap.C.
TH1F* hx_p = new TH1F("x_p","X (POINT)",100,-100,100) |
Definition at line 39 of file anal_point_fwendcap.C.
Definition at line 37 of file anal_point_fwendcap.C.
TH2F* hxpad_x_cp1_p = new TH2F("xpad_x_cp1_p","x vs xpad _cp1_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 53 of file anal_point_fwendcap.C.
TH2F* hxpad_x_cp2_p = new TH2F("xpad_x_cp2_p","x vs xpad _cp2_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 54 of file anal_point_fwendcap.C.
TH2F* hxpad_x_cp3_p = new TH2F("xpad_x_cp3_p","x vs xpad _cp3_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 55 of file anal_point_fwendcap.C.
TH2F* hxpad_x_cp4_p = new TH2F("xpad_x_cp4_p","x vs xpad _cp4_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 56 of file anal_point_fwendcap.C.
TH2F* hxpad_x_p = new TH2F("xpad_x_p","x vs xpad (POINT)",200,-100,100,200,-100,100) |
Definition at line 50 of file anal_point_fwendcap.C.
TH1F* hy_p = new TH1F("y_p","Y (POINT)",100,-100,100) |
Definition at line 40 of file anal_point_fwendcap.C.
TH2F* hypad_y_cp1_p = new TH2F("ypad_y_cp1_p","y vs ypad _cp1_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 58 of file anal_point_fwendcap.C.
TH2F* hypad_y_cp2_p = new TH2F("ypad_y_cp2_p","y vs ypad _cp2_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 59 of file anal_point_fwendcap.C.
TH2F* hypad_y_cp3_p = new TH2F("ypad_y_cp3_p","y vs ypad _cp3_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 60 of file anal_point_fwendcap.C.
TH2F* hypad_y_cp4_p = new TH2F("ypad_y_cp4_p","y vs ypad _cp4_ (POINT)",200,-100,100,200,-100,100) |
Definition at line 61 of file anal_point_fwendcap.C.
TH2F* hypad_y_p = new TH2F("ypad_y_p","y vs ypad (POINT)",200,-100,100,200,-100,100) |
Definition at line 51 of file anal_point_fwendcap.C.
TH1F* hz_cp1_p = new TH1F("z_cp1_p","z (POINT)",300,1,300) |
Definition at line 45 of file anal_point_fwendcap.C.
TH1F* hz_cp2_p = new TH1F("z_cp2_p","z (POINT)",300,1,300) |
Definition at line 46 of file anal_point_fwendcap.C.
TH1F* hz_cp3_p = new TH1F("z_cp3_p","z (POINT)",300,1,300) |
Definition at line 47 of file anal_point_fwendcap.C.
TH1F* hz_cp4_p = new TH1F("z_cp4_p","z (POINT)",300,1,300) |
Definition at line 48 of file anal_point_fwendcap.C.
TH1F* hz_p = new TH1F("z_p","Z (POINT)",100,200,300) |
Definition at line 41 of file anal_point_fwendcap.C.
Int_t id_p |
Definition at line 27 of file anal_point_fwendcap.C.
double max_energy1 =0 |
Definition at line 33 of file anal_point_fwendcap.C.
TClonesArray* mctrack_array =new TClonesArray("PndMCTrack") |
Definition at line 11 of file anal_point_fwendcap.C.
Double_t module_p |
Definition at line 21 of file anal_point_fwendcap.C.
int ndigi |
Definition at line 32 of file anal_point_fwendcap.C.
int npoint |
Definition at line 32 of file anal_point_fwendcap.C.
Referenced by QAmacro_emc_3().
Double_t phi_mc |
Definition at line 20 of file anal_point_fwendcap.C.
TLorentzVector phot |
Definition at line 30 of file anal_point_fwendcap.C.
Referenced by PndRichReco::AppendFlatMirrorReflections(), and PndFastSim::Exec().
TVector3 photon_momentum |
Definition at line 29 of file anal_point_fwendcap.C.
TClonesArray* point_array =new TClonesArray("PndEmcPoint") |
Definition at line 15 of file anal_point_fwendcap.C.
Referenced by QAmacro_emc_4().
Double_t point_ene |
Definition at line 21 of file anal_point_fwendcap.C.
Referenced by GetEntriesFast().
Double_t point_phi |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t point_theta |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t row_p |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t row_pid |
Definition at line 21 of file anal_point_fwendcap.C.
Double_t theta_mc |
Definition at line 20 of file anal_point_fwendcap.C.
Definition at line 10 of file anal_point_fwendcap.C.
Double_t x_p |
Definition at line 21 of file anal_point_fwendcap.C.
Referenced by PndPidCorrelator::GetDskInfo(), and GetEntriesFast().
Double_t y_p |
Definition at line 21 of file anal_point_fwendcap.C.
Referenced by GetEntriesFast().
Double_t z_cp1_p |
Definition at line 26 of file anal_point_fwendcap.C.
Double_t z_cp2_p |
Definition at line 26 of file anal_point_fwendcap.C.
Double_t z_cp3_p |
Definition at line 26 of file anal_point_fwendcap.C.
Double_t z_cp4_p |
Definition at line 26 of file anal_point_fwendcap.C.
Double_t z_p |
Definition at line 21 of file anal_point_fwendcap.C.
Referenced by PndBarrelTrackFinder::ExtractMeanRPhiFromTrack(), PndBarrelTrackFinder::FindInterestingRegions(), and PndBarrelTrackFinder::MatchHitWithZInfoTT().