#include <PndGemHit.h>
 | 
|   | PndGemHit () | 
|   | 
|   | PndGemHit (Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t index, Double_t charge, Int_t NDigiHits, TString fromStr="GEMPoint") | 
|   | 
|   | PndGemHit (Int_t detID, TVector3 &pos, TVector3 &dpos, Int_t digi1, Int_t digi2, Double_t dr, Double_t dp, Int_t index, TString fromStr="GEMCluster") | 
|   | 
|   | PndGemHit (Int_t detID, TVector3 &pos, TVector3 &dpos, Double_t charge, Double_t time, Int_t digi1, Int_t digi2, Double_t dr, Double_t dp, Int_t index, TString fromStr="GEMCluster") | 
|   | 
| virtual  | ~PndGemHit () | 
|   | 
| void  | SetCharge (Double_t charge) | 
|   | 
| void  | SetNDigiHits (Int_t pixel) | 
|   | 
| void  | SetBotIndex (Int_t id) | 
|   | 
| void  | SetErrors (Double_t dr, Double_t dp) | 
|   | 
| void  | SetDigiNr (Int_t digi1, Int_t digi2) | 
|   | 
| Double_t  | GetCharge () const | 
|   | 
| Int_t  | GetNDigiHits () const | 
|   | 
| TVector3  | GetPosition () const | 
|   | 
| Int_t  | GetBotIndex () const | 
|   | 
| Double_t  | GetEloss () const | 
|   | 
| Double_t  | GetDr () const | 
|   | 
| Double_t  | GetDp () const | 
|   | 
| Int_t  | GetDigiNr (Int_t iside) const | 
|   | 
| Int_t  | GetSystemId () const | 
|   | 
| Int_t  | GetStationNr () const | 
|   | 
| Int_t  | GetSensorNr () const | 
|   | 
| virtual void  | Print (const Option_t *opt=nullptr) const | 
|   | 
PndGemHit.h 
- Author
 - T.Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de
 
A hit in a silicon sensor. In addition to the base class FairHit, it holds the number of digis & charge entry. There is also a bottom index for double sided strip sensors. All coordinates are in the LAB frame. 
Definition at line 25 of file PndGemHit.h.
 
◆ PndGemHit() [1/4]
Default constructor (not for use) 
 
 
◆ PndGemHit() [2/4]
      
        
          | PndGemHit::PndGemHit  | 
          ( | 
          Int_t  | 
          detID,  | 
        
        
           | 
           | 
          TVector3 &  | 
          pos,  | 
        
        
           | 
           | 
          TVector3 &  | 
          dpos,  | 
        
        
           | 
           | 
          Int_t  | 
          index,  | 
        
        
           | 
           | 
          Double_t  | 
          charge,  | 
        
        
           | 
           | 
          Int_t  | 
          NDigiHits,  | 
        
        
           | 
           | 
          TString  | 
          fromStr = "GEMPoint"  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Standard constructor with all paramneters 
- Parameters
 - 
  
    | detID | Detector ID  | 
    | detName | Detector Name  | 
    | pos | Position vector [cm]  | 
    | dpos | Position error vector [cm]  | 
    | index | Array index of ClusterCand  | 
    | charge | Charge measured in hit  | 
    | NDigiHits | Number of pixels fired for this event  | 
  
   
 
 
◆ PndGemHit() [3/4]
      
        
          | PndGemHit::PndGemHit  | 
          ( | 
          Int_t  | 
          detID,  | 
        
        
           | 
           | 
          TVector3 &  | 
          pos,  | 
        
        
           | 
           | 
          TVector3 &  | 
          dpos,  | 
        
        
           | 
           | 
          Int_t  | 
          digi1,  | 
        
        
           | 
           | 
          Int_t  | 
          digi2,  | 
        
        
           | 
           | 
          Double_t  | 
          dr,  | 
        
        
           | 
           | 
          Double_t  | 
          dp,  | 
        
        
           | 
           | 
          Int_t  | 
          index,  | 
        
        
           | 
           | 
          TString  | 
          fromStr = "GEMCluster"  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ PndGemHit() [4/4]
      
        
          | PndGemHit::PndGemHit  | 
          ( | 
          Int_t  | 
          detID,  | 
        
        
           | 
           | 
          TVector3 &  | 
          pos,  | 
        
        
           | 
           | 
          TVector3 &  | 
          dpos,  | 
        
        
           | 
           | 
          Double_t  | 
          charge,  | 
        
        
           | 
           | 
          Double_t  | 
          time,  | 
        
        
           | 
           | 
          Int_t  | 
          digi1,  | 
        
        
           | 
           | 
          Int_t  | 
          digi2,  | 
        
        
           | 
           | 
          Double_t  | 
          dr,  | 
        
        
           | 
           | 
          Double_t  | 
          dp,  | 
        
        
           | 
           | 
          Int_t  | 
          index,  | 
        
        
           | 
           | 
          TString  | 
          fromStr = "GEMCluster"  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~PndGemHit()
  
  
      
        
          | virtual PndGemHit::~PndGemHit  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ GetBotIndex()
  
  
      
        
          | Int_t PndGemHit::GetBotIndex  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCharge()
  
  
      
        
          | Double_t PndGemHit::GetCharge  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetDigiNr()
  
  
      
        
          | Int_t PndGemHit::GetDigiNr  | 
          ( | 
          Int_t  | 
          iside | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 81 of file PndGemHit.h.
   83     if (iside * (iside - 1) == 0)
    84       return fDigiNr[iside];
  
 
 
◆ GetDp()
  
  
      
        
          | Double_t PndGemHit::GetDp  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetDr()
  
  
      
        
          | Double_t PndGemHit::GetDr  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetEloss()
  
  
      
        
          | Double_t PndGemHit::GetEloss  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 77 of file PndGemHit.h.
   77 { 
return (fCharge * 3.61e-9); } 
  
 
 
◆ GetNDigiHits()
  
  
      
        
          | Int_t PndGemHit::GetNDigiHits  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 74 of file PndGemHit.h.
   74 { 
return fNDigiHits; }
  
 
 
◆ GetPosition()
  
  
      
        
          | TVector3 PndGemHit::GetPosition  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 75 of file PndGemHit.h.
   75 { 
return TVector3(fX, fY, fZ); }
  
 
 
◆ GetSensorNr()
  
  
      
        
          | Int_t PndGemHit::GetSensorNr  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 90 of file PndGemHit.h.
References Print().
   92     return ((fDetectorID & (3 << 6)) >> 6);
  
 
 
◆ GetStationNr()
  
  
      
        
          | Int_t PndGemHit::GetStationNr  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 89 of file PndGemHit.h.
   89 { 
return ((fDetectorID & (8191 << 8)) >> 8); }
  
 
 
◆ GetSystemId()
  
  
      
        
          | Int_t PndGemHit::GetSystemId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 88 of file PndGemHit.h.
   88 { 
return ((fDetectorID & (31 << 27)) >> 27); }
  
 
 
◆ Print()
  
  
      
        
          | virtual void PndGemHit::Print  | 
          ( | 
          const Option_t *  | 
          opt = nullptr | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetBotIndex()
  
  
      
        
          | void PndGemHit::SetBotIndex  | 
          ( | 
          Int_t  | 
          id | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ SetCharge()
  
  
      
        
          | void PndGemHit::SetCharge  | 
          ( | 
          Double_t  | 
          charge | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ SetDigiNr()
  
  
      
        
          | void PndGemHit::SetDigiNr  | 
          ( | 
          Int_t  | 
          digi1,  | 
         
        
           | 
           | 
          Int_t  | 
          digi2  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ SetErrors()
  
  
      
        
          | void PndGemHit::SetErrors  | 
          ( | 
          Double_t  | 
          dr,  | 
         
        
           | 
           | 
          Double_t  | 
          dp  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ SetNDigiHits()
  
  
      
        
          | void PndGemHit::SetNDigiHits  | 
          ( | 
          Int_t  | 
          pixel | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const PndGemHit &  | 
          hit  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Definition at line 26 of file PndGemHit.h.
   28     out << 
"Gem hit"  << 
" at (" << hit.GetX() << 
", " << hit.GetY() << 
", " << hit.GetZ() << 
") cm "    30         << 
", Cluster No. " << hit.GetRefIndex() << std::endl;
 Double_t GetCharge() const
 
 
 
 
The documentation for this class was generated from the following file: