FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
t | SetBranchAddress ("EmcCluster",&cluster_array) |
t | AddFriend ("pndsim","digi_emc.root") |
t | SetBranchAddress ("EmcDigi",&digi_array) |
tsim | SetBranchAddress ("MCTrack",&mctrack_array) |
if ((cluster->NumberOfDigis()>1)&&(cluster_energy >0.02)) | |
h3 | SetTitle ("Cluster energy of 1 GeV photon") |
h3 | GetXaxis () -> SetTitle("Energy, GeV") |
h3 | Draw () |
h1 | SetTitle ("Difference between cluster and initial photon theta angle") |
h2 | SetTitle ("Difference between cluster and initial photon phi angle") |
h2theta | GetYaxis () -> SetTitle("#theta_ |
c6 | Divide (2, 2) |
c6 | cd (1) |
c6 | cd (2) |
c6 | cd (3) |
Variables | |
TTree * | t =(TTree *) f->Get("pndsim") |
TClonesArray * | cluster_array =new TClonesArray("PndEmcCluster") |
TClonesArray * | digi_array =new TClonesArray("PndEmcDigi") |
TFile * | fsim = new TFile("sim_emc.root") |
TTree * | tsim =(TTree *) fsim->Get("pndsim") |
TClonesArray * | mctrack_array =new TClonesArray("PndMCTrack") |
TVector3 | photon_momentum |
double | cluster_energy =cluster->energy() |
double | cluster_theta |
double | cluster_phi |
double | theta |
double | phi |
double | theta_diff |
double | phi_diff |
int | ndigi |
int | npoint |
double | max_energy =0 |
TH1F * | h1 = new TH1F("h1","Theta difference",200,-5.,5.) |
TH1F * | h2 = new TH1F("h2","Phi difference",200,-5.,5.) |
TH1F * | h3 = new TH1F("h3","Cluster energy",100,0.85,1.05) |
TH2F * | h2theta = new TH2F("h2theta","Theta difference",200,0.,180.,200,-5.,5.) |
TH2F * | h2phi = new TH2F("h2phi","Phi difference",200,0.,180.,200,-5.,5.) |
TH1F * | hE1 = new TH1F("hE1","E1",200,0.,1.05) |
TH1F * | hE1E9 = new TH1F("hE1E9","E1 / E9",200,0.,1.05) |
TH1F * | hE9E25 = new TH1F("hE9E25","E9 / E25",200,0.,1.05) |
TCanvas * | c1 = new TCanvas("c1", "Cluster Energy", 100, 100, 800, 800) |
TCanvas * | c2 = new TCanvas("c2", "#theta_{reco} - #theta_{truth}", 100, 100, 800, 800) |
TCanvas * | c3 = new TCanvas("c3", "#phi_{reco} - #phi_{truth}", 100, 100, 800, 800) |
TCanvas * | c4 = new TCanvas("c4", "#theta_{reco} - #theta_{truth} vs #theta_{truth}", 100, 100, 800, 800) |
degree | |
TCanvas * | c5 = new TCanvas("c5", "#phi_{reco} - #phi_{truth} vs #phi_{truth}", 100, 100, 800, 800) |
TCanvas * | c6 = new TCanvas("c6", "Cluster Properties", 100, 100, 800, 800) |
t AddFriend | ( | "pndsim" | , |
"digi_emc.root" | |||
) |
c6 cd | ( | 1 | ) |
c6 cd | ( | 2 | ) |
c6 cd | ( | 3 | ) |
c6 Divide | ( | 2 | , |
2 | |||
) |
h3 Draw | ( | ) |
Definition at line 64 of file NHitsPerEvent.C.
Definition at line 653 of file anal_hit_digi_cluster_fwendcap.C.
Definition at line 131 of file macro/detectors/emc/dedicated/reco_analys.C.
if | ( | (cluster->NumberOfDigis()>1)&&(cluster_energy >0.02) | ) |
Definition at line 49 of file macro/detectors/emc/dedicated/reco_analys.C.
t SetBranchAddress | ( | "EmcCluster" | , |
& | cluster_array | ||
) |
t SetBranchAddress | ( | "EmcDigi" | , |
& | digi_array | ||
) |
tsim SetBranchAddress | ( | "MCTrack" | , |
& | mctrack_array | ||
) |
TCanvas* c1 = new TCanvas("c1", "Cluster Energy", 100, 100, 800, 800) |
Definition at line 103 of file macro/detectors/emc/dedicated/reco_analys.C.
TCanvas* c2 = new TCanvas("c2", "#theta_{reco} - #theta_{truth}", 100, 100, 800, 800) |
Definition at line 109 of file macro/detectors/emc/dedicated/reco_analys.C.
TCanvas* c3 = new TCanvas("c3", "#phi_{reco} - #phi_{truth}", 100, 100, 800, 800) |
Definition at line 123 of file macro/detectors/emc/dedicated/reco_analys.C.
TCanvas* c4 = new TCanvas("c4", "#theta_{reco} - #theta_{truth} vs #theta_{truth}", 100, 100, 800, 800) |
Definition at line 128 of file macro/detectors/emc/dedicated/reco_analys.C.
TCanvas* c5 = new TCanvas("c5", "#phi_{reco} - #phi_{truth} vs #phi_{truth}", 100, 100, 800, 800) |
Definition at line 134 of file macro/detectors/emc/dedicated/reco_analys.C.
TCanvas* c6 = new TCanvas("c6", "Cluster Properties", 100, 100, 800, 800) |
Definition at line 140 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by main(), KFParticleBase::TransportBz(), KFParticleBaseSIMD::TransportBz(), KFParticleBase::TransportLine(), and KFParticleBaseSIMD::TransportLine().
TClonesArray* cluster_array =new TClonesArray("PndEmcCluster") |
Definition at line 5 of file macro/detectors/emc/dedicated/reco_analys.C.
cluster_energy =cluster->energy() |
Definition at line 22 of file macro/detectors/emc/dedicated/reco_analys.C.
double cluster_phi |
Definition at line 23 of file macro/detectors/emc/dedicated/reco_analys.C.
double cluster_theta |
Definition at line 23 of file macro/detectors/emc/dedicated/reco_analys.C.
degree |
Definition at line 130 of file macro/detectors/emc/dedicated/reco_analys.C.
TClonesArray* digi_array =new TClonesArray("PndEmcDigi") |
Definition at line 9 of file macro/detectors/emc/dedicated/reco_analys.C.
TFile* fsim = new TFile("sim_emc.root") |
Definition at line 12 of file macro/detectors/emc/dedicated/reco_analys.C.
TH1F* h1 = new TH1F("h1","Theta difference",200,-5.,5.) |
Definition at line 29 of file macro/detectors/emc/dedicated/reco_analys.C.
TH1F* h2 = new TH1F("h2","Phi difference",200,-5.,5.) |
Definition at line 30 of file macro/detectors/emc/dedicated/reco_analys.C.
TH2F* h2phi = new TH2F("h2phi","Phi difference",200,0.,180.,200,-5.,5.) |
Definition at line 33 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by error_matrix_fit(), and QAmacro_emc_3().
TH2F* h2theta = new TH2F("h2theta","Theta difference",200,0.,180.,200,-5.,5.) |
Definition at line 32 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by QAmacro_emc_3().
TH1F* h3 = new TH1F("h3","Cluster energy",100,0.85,1.05) |
Definition at line 31 of file macro/detectors/emc/dedicated/reco_analys.C.
TH1F* hE1 = new TH1F("hE1","E1",200,0.,1.05) |
Definition at line 34 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by QAmacro_emc_3().
TH1F* hE1E9 = new TH1F("hE1E9","E1 / E9",200,0.,1.05) |
Definition at line 35 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by QAmacro_emc_3().
TH1F* hE9E25 = new TH1F("hE9E25","E9 / E25",200,0.,1.05) |
Definition at line 36 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by QAmacro_emc_3().
double max_energy =0 |
Definition at line 27 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by emc_correction_QA(), error_matrix_fit(), PndEmcTmpWaveformToDigi::Exec(), PndEmcMakeClusterOnline::FinishCluster(), and QAmacro_emc_3().
TClonesArray* mctrack_array =new TClonesArray("PndMCTrack") |
Definition at line 17 of file macro/detectors/emc/dedicated/reco_analys.C.
int ndigi |
Definition at line 26 of file macro/detectors/emc/dedicated/reco_analys.C.
int npoint |
Definition at line 26 of file macro/detectors/emc/dedicated/reco_analys.C.
double phi |
Definition at line 24 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by PndEmcHitProducer::AcceptDayOne(), PndMvdSttGemRiemannTrackFinder::AddHits(), ana_dsdsj(), ana_dsinc(), PndEmcClusterDistances::AngularSeparation(), Photospp::PhotosParticle::boostFromRestFrame(), Photospp::PhotosParticle::boostToRestFrame(), PndEmcXClMoments::Calc_AbsZernikeMoment(), PndRiemannTrack::calcErrorPosByS(), chigen::PythiaChiGen::calculateHadronRemnants(), GFDaf::calcWeights(), PndTrkLegendreSecTask::CleanupZPhiFit(), PndTrkLegendreTask::CleanupZPhiFit(), PndTrkLegendreSecTask2::CleanupZPhiFit(), PndTrkTrack::ComputeCharge(), PndTrkTrack::ComputePhi(), PndTrkTrack::ComputePhiFrom(), PndTrkLegendreSecTask::ComputeZRediduals(), PndTrkLegendreTask::ComputeZRediduals(), PndTrkLegendreSecTask2::ComputeZRediduals(), PndRiemannTrack::correctSttHit(), create_trap(), GeCluster::CreateCluster(), CreateCluster(), PndGiBuuJPsiEE::DecayTrack(), PndFsmEmcBarrel::detected(), PndFsmEmcPid::detected(), error_matrix_fit(), PndDiscTaskReconstruction::Exec(), PndDiscTaskPID::Exec(), PndTrkLegendreSecTask::Exec(), PndTrkLegendreSecTask2::Exec(), PndTrkLegendreTask::Exec(), PndTrkTrackFinder::Exec(), PndEmcXClMoments::Fast_AbsZernikeMoment(), gem_material_ana1(), PndSttStrawMap::GenerateStrawMap(), PndSttGeometryMap::GenerateStrawMapAngleGeoType1(), PndSttGeometryMap::GetAngleBetweenTubes(), PndSttMvdGemTracking::GetInitialParams(), PndRiemannTrack::getPforHit(), PndGemSensor::Intersect(), PndSttMvdGemTracking::IsAssignable(), PndGeoDskFLG::LineCylinderInteraction(), materialana(), PndSttHelixTrackFitter::MinuitFit(), mz_pp_to_leplep_vandewi_event(), mz_pp_to_pipi_vandewi_event(), mzazimuthal(), PndGeoHypGeCluster::PlaceCluster(), PndTrkHit::PndTrkHit(), PndSttMvdGemTracking::Prefit(), PndSttMvdGemTracking::PropagateToGemPlaneAsHelix(), QAmacro_drc_1(), QAmacro_emc_3(), raytrace_x(), raytrace_z(), PndCorrDistGenerator::ReadEvent(), PndHypBupGenerator::ReadEvent(), PndGasGenerator::ReadEvent(), PndBoxGenerator::ReadEvent(), PndVolGenerator::ReadEvent(), PndFixStepParticleGun::ReadEvent(), PndSttMvdGemTracking::Retrack(), FairGeaneTrKalStt::RetrieveVertex(), PndPmtPoormantracks::RollMomentumBox(), RollMomentumBox(), PndEmcXClMoments::SecondMomentPhi(), PndEmcXClMoments::SecondMomentTheta(), PndDrcRecoLookupMap::SectorNum(), PndLmdTrackQ::SetIPmom(), PndLmdTrackQ::SetLMDdir(), PndLmdTrackQ::SetMCmom(), PndLmdTrackQ::SetMCmomLMD(), PndSttTrack::SetParameters(), PndTrkIndivisibleHit::SetPhi(), PndTrkHit::SetPhi(), PndSttTrack::SetPhi(), PndRichPhoton::SetPhi(), sim(), trapmap_barrel(), trapmap_disc(), VarCorrP(), PndSttHelixTrackFitter::XYFit(), PndSttHelixTrackFitter::XYFitThroughOrigin(), ZeeAnalysis(), PndSttMvdGemTracking::ZFit(), ZmumuAnalysis(), PndTrkLegendreSecTask::ZPhiFit(), PndTrkLegendreTask::ZPhiFit(), PndTrkLegendreSecTask2::ZPhiFit(), and ZtautauAnalysis().
double phi_diff |
Definition at line 25 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by emc_correction_hist(), emc_correction_parametrization(), error_matrix_fit(), PndEmcClusterMoments::Phi2(), and QAmacro_emc_3().
TVector3 photon_momentum |
Definition at line 20 of file macro/detectors/emc/dedicated/reco_analys.C.
Definition at line 4 of file macro/detectors/emc/dedicated/reco_analys.C.
double theta |
Definition at line 24 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by AllNeutronAnalysis_job(), anaDMesonsCharged(), AnalyseSimFile(), AnalyseThetaRadiusCorrelation(), PndEmcClusterDistances::AngularSeparation(), Photospp::PhotosParticle::boostFromRestFrame(), Photospp::PhotosParticle::boostToRestFrame(), CalculateCrystalMatricesPhi(), CalculateCrystalMatricesZ(), chigen::PythiaChiGen::calculateHadronRemnants(), PndTrkCombiLegendreTask::ComputePlaneExtremities(), create_HypSTxy3Cmic_rootgeo3(), create_HypSTxy3Cmic_RootGeo5Lay(), create_HypSTxy3Cmic_RootGeo5LayExt(), create_trap(), createRootGeometry_RICH(), PndFastSim::cutAndSmear(), PndFsmSimpleTracker::detected(), PndFsmDetTemplate::detected(), PndFsmMdcFS::detected(), PndFsmMdcTS::detected(), PndFsmMvd::detected(), PndFsmMvd2::detected(), PndFsmMvdPid::detected(), PndFsmSimpleVtx::detected(), PndFsmStt::detected(), PndFsmSttPid::detected(), PndFsmTof::detected(), PndFsmEmcBwCap::detected(), PndFsmEmcFS::detected(), PndFsmEmcFwCap::detected(), PndFsmMdtPid::detected(), PndFsmDrcDisc::detected(), PndFsmEmcBarrel::detected(), PndFsmEmcPid::detected(), PndFsmDrcBarrel::detected(), PndFsmEffTracker::detected(), digi_theta(), PndPidDrcAssociatorTask::DoPidMatch(), PndFsmMdcTS::dp(), PndFsmStt::dp(), PndFsmEmcBwCap::dphi(), PndFsmEmcFS::dphi(), PndFsmEmcFwCap::dphi(), PndDrcRecoLookupMap::DrawDetectorLayout(), DrawHits::DrawHisto(), PndFsmEmcFwCap::dtheta(), PndFsmEmcBwCap::dtheta(), PndFsmEmcBarrel::dtheta(), PndEmcClusterHistCalibrator::Energy(), error_matrix_fit(), PndDiscTaskReconstruction::Exec(), PndDiscTaskPID::Exec(), PndEmcMakeCorr::Exec(), PndTrkTrackFinder::Exec(), PndTrkCombiLegendreTransform::ExtractLegendreSingleLineParameters(), PndTrkLegendreTransform::ExtractLegendreSingleLineParameters(), PndTrkLegendreTransform::ExtractZoomSingleLineParameters(), PndRadMapBoxMesh::Fill(), PndTrkCombiLegendreTransform::FillHisto(), PndGemTrackFinderOnHits::FindTrackSegments(), PndMvdGemTrackFinderOnHits::FindTrackSegments(), FitFunction1(), gem_material_ana1(), geom(), globT_theta(), hit_noise_studies(), PndRichGeo::init(), locT_theta(), materialana(), mvdgem_reco(), mvdgem_sim(), mz_pp_to_leplep_vandewi_event(), mz_pp_to_pipi_vandewi_event(), mzpolar(), RhoCalculationTools::P7toPRG(), PndGeoHypGeCluster::PlaceCluster(), PndDrcHitProducerReal::ProcessBarPoint(), PndFtfDirect::ProcessEvent(), QAmacro_drc_1(), QAmacro_emc_3(), raytrace_x(), raytrace_z(), PndCorrDistGenerator::ReadEvent(), PndHypBupGenerator::ReadEvent(), PndGasGenerator::ReadEvent(), PndBoxGenerator::ReadEvent(), PndVolGenerator::ReadEvent(), PndFixStepParticleGun::ReadEvent(), PndFsmCmpDet::respond(), PndFsmCombiDet::respond(), PndFsmRich::respond(), PndFsmTof::respond(), PndFsmDrcBarrel::respond(), PndFsmDrcDisc::respond(), RhoRhoPHOTOSUserTreeAnalysis(), PndPmtPoormantracks::RollMomentumBox(), RollMomentumBox(), PndLmdStripClusterTask::rotateToLumiFrame(), run_ana_eta_c_tpc(), PndLmdTrackQ::SetIPmom(), PndLmdTrackQ::SetLMDdir(), PndLmdTrackQ::SetMCmom(), PndLmdTrackQ::SetMCmomLMD(), PndTrkLegendreCluster::SetTheta(), PndRichPhoton::SetTheta(), PndDrcBarPoint::SetThetaC(), PndRichBarPoint::SetThetaC(), PndDskParticle::SetThetaC(), PndDskFLGHit::SetThetaC(), sim(), sim_theta(), PndEmcClusterMoments::Theta1(), and PndEmcClusterMoments::Theta2().
double theta_diff |
Definition at line 25 of file macro/detectors/emc/dedicated/reco_analys.C.
Referenced by emc_correction_hist(), QAmacro_emc_3(), and PndEmcClusterMoments::Theta2().
Definition at line 13 of file macro/detectors/emc/dedicated/reco_analys.C.