Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:12:16

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_SenseWireHitDATA_H
0004 #define EDM4HEP_SenseWireHitDATA_H
0005 
0006 #include "edm4hep/Vector3d.h"
0007 #include <cstdint>
0008 
0009 namespace edm4hep {
0010 
0011 /** @class SenseWireHitData
0012  *  Sense wire hit, knowing only the distance to the wire. The circle representing possible positions is parametrized
0013  * with its center, radius and normal vector (given by the wire direction).
0014  *  @author: EDM4hep authors
0015  */
0016 class SenseWireHitData {
0017 public:
0018   std::uint64_t cellID{};  ///< ID of the sensor that created this hit
0019   std::int32_t type{};     ///< type of the raw data hit
0020   std::int32_t quality{};  ///< quality bit flag of the hit
0021   float time{};            ///< time of the hit [ns]
0022   float eDep{};            ///< energy deposited by the hit [GeV]
0023   float eDepError{};       ///< error on eDep [GeV]
0024   float wireStereoAngle{}; ///< angle between the sense wire axis and the drift chamber axis (usually the z-axis) - use
0025                            ///< it together with wireAzimuthalAngle to get the wire direction
0026   float wireAzimuthalAngle{};      ///< azimuthal angle at the middle of the sense wire - use it together with
0027                                    ///< wireStereoAngle to get the wire direction
0028   ::edm4hep::Vector3d position{};  ///< point on the sense wire which is closest to the hit (center of the circle) [mm]
0029   double positionAlongWireError{}; ///< error on the hit position along the wire direction [mm]
0030   float distanceToWire{};          ///< distance between the hit and the wire (radius of the circle) [mm]
0031   float distanceToWireError{};     ///< error on distanceToWire [mm]
0032 
0033   unsigned int nElectrons_begin{};
0034   unsigned int nElectrons_end{};
0035 };
0036 
0037 namespace v5 {
0038   using SenseWireHitData = edm4hep::SenseWireHitData;
0039 } // namespace v5
0040 
0041 } // namespace edm4hep
0042 
0043 #endif