Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:55:28

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4EIC_ClusterDATA_H
0004 #define EDM4EIC_ClusterDATA_H
0005 
0006 #include "edm4eic/Cov2f.h"
0007 #include "edm4eic/Cov3f.h"
0008 #include "edm4hep/Vector3f.h"
0009 #include <cstdint>
0010 
0011 namespace edm4eic {
0012 
0013 
0014 /** @class ClusterData
0015  *  EIC hit cluster, reworked to more closely resemble EDM4hep
0016  *  @author: W. Armstrong, S. Joosten, C.Peng
0017  */
0018 class ClusterData {
0019 public:
0020   std::int32_t type{}; ///< Flag-word that defines the type of the cluster
0021   float energy{}; ///< Reconstructed energy of the cluster [GeV].
0022   float energyError{}; ///< Error on the cluster energy [GeV]
0023   float time{}; ///< [ns]
0024   float timeError{}; ///< Error on the cluster time
0025   std::uint32_t nhits{}; ///< Number of hits in the cluster.
0026   ::edm4hep::Vector3f position{}; ///< Global position of the cluster [mm].
0027   ::edm4eic::Cov3f positionError{}; ///< Covariance matrix of the position (6 Parameters).
0028   float intrinsicTheta{}; ///< Intrinsic cluster propagation direction polar angle [rad]
0029   float intrinsicPhi{}; ///< Intrinsic cluster propagation direction azimuthal angle [rad]
0030   ::edm4eic::Cov2f intrinsicDirectionError{}; ///< Error on the intrinsic cluster propagation direction
0031 
0032   unsigned int shapeParameters_begin{};
0033   unsigned int shapeParameters_end{};
0034   unsigned int hitContributions_begin{};
0035   unsigned int hitContributions_end{};
0036   unsigned int subdetectorEnergies_begin{};
0037   unsigned int subdetectorEnergies_end{};
0038   unsigned int clusters_begin{};
0039   unsigned int clusters_end{};
0040   unsigned int hits_begin{};
0041   unsigned int hits_end{};
0042   unsigned int particleIDs_begin{};
0043   unsigned int particleIDs_end{};
0044 };
0045 
0046 } // namespace edm4eic
0047 
0048 
0049 #endif