FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
if (limit!=flimit) | |
TFile | infile ("dedx_out.root","READ") |
switch (ifile) | |
c | cd () |
h | Draw () |
c2 | Divide (cx, cy) |
for (int i=0;i< nsteps;i++) | |
graphs | Divide (2, 1) |
fsum | SetParameters (parcomp) |
fsum | Draw ("SAME") |
cout<< "ifile "<< ifile<< endl;cout << " momentum sampled over " << nsteps<< " with step width " << 1.5/nsteps<< endl;cout << endl;cout<< "MEAN DEDX PARAMETRIZATION"<< endl;cout << "mom limits "<< mean_inf << " "<< mean_sup<< endl;cout << "mu: ";for(int param=0;param < npardedx;param++) cout << fdedx-> | GetParameter (param)<< " |
Variables | |
double | mean_inf = 0.39 |
double | mean_sup = 1.23 |
double | sigma_inf = 0.39 |
double | sigma_sup = 1.23 |
Double_t | yup = 30. |
double | nsteps = 50 |
int | cx = 5 |
int | cy = 10 |
double | limit = 100/nsteps |
double | flimit = floor(100/nsteps) |
TString | fundedx = "[0] * (1./x)**2 + [1] * TMath::Log(x) + [2]" |
int | npardedx = 3 |
TString | funsig = "[0] * (1./x)**2 + [1] * TMath::Log(x) + [2]" |
TString | funsig_forsum = "([3] * (1./x)**2 + [4] * TMath::Log(x) + [5])" |
int | nparsig = 3 |
int | npartot = npardedx + nparsig |
TCanvas * | c = new TCanvas("c", "dedx_p") |
TH2F * | h |
TH1D * | htemp [nsteps] |
TF1 * | fgaus [nsteps] |
Double_t | x [nsteps] |
Double_t | mean [nsteps] |
Double_t | sigma [nsteps] |
Double_t | meanerr [nsteps] |
Double_t | sigmaerr [nsteps] |
TCanvas * | c2 = new TCanvas("c2", "slices") |
TCanvas * | graphs = new TCanvas("graphs", "graphs") |
Double_t | masses [5] = {0.000510999, 0.1056584, 0.139570, 0.49368, 0.9382723 } |
Double_t | xerr [nsteps] |
TString | funsum = fundedx + " + " + funsig_forsum |
TF1 * | fsum = new TF1("fsum", funsum, 0., 1.5) |
TString | fundiff = fundedx + " - " + funsig_forsum |
TF1 * | fdiff = new TF1("fdiff", fundiff, 0., 1.5) |
c cd | ( | ) |
graphs Divide | ( | 2 | , |
1 | |||
) |
h Draw | ( | ) |
Definition at line 64 of file NHitsPerEvent.C.
fsum Draw | ( | "SAME" | ) |
for | ( | ) |
cout<< "ifile " << ifile << endl; cout << " momentum sampled over " << nsteps << " with step width " << 1.5/nsteps << endl; cout << endl; cout << "MEAN DEDX PARAMETRIZATION" << endl; cout << "mom limits " << mean_inf << " " << mean_sup << endl; cout << "mu: "; for(int param = 0; param < npardedx; param++) cout << fdedx-> GetParameter | ( | param | ) |
if | ( | limit! | = flimit | ) |
TFile infile | ( | "dedx_out.root" | , |
"READ" | |||
) |
Referenced by ana_fast(), createGeoSim(), dbuilder(), MyMainFrame::DoRecreate(), emc_correction_hist(), emc_correction_parametrization(), makeTCands(), PndFtsMapCreator2::PndFtsMapCreator2(), run_HypSimpleAna(), run_HypSimpleAna_Geo2(), simfast(), simfast_cmp(), switch(), writeMicro(), and writeMicro_Geo2().
fdiff SetParameters | ( | parcomp | ) |
switch | ( | ifile | ) |
Definition at line 49 of file dedx_bands.C.
References infile().
TCanvas* c = new TCanvas("c", "dedx_p") |
Definition at line 44 of file dedx_bands.C.
TCanvas* c2 = new TCanvas("c2", "slices") |
Definition at line 68 of file dedx_bands.C.
int cx = 5 |
Definition at line 16 of file dedx_bands.C.
Referenced by FCInit(), PndMdtIGeometry::GetStripInfo(), and PndSttTrackFinderReal::WriteMacroParallelHitsConformalwithMCspecial().
int cy = 10 |
Definition at line 17 of file dedx_bands.C.
Referenced by FCInit(), PndMdtIGeometry::GetStripInfo(), and PndSttTrackFinderReal::WriteMacroParallelHitsConformalwithMCspecial().
TF1* fdiff = new TF1("fdiff", fundiff, 0., 1.5) |
Definition at line 152 of file dedx_bands.C.
TF1* fgaus[nsteps] |
Definition at line 62 of file dedx_bands.C.
Referenced by QAmacro_stt_4().
double flimit = floor(100/nsteps) |
Definition at line 19 of file dedx_bands.C.
Referenced by if().
TF1* fsum = new TF1("fsum", funsum, 0., 1.5) |
Definition at line 149 of file dedx_bands.C.
Definition at line 26 of file dedx_bands.C.
TString fundiff = fundedx + " - " + funsig_forsum |
Definition at line 151 of file dedx_bands.C.
Definition at line 36 of file dedx_bands.C.
Definition at line 37 of file dedx_bands.C.
TString funsum = fundedx + " + " + funsig_forsum |
Definition at line 148 of file dedx_bands.C.
TCanvas* graphs = new TCanvas("graphs", "graphs") |
Definition at line 109 of file dedx_bands.C.
Referenced by comp_multiFiles().
TH2F* h |
Definition at line 48 of file dedx_bands.C.
TH1D* htemp[nsteps] |
Definition at line 61 of file dedx_bands.C.
Referenced by drawMvdHistos(), and findLimits().
double limit = 100/nsteps |
Definition at line 18 of file dedx_bands.C.
Referenced by PndFtsCellTrackletGenerator::getNeighbors(), placeSingleLayerSkewedLeft(), placeSingleLayerSkewedRight(), and PndSoftTriggerTask::RemoveDoubles().
Double_t masses[5] = {0.000510999, 0.1056584, 0.139570, 0.49368, 0.9382723 } |
Definition at line 112 of file dedx_bands.C.
Referenced by convolutionAnalysis(), and fittest().
Definition at line 65 of file dedx_bands.C.
Referenced by createRandomMatrix(), dedx_p_chain(), PndRichRecoTask::FinishTask(), GaussFitPlot(), PndSimpleCombiner::ParseParams(), PullFitPlot(), qadalitz(), QAmacro_stt_4(), PndSoftTriggerTask::ReadTriggerLines(), PndSoftTriggerTask::SetEtaSignalParams(), PndSoftTriggerTask::SetKs0SignalParams(), PndSoftTriggerLine::SetMeanSigma(), PndSoftTriggerTask::SetPi0SignalParams(), PndSimpleAnalysis::SetupAnalysis(), and PndSoftTriggerTask::TagMode().
double mean_inf = 0.39 |
Definition at line 6 of file dedx_bands.C.
double mean_sup = 1.23 |
Definition at line 7 of file dedx_bands.C.
Definition at line 65 of file dedx_bands.C.
int npardedx = 3 |
Definition at line 30 of file dedx_bands.C.
int nparsig = 3 |
Definition at line 38 of file dedx_bands.C.
Definition at line 41 of file dedx_bands.C.
double nsteps = 50 |
Definition at line 15 of file dedx_bands.C.
Referenced by for(), PndSttSingleStraw::StrawSignal(), and PndFtsSingleStraw::StrawSignal().
Definition at line 65 of file dedx_bands.C.
Referenced by PndTrkLegendreNew::AnalyticalFit(), PndTrkTrackFinder::AnalyticalFit(), PndTrkCombiLegendreTask::AnalyticalFit(), PndTrkLegendreNew::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalFit2(), PndTrkCombiLegendreTask::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalParabolaFit(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndPidFtofAssociatorTask::DoPidMatch(), PndPidRichAssociatorTask::DoPidMatch(), PndPidDiscAssociatorTask::DoPidMatch(), PndPidDrcAssociatorTask::DoPidMatch(), PndPidSciTAssociatorTask::DoPidMatch(), PndGemIdealHitProducer::Exec(), PndTrkLegendreSecTask2::Exec(), PndTrkLegendreTask::Exec(), PndTrkLegendreSecTask::Exec(), PndTrkTrackFinder::Exec(), GaussFitPlot(), PndCorrDistGenerator::MaxBoltDistP(), PndTrkTrackFinder::MinuitFit(), PndTrkTrackFinder::MinuitFit2(), mz_pp_to_leplep_vandewi_sigma(), mz_pp_to_leplep_vandewi_sigma_nonorm(), mz_pp_to_pipi_sigma(), mz_pp_to_pipi_vandewi_sigma_legendre(), chigen::PartonicModel::next(), novosibirsk_fcn(), plotTrackCands(), PndLmdCalStrip::PndLmdCalStrip(), PndSdsCalcStripDif::PndSdsCalcStripDif(), PndDrcHitProducerReal::ProcessBarPoint(), PullFitPlot(), qadalitz(), QAmacro_stt_4(), PndSoftTriggerTask::SetEtaSignalParams(), PndSoftTriggerTask::SetKs0SignalParams(), PndSoftTriggerTask::SetPi0SignalParams(), chigen::models::ColorSingletPartonicModel::setSigma(), chigen::models::ColorSingletPartonicModel::setTrialKin(), and PndSoftTriggerTask::TagMode().
double sigma_inf = 0.39 |
Definition at line 8 of file dedx_bands.C.
double sigma_sup = 1.23 |
Definition at line 9 of file dedx_bands.C.
Definition at line 65 of file dedx_bands.C.
Definition at line 63 of file dedx_bands.C.
Definition at line 114 of file dedx_bands.C.
Referenced by PndLmdStripClusterTask::AddMSErr().
Double_t yup = 30. |
Definition at line 12 of file dedx_bands.C.