Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Proto4ShowerCalibFit.m File Reference

Go to the source code of this file.

Functions

 fprintf ('processing%s\n', filename)
 
 disp (size(data))
 
 data (:, 1)
 
 fprintf ('processing%s-%.0f GeV @%d\n', filename, energy(j), N_Runs)
 
 DataSet (N_Runs).FileID
 
end end DrawDataSet (DataSet, InitConst, 'Inputs')
 
 SaveCanvas ([DataFolder 'EnergyCalibFIt'], gcf)
 
 figure ('name',['DrawDataSet_EnergyFraction'],'PaperPositionMode','auto',... 'position',[100, 0, 1800, 900])
 
 imagesc (0:7, 0:7, MeanFraction)
 
colorbar set (gca,'YDir','normal') title(sprintf('%s
 
colorbar DataSet (i).FileID
 
 xlabel ('Column ID')
 
 ylabel ('Row ID')
 
 subplot (8, 8, idx)
 
 histogram (DataSet(i).data(:, idx),[0.:.1:16])
 
 set (gca,'XLim',[0, 16]) set(gca
 
log title (sprintf('Row%d Col%d', row-1, col-1))
 
 subplot (1, 3, 1)
 
 title (sprintf('Sum all data'))
 
 subplot (1, 3, 2)
 
 hist (reshape(MeanFraction, size(MeanFraction, 1)*size(MeanFraction, 2), 1), 100)
 
 title ('fraction of shower energy carried by each tower')
 
 xlabel ('MeanFraction')
 
 subplot (1, 3, 3)
 
 imagesc (0:7, 0:7, reshape(low_tower_IDs, 8, 8))
 
 title (sprintf('Low hit towers'))
 
 data_selection (InitConst_RunScale, 10)
 
 disp (object_function(InitConst_RunScale))
 
 disp (object_function(InitConst_RunScale, 2))
 
 disp (object_function(InitConst_RunScale, 1))
 
 data_selection (x, 8)
 
 disp (object_function(x))
 
 data_selection (x, 4)
 
 data_selection (x, 2)
 
 plot (calib_const)
 
 title (sprintf('Calibration constant'))
 
 xlabel ('Col *8+Row')
 
 ylabel ('Calibration New/Old')
 
 imagesc (0:7, 0:7, reshape(calib_const, 8, 8))
 
 plot (E_scale,'x')
 
 title (sprintf('Energy scale constant, mean=%.2f', mean(E_scale)))
 
 xlabel ('Run ID')
 
 ylabel ('Energy scale New/Old')
 
 set (gca,'YLim',[0.5, 1.5]) grid on SaveCanvas([DataFolder 'EnergyCalibFIt']
 
 figure ('name',['CalibConstVSModuleDensity'],'PaperPositionMode','auto',...% 'position',[100, 0, 1300, 1000])
 
 subplot (2, 2, 1)
 
 imagesc (0:7, 0:7, ModuleDensity)
 
 subplot (2, 2, 2)
 
 title (sprintf('Calibration constant, New/Old'))
 
 subplot (2, 2, 3)
 
 plot (calib_const(IDs), dens, 'o')
 
 title (sprintf('THP 3x3, Calibration adjustment VS density'))
 
 xlabel ('Calibration constant, New/Old')
 
 ylabel ('Module Density')
 
 subplot (2, 2, 4)
 
 title (sprintf('All calibrated modules, Calibration adjustment VS density'))
 
 DrawDataSet (DataSet, calib_const,'Optimized')
 
 dlmwrite (filename,[total_E calib_total_E])
 
end save ([DataFolder 'fit.mat'])
 
 save ('goodfit.mat')
 
 reshape (calib_const_row, 1, 64)
 
 fprintf (fileID,'%d-%d\n',)
 
 fprintf (fileID,'%d\t%d\t%f\n', A)
 
 fclose (fileID)
 
 disp ([DataFolder 'ShowerCalibFit_CablibConst.dat'])%%figure('name'
 
 histogram (DataSet(i).data(:, idx)*calib_const(idx),[0.:.1:16])
 
 set (gca,'YScale','log')
 

Variables

clear all close all global Ndata = 64
 
global DataSet =struct('FileID',{},'E',{},'DE',{},'data',{}, 'accept',{})
 
global low_tower_IDs =reshape( MeanFraction<0.001, 1, Ndata)
 
 DataFolder = 'E:/tmp/Transfer Buffer/ShowerCalib/'
 
 FileID = {'Rot45','THP','UIUC18','UpTilt5', 'ShowerDepth'}
 
 FileList = FileID
 
 energy_scale = 0.55*8/3000
 
 fixed_energy = 8
 
 sim_const = 3/100
 
 sim_stat = 12/100
 
 InitConst = [ones(1, 64) ]
 
 zero_sup = -1000
 
zero suppression disabled for i
 
end N_Runs = size(RunList, 2)
 
 data = textread(filename)
 
force fix beam energy settings energys = data(:,1)
 
 energy = unique(energys)
 
for j
 
 total_E = sum( DataSet(N_Runs).data* InitConst', 2)
 
 SumFraction = []
 
 Fraction = DataSet(i).data ./ total_E
 
 MeanFraction = mean(Fraction, 1)
 
colorbar E = %.1f GeV'
 
for col
 
 YScale
 
return InitConst_RunScale = [InitConst ones(1, N_Runs)]
 
 x = InitConst_RunScale
 
 options = optimset('Display','iter','TolX',1, 'MaxFunEvals', 100000,'MaxIter',40000,'PlotFcns',@optimplotfval )
 
 calib_const = x(1:Ndata)
 
 E_scale = x((Ndata+1):(Ndata + N_Runs))
 
colorbar New Old
 
 gcf
 
 ModuleDensity
 
 calib_const_col = reshape(calib_const_col,1,64)
 
 calib_const_row = reshape(calib_const_row,1,64)
 
 IDs = ~low_tower_IDs
 
 dens = reshape(ModuleDensity,1, 8* 8)
 
 calib_total_E = sum( DataSet(i).data* calib_const', 2)
 
 A = [reshape(calib_const_col,1,64)
 
 fileID = fopen([DataFolder 'ShowerCalibFit_CablibConst.dat'],'w')
 
 PaperPositionMode
 
 auto
 
 position
 

Function Documentation

data ( ,
 
)
data_selection ( InitConst_RunScale  ,
10   
)
data_selection ( x  ,
 
)
data_selection ( x  ,
 
)
data_selection ( x  ,
 
)
DataSet ( N_Runs  )
colorbar DataSet ( i  )
disp ( size(data )
disp ( object_function(InitConst_RunScale )
disp ( object_function(InitConst_RunScale, 2)  )
disp ( object_function(InitConst_RunScale, 1)  )
disp ( object_function(x )
disp ( )
dlmwrite ( filename  )
end end DrawDataSet ( DataSet  ,
InitConst  ,
'Inputs'   
)
DrawDataSet ( DataSet  ,
calib_const  ,
'Optimized'   
)
fclose ( fileID  )
figure ( 'name ,
'PaperPositionMode ,
'auto ,
... 'position  
)
figure ( 'name ,
'PaperPositionMode ,
'auto ,
...% 'position  
)
fprintf ( 'processing%s\n ,
filename   
)
fprintf ( 'processing%s-%.0f GeV @%d\n'  ,
filename  ,
energy(j ,
N_Runs   
)
fprintf ( fileID  ,
'%d-%d\n  
)
fprintf ( fileID  ,
'%d\t%d\t%f\n ,
A   
)
hist ( reshape(MeanFraction, size(MeanFraction, 1)*size(MeanFraction, 2), 1)  ,
100   
)
histogram ( DataSet(i).data(:, idx)  )

Referenced by BOOST_AUTO_TEST_CASE(), Acts::detail_vmt::VectorMultiTrajectoryBase::statistics(), and Acts::detail_vmt::VectorMultiTrajectoryBase::Statistics::toStream().

+ Here is the caller graph for this function:

histogram ( DataSet(i).data(:, idx)*calib_const(idx)  )
imagesc ( 0:7  ,
0:7  ,
MeanFraction   
)
imagesc ( 0:7  ,
0:7  ,
reshape(low_tower_IDs, 8, 8)   
)
imagesc ( 0:7  ,
0:7  ,
reshape(calib_const, 8, 8)   
)
imagesc ( 0:7  ,
0:7  ,
ModuleDensity   
)
plot ( calib_const  )
plot ( E_scale  ,
'x  
)
plot ( calib_const(IDs ,
dens  ,
'o'   
)
reshape ( calib_const_row  ,
,
64   
)
end save ( )
save ( 'goodfit.mat'  )
SaveCanvas ( gcf  )
colorbar set ( gca  ,
'YDir'  ,
'normal'   
)
set ( gca  ,
'XLim'   
)
set ( gca  ,
'YLim'   
)
set ( gca  ,
'YScale ,
'log'   
)
subplot ( ,
,
idx   
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
subplot ( ,
,
 
)
log title ( sprintf('Row%d Col%d', row-1, col-1)  )
title ( sprintf('Sum all data')  )
title ( 'fraction of shower energy carried by each tower )
title ( sprintf('Low hit towers')  )
title ( sprintf('Calibration constant')  )
title ( sprintf('Energy scale constant, mean=%.2f', mean(E_scale))  )
title ( sprintf('Calibration constant, New/Old')  )
title ( sprintf('THP 3x3, Calibration adjustment VS density')  )
title ( sprintf('All calibrated modules, Calibration adjustment VS density')  )
xlabel ( 'Column ID'  )
xlabel ( 'MeanFraction )
xlabel ( 'Col *8+Row'  )
xlabel ( 'Run ID'  )
xlabel ( 'Calibration  constant,
New/Old  
)
ylabel ( 'Row ID'  )
ylabel ( 'Calibration New/Old )
ylabel ( 'Energy scale New/Old )
ylabel ( 'Module Density'  )

Variable Documentation

Definition at line 371 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 371 of file Proto4ShowerCalibFit.m

auto

Definition at line 386 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 386 of file Proto4ShowerCalibFit.m

calib_const = x(1:Ndata)

Definition at line 234 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 234 of file Proto4ShowerCalibFit.m

calib_const_col = reshape(calib_const_col,1,64)

Definition at line 316 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 316 of file Proto4ShowerCalibFit.m

calib_const_row = reshape(calib_const_row,1,64)

Definition at line 317 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 317 of file Proto4ShowerCalibFit.m

calib_total_E = sum( DataSet(i).data* calib_const', 2)

Definition at line 359 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 359 of file Proto4ShowerCalibFit.m

for col
Initial value:
= 1:8
for row = 1:8
idx = col + (row - 1)*8

Definition at line 131 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 131 of file Proto4ShowerCalibFit.m

Referenced by PHG4MicromegasDisplayAction::AddVolume(), Acts::Test::BOOST_AUTO_TEST_CASE(), HybridHadronization::bring_hadrons_to_mass_shell(), Acts::Test::checkCloseCovariance(), Acts::detail_vtc::VectorTrackContainerBase::checkConsistency(), PHG4InttHitReco::cluster_truthhits(), PHG4MvtxHitReco::cluster_truthhits(), InttClusterizer::ClusterLadderCells(), InttClusterizer::ClusterLadderCellsRaw(), MvtxPrototype2Clusterizer::ClusterMvtx(), MvtxClusterizer::ClusterMvtx(), MvtxClusterizer::ClusterMvtxRaw(), Acts::detail_vtc::VectorTrackContainerBase::component_impl(), Acts::PodioTrackStateContainerBase::component_impl(), Acts::detail_vmt::VectorMultiTrajectoryBase::component_impl(), Jetscape::InitialState::CoordFromIdx(), oncsSub_idmvtxv2::decode(), ColoredHadronization::DoHadronization(), ColorlessHadronization::DoHadronization(), oncsSub_idmvtxv1::encode_hit(), oncsSub_idmvtxv2::encode_hit(), Proto4SampleFrac::find_max(), Proto4ShowerCalib::find_max(), Proto2ShowerCalib::find_max(), Proto3ShowerCalib::find_max(), Proto4TowerCalib::find_max(), ExampleAnalysisModule::find_max(), HybridHadronization::findcloserepl(), HybridHadronization::findcloserepl_glu(), GammaNeutronEnergy2DGraphMaker(), Acts::CpuMatrix< var_t >::get(), HybridHadronization::invoke_py(), Proto4ShowerCalib::LoadRecalibMap(), Proto2ShowerCalib::LoadRecalibMap(), Proto3ShowerCalib::LoadRecalibMap(), Acts::CpuMatrix< var_t >::m_setSize(), MvtxUnpackPRDF::MakeHits(), mask_pixels(), Acts::Test::float_compare_internal::matrixCompare(), oncsSub_idmvtxv1::mvtx_decode(), OnlineAnalysis(), noiPads::operator()(), pevrec(), plot_comparisons_clusters(), plot_comparisons_purity(), plot_ntp_track_out(), EventInfoSummary::process_event(), Proto4ShowerCalib::process_event(), Proto2ShowerCalib::process_event(), Proto3ShowerCalib::process_event(), Proto4TowerCalib::process_event(), MvtxCombinedRawDataDecoder::process_event(), ExampleAnalysisModule::process_event(), AnaMvtxTestBeam2019::process_event(), process_histos(), genfit::GFGbl::processTrackWithRep(), Proto2ShowerCalib::Proto2ShowerCalib(), Proto3ShowerCalib::Proto3ShowerCalib(), Proto4ShowerCalib::Proto4ShowerCalib(), MvtxApplyHotDead::ReadHotDeadFile(), HybridHadronization::recomb(), Acts::MutablePodioTrackStateContainer::releaseInto(), Acts::CpuMatrix< var_t >::set(), Jetscape::Parton::set_color(), HybridHadronization::set_initial_parton_masses(), Jetscape::Parton::set_max_color(), Jetscape::Parton::set_min_color(), HybridHadronization::set_spacetime_for_pythia_hadrons(), HybridHadronization::stringform(), HybridHadronization::stringprep(), Acts::Test::MultiTrajectoryTestsCommon< factory_t >::testMultiTrajectoryExtraColumns(), and upsilon_raa_sphenix_estimator().

data = textread(filename)

Definition at line 54 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 54 of file Proto4ShowerCalibFit.m

DataFolder = 'E:/tmp/Transfer Buffer/ShowerCalib/'

Definition at line 11 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 11 of file Proto4ShowerCalibFit.m

Readin global DataSet DataSet =struct('FileID',{},'E',{},'DE',{},'data',{}, 'accept',{})

Definition at line 6 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 6 of file Proto4ShowerCalibFit.m

dens = reshape(ModuleDensity,1, 8* 8)

Definition at line 321 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 321 of file Proto4ShowerCalibFit.m

colorbar E = %.1f GeV'

Definition at line 117 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 117 of file Proto4ShowerCalibFit.m

E_scale = x((Ndata+1):(Ndata + N_Runs))

Definition at line 235 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 235 of file Proto4ShowerCalibFit.m

energy = unique(energys)

Definition at line 60 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 60 of file Proto4ShowerCalibFit.m

energy_scale = 0.55*8/3000

Definition at line 21 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 21 of file Proto4ShowerCalibFit.m

force fix beam energy settings energys = data(:,1)

Definition at line 59 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 59 of file Proto4ShowerCalibFit.m

FileID = {'Rot45','THP','UIUC18','UpTilt5', 'ShowerDepth'}

Definition at line 13 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 13 of file Proto4ShowerCalibFit.m

fileID = fopen([DataFolder 'ShowerCalibFit_CablibConst.dat'],'w')

Definition at line 374 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 374 of file Proto4ShowerCalibFit.m

Definition at line 19 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 19 of file Proto4ShowerCalibFit.m

fixed_energy = 8

Definition at line 22 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 22 of file Proto4ShowerCalibFit.m

Fraction = DataSet(i).data ./ total_E

Definition at line 107 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 107 of file Proto4ShowerCalibFit.m

gcf

Definition at line 270 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 270 of file Proto4ShowerCalibFit.m

Save out for i
Initial value:
= 1:size(FileList,2)
FileList{i} = [DataFolder FileList{i} '.lst_EMCalCalib.root.dat']

Definition at line 34 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 34 of file Proto4ShowerCalibFit.m

IDs = ~low_tower_IDs

Definition at line 318 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 318 of file Proto4ShowerCalibFit.m

InitConst = [ones(1, 64) ]

Definition at line 28 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 28 of file Proto4ShowerCalibFit.m

InitConst_RunScale = [InitConst ones(1, N_Runs)]

Definition at line 188 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 188 of file Proto4ShowerCalibFit.m

for j
Initial value:
=1:size(energy, 1)

Definition at line 67 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 67 of file Proto4ShowerCalibFit.m

low_tower_IDs =reshape( MeanFraction<0.001, 1, Ndata)

Definition at line 7 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 7 of file Proto4ShowerCalibFit.m

MeanFraction = mean(Fraction, 1)

Definition at line 108 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 108 of file Proto4ShowerCalibFit.m

ModuleDensity
Initial value:
=[
% 10.19 8.47 8.96 9.77
% 9.74 9.96 10.00 9.87
% 9.25 9.83 9.32 10.10
% 9.59 9.39 10.06 9.62
% 9.48 9.5 9.34 9.33
% 9.43 9.34 9.39 9.55
% 9.21 9.55 9.3 9.3
% 9.5 9.6 9.3 9.24
% ]

Definition at line 276 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 276 of file Proto4ShowerCalibFit.m

N_Runs = size(RunList, 2)

Definition at line 42 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 42 of file Proto4ShowerCalibFit.m

Ndata = 64

Definition at line 5 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 5 of file Proto4ShowerCalibFit.m

colorbar New Old

Definition at line 255 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 255 of file Proto4ShowerCalibFit.m

options = optimset('Display','iter','TolX',1, 'MaxFunEvals', 100000,'MaxIter',40000,'PlotFcns',@optimplotfval )

Definition at line 202 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 202 of file Proto4ShowerCalibFit.m

PaperPositionMode

Definition at line 386 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 386 of file Proto4ShowerCalibFit.m

position

Definition at line 386 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 386 of file Proto4ShowerCalibFit.m

Referenced by ClusterSequence::_extract_tree_children(), ClusterSequence::_extract_tree_parents(), accessRandom(), accessStepWise(), pythiaEMCalAna::addPrimaryFromPythia(), Acts::Surface::alignmentToBoundDerivativeWithoutCorrection(), Acts::ConeSurface::alignmentToPathDerivative(), Acts::CylinderSurface::alignmentToPathDerivative(), Acts::LineSurface::alignmentToPathDerivative(), Acts::Surface::alignmentToPathDerivative(), Acts::Test::basicChecks(), Acts::BinUtility::binTriple(), BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), Fatras::Test::BOOST_AUTO_TEST_CASE(), Fatras::Test::BOOST_DATA_TEST_CASE(), Acts::LineSurface::boundToFreeJacobian(), Acts::Surface::boundToFreeJacobian(), KshortReconstruction::calculateDca(), Acts::Experimental::MultiLayerSurfacesUpdatorImpl< grid_t, path_generator >::castPosition(), Acts::Experimental::IndexedUpdatorImpl< VariableBoundIndexGrid1, DetectorVolumesCollection, DetectorVolumeFiller >::castPosition(), Acts::CartesianSegmentation::cell(), Acts::PlanarModuleStepper::cellSteps(), TrackFitUtils::circle_fit_by_taubin(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities::CleanseNodeName(), CMDistortionReco(), CMDistortionRecoCart(), CMDistortionRecoPhiR(), Acts::SeedFinderOrthogonal< external_spacepoint_t >::createSeeds(), Acts::EventDataView3D::drawBoundTrackParameters(), ActsExamples::SeedingOrthogonalAlgorithm::execute(), ActsExamples::SeedingFTFAlgorithm::execute(), ActsExamples::SeedingAlgorithm::execute(), helixResiduals::fill_residuals(), TrkrNtuplizer::fillOutputNtuples(), ActsEvaluator::fillProtoTrack(), Acts::Experimental::Detector::findDetectorVolume(), PHActsInitialVertexFinder::findVertices(), Acts::FullBilloirVertexFitter< input_track_t, linearizer_t >::fit(), HIJINGFlipAfterburner::flipZDirection(), Acts::Surface::freeToBoundJacobian(), Acts::LineSurface::freeToPathDerivative(), Acts::Surface::freeToPathDerivative(), PHG4PrimaryGeneratorAction::GeneratePrimaries(), Acts::InterpolatedBFieldMap< grid_t >::getField(), Acts::InterpolatedBFieldMap< grid_t >::getFieldCell(), Acts::InterpolatedBFieldMap< grid_t >::getFieldGradient(), Acts::InterpolatedBFieldMap< grid_t >::getFieldUnchecked(), Hydroinfo_MUSIC::getHydroValues(), G4Pythia6Decayer::GetParticlePosition(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::GetPartonInfo(), AnnularFieldSim::GetTotalDistortion(), PhDi::GetValue(), Acts::PlaneSurface::globalToLocal(), Acts::ConeSurface::globalToLocal(), Acts::BinUtility::inside(), Acts::LineSurface::intersect(), Acts::ConeSurface::intersectionSolver(), Acts::InterpolatedBFieldMap< grid_t >::isInside(), Acts::detail::GenericDenseEnvironmentExtension< scalar_t >::k(), TrackFitUtils::line_fit(), Acts::ConeSurface::localCartesianToBoundLocalDerivative(), Acts::CylinderSurface::localCartesianToBoundLocalDerivative(), Acts::LineSurface::localCartesianToBoundLocalDerivative(), Acts::CylinderSurface::localToGlobal(), PHCosmicsTrkFitter::loopTracks(), PHActsTrkFitter::loopTracks(), main(), genfit::EventDisplay::makeLines(), PHTpcResiduals::makeTrackParams(), Acts::SurfaceMaterialMapper::mapInteraction(), Acts::VolumeMaterialMapper::mapMaterialTrack(), meanFromFree(), MoveDescendantsToParent(), Acts::ConeSurface::normal(), Acts::CylinderSurface::normal(), Acts::BinnedArrayXD< T >::object(), Acts::MaterialCollector::operator()(), Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()(), Acts::ConeSurface::pathCorrection(), Acts::MultiEigenStepperLoop< extensionlist_t, component_reducer_t, auctioneer_t >::position(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::reassignTracksToNewVertex(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::removeUsedCompatibleTracks(), ClosestPair2D::replace(), ActsExamples::RootBFieldWriter::run(), PHActsKDTreeSeeding::runSeeder(), PHActsSiliconSeeding::runSeeder(), Acts::AdaptiveMultiVertexFitter< input_track_t, linearizer_t >::setAllVertexCompatibilities(), EcoMug::SetCylinderCenterPosition(), EcoMug::SetHSphereCenterPosition(), SColdQcdCorrelatorAnalysis::SCorrelatorUtilities::ParInfo::SetInfo(), EcoMug::SetSkyCenterPosition(), Acts::AdaptiveMultiVertexFitter< input_track_t, linearizer_t >::setWeightsAndUpdate(), PHHepMCGenHelper::smear(), PHG4ParticleGeneratorVectorMeson::smearvtx(), PHG4SimpleEventGenerator::smearvtx(), Acts::EigenStepper< extensionlist_t, auctioneer_t >::step(), Acts::detail::transformBoundToFreeParameters(), Acts::detail::transformFreeToBoundParameters(), Acts::Experimental::updateCandidates(), Acts::Experimental::Portal::updateDetectorVolume(), Acts::MultiEigenStepperLoop< extensionlist_t, component_reducer_t, auctioneer_t >::updateStepSize(), PHActsVertexPropagator::updateSvtxTrack(), Martini::use_elastic_table_omega(), Martini::use_elastic_table_q(), and ActsExamples::RootTrajectorySummaryWriter::writeT().

sim_const = 3/100

Definition at line 25 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 25 of file Proto4ShowerCalibFit.m

sim_stat = 12/100

Definition at line 26 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 26 of file Proto4ShowerCalibFit.m

SumFraction = []

Definition at line 101 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 101 of file Proto4ShowerCalibFit.m

total_E = sum( DataSet(N_Runs).data* InitConst', 2)

Definition at line 79 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 79 of file Proto4ShowerCalibFit.m

Definition at line 200 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 200 of file Proto4ShowerCalibFit.m

YScale

Definition at line 140 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 140 of file Proto4ShowerCalibFit.m

zero_sup = -1000

Definition at line 30 of file Proto4ShowerCalibFit.m.

View newest version in sPHENIX GitHub at line 30 of file Proto4ShowerCalibFit.m