|  | 
								EIC Software
							 
								Reference for 
								EIC 
								simulation and reconstruction software on GitHub
							 | 
See the main function Example() More...
#include <TFile.h>#include <TPad.h>#include <TString.h>#include <TSystem.h>#include <TTree.h>#include <cassert>#include <cmath>#include <calobase/RawTower.h>#include <calobase/RawTowerv1.h>#include <g4main/PHG4HitEval.h>#include <g4main/PHG4Particlev1.h>#include <g4main/PHG4Particlev2.h>#include <g4main/PHG4VtxPointv1.h> Include dependency graph for Example.C:
 Include dependency graph for Example.C:Go to the source code of this file.
| Functions | |
| void | CheckItOut () | 
| First, checkout what is in there. | |
| void | AcessGeant4Particles () | 
| Access information for the truth Geant4 particles. | |
| void | WhereIsTheHits () | 
| void | PlotCalorimeterSamplingFraction () | 
| void | AccessCalorimeterTowers () | 
| void | Example (const TString infile="https://www.phenix.bnl.gov/phenix/WWW/sPHENIX/tutorial/G4sPHENIX.root_DSTReader.root") | 
| Variables | |
| TFile * | _file0 = NULL | 
| TTree * | T = NULL | 
| void AccessCalorimeterTowers | ( | ) | 
| void AcessGeant4Particles | ( | ) | 
| void CheckItOut | ( | ) | 
| void Example | ( | const TString | infile = "https://www.phenix.bnl.gov/phenix/WWW/sPHENIX/tutorial/G4sPHENIX.root_DSTReader.root" | ) | 
Definition at line 148 of file Example.C.
View newest version in sPHENIX GitHub at line 148 of file Example.C
References _file0, AccessCalorimeterTowers(), AcessGeant4Particles(), CheckItOut(), PlotCalorimeterSamplingFraction(), T, and WhereIsTheHits().
 Here is the call graph for this function:
 Here is the call graph for this function:| void PlotCalorimeterSamplingFraction | ( | ) | 
| void WhereIsTheHits | ( | ) | 
X-Y distribution for the hits note, as long as we load libg4eval.so, the compiled functions can be used in T->Draw. Example, I will use PHG4Hit::get_avg_x(), https://www.phenix.bnl.gov/WWW/sPHENIX/doxygen/html/d3/d9e/classPHG4Hit.html#a99663034e71d3f324eb878eb0e3b36ba
Definition at line 76 of file Example.C.
View newest version in sPHENIX GitHub at line 76 of file Example.C
References T.
Referenced by Example().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| TFile* _file0 = NULL | 
| TTree* T = NULL | 
Definition at line 31 of file Example.C.
View newest version in sPHENIX GitHub at line 31 of file Example.C
Referenced by AccessCalorimeterTowers(), AcessGeant4Particles(), AddFlowToParent(), nanoflann::allocate(), nanoflann::PooledAllocator::allocate(), erhic::File< T >::AllocateEvent(), analysis_resolution(), kdfinder::TVector< T >::angle(), kdfinder::angle_between_vectors(), kdfinder::TrackCandidate< T >::approxLength(), kdfinder::Helix< T >::bad(), dfe::SmallVector< T, N, Allocator >::begin(), Smear::EventFactory< Smear::Event >::Branch(), kdfinder::TrackCandidate< T >::calcMinMaxR(), kdfinder::Data< T >::center(), CheckItOut(), kdfinder::CircleFit< T >::ChiSqr(), kdfinder::CircleFit< T >::CircleFitByChernovHoussam(), kdfinder::CircleFit< T >::CircleFitByHyper(), kdfinder::CircleFit< T >::CircleFitByPratt(), kdfinder::CircleFit< T >::CircleFitByTaubin(), erhic::EventFromAsciiFactory< T >::Create(), nlohmann::basic_json::create(), CbmHistManager::Create1(), CbmHistManager::Create2(), Acts::Test::createPlanarTransform(), Acts::Sycl::createSeedsForGroupSycl(), kdfinder::Helix< T >::curvatureSignedDistance(), genfit::MaterialEffects::dEdxBrems(), dfe::SmallVector< T, N, Allocator >::destruct_deallocate_onheap(), dfe::SmallVector< T, N, Allocator >::destruct_inplace(), dpipe_register(), FairRegistryItemXxx< T >::Dup(), EicBitMask< ULogicalIndex_t >::EicBitMask(), kdfinder::CircleFit< T >::eigen2x2(), dfe::SmallVector< T, N, Allocator >::emplace(), dfe::FlatMap< Key, T, Compare >::emplace(), GFMaterialEffects::energyLossBrems(), Acts::detail::ensureThetaBounds(), Example(), kdfinder::export_candidates_json(), kdfinder::export_candidates_json_old(), boost::array< T, 0 >::failed_rangecheck(), Smear::EventFactory< Smear::Event >::Fill(), kdfinder::find_vertex_seeds(), kdfinder::Helix< T >::fudgePathLength(), kdfinder::Helix< T >::geometricSignedDistance(), ActsExamples::WhiteBoard::get(), kdfinder::get_track_color(), findNode::getClass(), kdfinder::TrackCandidate< T >::getMomForHit(), kdfinder::TrackCandidate< T >::getS(), FairRegistryItemXxx< T >::GetType(), kdfinder::CircleFit< T >::GradientHessian(), PHPointerList< T >::grow(), Acts::interpolate(), PHSimpleKFProp::KDPointCloud< T >::kdtree_distance(), kdfinder::KDPointCloud< double >::kdtree_distance(), nanoflann::load_value(), LoopEval(), main(), kdfinder::make_triplets(), Acts::Surface::makeShared(), kdfinder::merge_track_candidates(), kdfinder::Helix< T >::momentum(), kdfinder::Helix< T >::moveOrigin(), MultiArray< TVector3 >::MultiArray(), Acts::BinnedArrayXD< T >::objectCluster(), Acts::DistanceSorterT< T >::operator()(), nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::operator()(), nanoflann::L2_Adaptor< T, DataSource, _DistanceType >::operator()(), dfe::SmallVector< T, N, Allocator >::operator[](), kdfinder::CircleFit< T >::OptimalRadius(), kdfinder::TVector< T >::orthogonal(), kdfinder::Helix< T >::pathLength(), kdfinder::Helix< T >::pathLengths(), PHPointerList< T >::PHPointerList(), kdfinder::TrackCandidate< T >::Pl(), Acts::PlaneSurface::PlaneSurface(), PlotCalorimeterSamplingFraction(), dfe::polynomial_val(), dfe::polynomial_valder(), parameter< bool, NO_VALIDITY_CHECK >::ptr(), kdfinder::CircleFit< T >::pythag(), Acts::detail::radian_pos(), Acts::detail::radian_sym(), FairRegistryItemXxx< T >::ReadStream(), kdfinder::LinearFit< T >::RegularFit(), PHPointerList< T >::removeAt(), kdfinder::rnd_gauss(), kdfinder::LinearFit< T >::RobustFit(), kdfinder::LinearFit< T >::rofunc(), kdfinder::TVector< T >::rotateX(), kdfinder::TVector< T >::rotateY(), kdfinder::TVector< T >::rotateZ(), nanoflann::save_value(), kdfinder::Data< T >::scale(), kdfinder::LinearFit< T >::select(), SelectorFcn(), EicBitMask< ULogicalIndex_t >::SetMask(), boost::shared_polymorphic_downcast(), kdfinder::CircleFit< T >::Sigma(), kdfinder::CircleFit< T >::SigmaWithLargeCircleOption(), lit::Sign(), kdfinder::TrackCandidate< T >::sign(), Similarity(), kdfinder::LinearFit< T >::SWAP(), nlohmann::detail::to_json_tuple_impl(), lit::ToString(), FairGeanePro::Track3ToLine(), FairGeanePro::Track3ToPoint(), ActsExamples::WhiteBoard::HolderT< T, typename >::type(), kdfinder::TVector< T >::unit(), WhereIsTheHits(), Acts::detail::wrap_periodic(), and dfe::NamedTupleNumpyWriter< NamedTuple >::write_bytes().