EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
charm_jet_strange_helicity Namespace Reference

Functions

def DifferentialTaggingYield
 

Variables

tuple parser argparse.ArgumentParser()
 
string help "Directory containing input files"
 
tuple args parser.parse_args()
 
int u_fb 1
 
int u_mb 1
 
int u_pb 1
 
dictionary draw_config {}
 
list xvar draw_config['xvar']
 
list xrange draw_config['xrange']
 
list xbins draw_config['xbins']
 
list ylimits draw_config['ylimits']
 
list xlimits draw_config['xlimits']
 
list yunits draw_config['yunits']
 
list xunits draw_config['xunits']
 
list branchlist ["Jet.PT", "Jet.Eta", "Jet.Flavor", "Jet.BTag", "Particle.Px", "Particle.Py", "Particle.Pz", "Particle.E"]
 
tuple df eat.UprootLoad([f"../{args.input}/*/out.root"], "Delphes", branches=branchlist)
 
dictionary aux_data {}
 
tuple var_array np.concatenate(df[aux_var].to_numpy())
 
string ucr_blue "#2D6CC0"
 
string ucr_gold "#F1AB00"
 
string ucr_gray "#393841"
 
tuple charm_ct18nnlo DifferentialTaggingYield(df, x=xvar, xrange=xrange, xbins=xbins, which='charm', process=process)
 
float polarization_e 0.70
 
float polarization_p 0.70
 
float polarization 0.70
 
list N charm_ct18nnlo[2]
 
tuple errN np.zeros(len(N))
 
float dA 1.0
 
tuple gridspec fig.add_gridspec(ncols=1, nrows=1, width_ratios=[1], height_ratios=[1])
 
list bins charm_ct18nnlo[0]
 
list bin_widths charm_ct18nnlo[1]
 
tuple zero_line np.zeros(len(bins))
 
tuple ax1 fig.add_subplot(gridspec[0, 0])
 
string bandlabel "$\delta A$ ($p={polarization*100:.0f}\%$)"
 
list errorboxes
 
tuple pc mpl.collections.PatchCollection(errorboxes, facecolor=ucr_blue, alpha=0.8, label=bandlabel)
 
string xvar_symbol "p_T"
 

Function Documentation

def charm_jet_strange_helicity.DifferentialTaggingYield (   df,
  x = 'Jet.PT',
  xrange = [10,
  xbins = [10,
  which = 'all',
  process = 'CC_DIS_e18_p275_B15' 
)

Definition at line 117 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 117 of file charm_jet_strange_helicity.py

References print().

+ Here is the call graph for this function:

Variable Documentation

tuple charm_jet_strange_helicity.args parser.parse_args()

Definition at line 37 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 37 of file charm_jet_strange_helicity.py

dictionary charm_jet_strange_helicity.aux_data {}

Definition at line 97 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 97 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.ax1 fig.add_subplot(gridspec[0, 0])

Definition at line 210 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 210 of file charm_jet_strange_helicity.py

Referenced by EicCadWizardCylinder.EicCadWizardCylinder().

string charm_jet_strange_helicity.bandlabel "$\delta A$ ($p={polarization*100:.0f}\%$)"

Definition at line 214 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 214 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.bin_widths charm_ct18nnlo[1]

Definition at line 205 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 205 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.branchlist ["Jet.PT", "Jet.Eta", "Jet.Flavor", "Jet.BTag", "Particle.Px", "Particle.Py", "Particle.Pz", "Particle.E"]

Definition at line 88 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 88 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.charm_ct18nnlo DifferentialTaggingYield(df, x=xvar, xrange=xrange, xbins=xbins, which='charm', process=process)

Definition at line 172 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 172 of file charm_jet_strange_helicity.py

float charm_jet_strange_helicity.dA 1.0

Definition at line 195 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 195 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots(), and RKTrackRep.RKutta().

tuple charm_jet_strange_helicity.df eat.UprootLoad([f"../{args.input}/*/out.root"], "Delphes", branches=branchlist)

Definition at line 92 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 92 of file charm_jet_strange_helicity.py

dictionary charm_jet_strange_helicity.draw_config {}

Definition at line 49 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 49 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots(), DrawTagEfficiencyPlot(), DrawTagYieldPlot(), and KaonIDStudy().

tuple charm_jet_strange_helicity.errN np.zeros(len(N))

Definition at line 182 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 182 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.errorboxes
Initial value:
1 [mpl.patches.Rectangle((x - xe, y - ye), 2*xe, 2*ye, facecolor=ucr_blue, alpha=0.8,
2  label=bandlabel)
3  for x, y, xe, ye in zip(bins, zero_line, (bin_widths/2), dA)]

Definition at line 217 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 217 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.gridspec fig.add_gridspec(ncols=1, nrows=1, width_ratios=[1], height_ratios=[1])

Definition at line 202 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 202 of file charm_jet_strange_helicity.py

string charm_jet_strange_helicity.help "Directory containing input files"

Definition at line 33 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 33 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.N charm_ct18nnlo[2]

Definition at line 181 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 181 of file charm_jet_strange_helicity.py

Referenced by tetgenmesh.add_steinerpt_in_schoenhardtpoly(), nanoflann::CArray< T, N >.assign(), boost::array< T, N >.back(), nanoflann::CArray< T, N >.back(), dfe::SmallVector< T, N, Allocator >.begin(), Acts::detail::stepper_extension_list_impl< N >.bid(), dfe::SmallVector< T, N, Allocator >.capacity(), boost::array< T, N >.cend(), tetgenmesh.checktet4split(), dfe::SmallVector< T, N, Allocator >.clear(), nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< double, kdfinder::KDPointCloud< double > >, kdfinder::KDPointCloud< double >, 3 >.computeBoundingBox(), Acts::ConvexPolygonBoundsBase.convex_impl(), Acts::ConvexPolygonBounds< N >.ConvexPolygonBounds(), BEmcRec.CopyVector(), SeamStress::Seamstress.create_vector(), G4EicDircDetector.DefineMaterials(), dfe::SmallVector< T, N, Allocator >.emplace(), boost::array< T, N >.end(), nanoflann::CArray< T, N >.end(), Acts::detail::grid_helper_impl< N >.exteriorBinIndices(), Acts::detail::grid_helper_impl< 0u >.exteriorBinIndices(), fillEvent(), Acts::RiddersPropagator< propagator_t >.fitLinear(), nlohmann::detail.from_json(), nlohmann::detail.from_json_array_impl(), Acts::detail::grid_helper_impl< N >.getAxes(), Acts::detail::grid_helper_impl< N >.getBinCenter(), Acts::detail::grid_helper_impl< N >.getGlobalBin(), Acts::detail::grid_helper_impl< N >.getLocalBinIndices(), Acts::detail::grid_helper_impl< N >.getLowerLeftBinEdge(), Acts::detail::grid_helper_impl< N >.getLowerLeftBinIndices(), Acts::detail::grid_helper_impl< N >.getMax(), Acts::detail::grid_helper_impl< N >.getMin(), Acts::detail::grid_helper_impl< N >.getNBins(), genfit::GblFitter.getScattererFromMatList(), getScattererFromMatList(), ActsFatras::detail::GeneralMixture.getSemigauss(), Acts::detail::grid_helper_impl< N >.getUpperRightBinEdge(), Acts::detail::grid_helper_impl< N >.getUpperRightBinIndices(), Acts::detail::grid_helper_impl< N >.getWidth(), hijfst_(), tetgenmesh.hilbert_init(), FairEventManager.Init(), Acts::detail::make_projection_matrix< columns, i, N...>.init(), SeamStress::Seamstress.init_vector(), Acts.interpolate(), Acts::detail::grid_helper_impl< N >.isInside(), tetgenmesh.lu_decmp(), tetgenmesh.lu_solve(), main(), boost::array< T, N >.max_size(), nanoflann::CArray< T, N >.max_size(), Acts::detail::grid_helper_impl< N >.neighborHoodIndices(), std::hash< std::array< T, N > >.operator()(), dfe::SmallVector< T, N, Allocator >.operator[](), boost::array< T, N >.operator[](), genfit::KalmanFitterRefTrack.processTrackPoint(), genfit::KalmanFitterRefTrack.processTrackPointSqrt(), tetgenmesh.qualitystatistics(), twoPhotonLuminosity.radmul(), nanoflann::CArray< T, N >.resize(), EicEventManager.Run(), GFDetPlane.setNormal(), EICG4dRICHPhotosensor.setOpticalParams(), SeamStress::Pincushion< sPHENIXTrackerTpc >.sewOpenlySoft(), SeamStress::Pincushion< sPHENIXTrackerTpc >.sewOpenlyStraight(), SeamStress::Pincushion< sPHENIXTrackerTpc >.sewSoftly(), SeamStress::Pincushion< sPHENIXTrackerTpc >.sewStraight(), Similarity(), boost::array< T, N >.size(), nanoflann::CArray< T, N >.size(), boost::array< T, N >.swap(), Acts.template_switch(), tetgenmesh.tetalldihedral(), tetgenmesh.tetaspectratio(), SeamStress::Pincushion< sPHENIXTrackerTpc >.tieOff(), FairGeanePro.Track3ToLine(), dfe::namedtuple_impl.unstringify(), nlohmann::detail::binary_writer< BasicJsonType, CharType >.write_cbor(), nlohmann::detail::binary_writer< BasicJsonType, CharType >.write_msgpack(), and BEmcRec.ZeroVector().

tuple charm_jet_strange_helicity.parser argparse.ArgumentParser()

Definition at line 30 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 30 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.pc mpl.collections.PatchCollection(errorboxes, facecolor=ucr_blue, alpha=0.8, label=bandlabel)

Definition at line 222 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 222 of file charm_jet_strange_helicity.py

Referenced by tetgenmesh.add_steinerpt_in_schoenhardtpoly(), tetgenmesh.add_steinerpt_in_segment(), Acts::Test.BOOST_AUTO_TEST_CASE(), tetgenmesh.calculateabovepoint(), tetgenmesh.carveholes(), tetgenmesh.checkconforming(), tetgenmesh.checkdelaunay(), tetgenmesh.checkfac4split(), tetgenmesh.checkflipeligibility(), tetgenmesh.checkmesh(), tetgenmesh.checktet4split(), tetgenmesh.delaunizecavity(), Acts::LineSurface.derivativeFactors(), RawClusterBuilderTopo.export_clusters(), tetgenmesh.fillcavity(), tetgenmesh.fillregion(), Acts::Test.fillTrackState(), tetgenmesh.finddirection(), tetgenmesh.flip22(), tetgenmesh.flip23(), tetgenmesh.flip31(), tetgenmesh.flip32(), tetgenmesh.flip41(), tetgenmesh.flipnm(), tetgenmesh.getpointmeshsize(), tetgenmesh.insertpoint(), tetgenmesh.insphere_s(), Acts::CylinderSurface.intersectionSolver(), tetgenmesh.lawsonflip(), tetgenmesh.mergefacets(), tetgenmesh.orient4d_s(), RawClusterBuilderTemplate.process_event(), RawClusterBuilderTopo.process_event(), tetgenmesh.recoveredgebyflips(), tetgenmesh.recoverfacebyflips(), tetgenmesh.removefacebyflips(), tetgenmesh.scoutcrossedge(), tetgenmesh.scoutpoint(), tetgenmesh.scoutsegment(), tetgenmesh.scoutsubface(), CylindricalHough.setPhiCut(), tetgenmesh.slocate(), tetgenmesh.smoothpoint(), tetgenmesh.splitsubface(), tetgenmesh.sremovevertex(), tetgenmesh.sscoutsegment(), tetgenmesh.suppressbdrysteinerpoint(), tetgenmesh.triangulate(), and tetgenmesh.unifysubfaces().

float charm_jet_strange_helicity.polarization 0.70

Definition at line 179 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 179 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots().

float charm_jet_strange_helicity.polarization_e 0.70

Definition at line 177 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 177 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots().

float charm_jet_strange_helicity.polarization_p 0.70

Definition at line 178 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 178 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots().

int charm_jet_strange_helicity.u_fb 1

Definition at line 43 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 43 of file charm_jet_strange_helicity.py

int charm_jet_strange_helicity.u_mb 1

Definition at line 44 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 44 of file charm_jet_strange_helicity.py

int charm_jet_strange_helicity.u_pb 1

Definition at line 45 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 45 of file charm_jet_strange_helicity.py

string charm_jet_strange_helicity.ucr_blue "#2D6CC0"

Definition at line 110 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 110 of file charm_jet_strange_helicity.py

string charm_jet_strange_helicity.ucr_gold "#F1AB00"

Definition at line 111 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 111 of file charm_jet_strange_helicity.py

string charm_jet_strange_helicity.ucr_gray "#393841"

Definition at line 112 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 112 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.var_array np.concatenate(df[aux_var].to_numpy())

Definition at line 105 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 105 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.xbins draw_config['xbins']

Definition at line 82 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 82 of file charm_jet_strange_helicity.py

Referenced by CharmTagPlots(), and PHG4BlockCellReco.InitRun().

list charm_jet_strange_helicity.xlimits draw_config['xlimits']

Definition at line 84 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 84 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.xrange draw_config['xrange']
list charm_jet_strange_helicity.xunits draw_config['xunits']

Definition at line 86 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 86 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.xvar draw_config['xvar']

Definition at line 80 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 80 of file charm_jet_strange_helicity.py

string charm_jet_strange_helicity.xvar_symbol "p_T"

Definition at line 232 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 232 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.ylimits draw_config['ylimits']

Definition at line 83 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 83 of file charm_jet_strange_helicity.py

list charm_jet_strange_helicity.yunits draw_config['yunits']

Definition at line 85 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 85 of file charm_jet_strange_helicity.py

tuple charm_jet_strange_helicity.zero_line np.zeros(len(bins))

Definition at line 207 of file charm_jet_strange_helicity.py.

View newest version in sPHENIX GitHub at line 207 of file charm_jet_strange_helicity.py