Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:32

0001 // $Id: $
0002 
0003 /*!
0004  * \file CaloRecoUtility.h
0005  * \brief
0006  * \author Justin Frantz <frantz@ohio.edu>
0007  * \version $Revision:   $
0008  * \date $Date: $
0009  */
0010 
0011 #ifndef CALORECO_CALORECOUTILITY_H
0012 #define CALORECO_CALORECOUTILITY_H
0013 
0014 class RawCluster;
0015 class BEmcRec;
0016 
0017 /*!
0018  * \brief CaloRecoUtility
0019 
0020  */
0021 
0022 class CaloRecoUtility
0023 {
0024  public:
0025   ~CaloRecoUtility();
0026   CaloRecoUtility();
0027   CaloRecoUtility(CaloRecoUtility& cru);
0028   CaloRecoUtility& operator=(CaloRecoUtility const&);
0029 
0030   //! corrects cluster Z (implicitly also eta) for updated z vertex
0031   // assuming
0032   static void ShowerDepthCorrZVertex(RawCluster* clus, float vz);
0033   void ProbCorrsZVertex(RawCluster* clus, float vz);
0034   void LoadProfile();
0035 
0036  private:
0037   bool _profLoaded {false};
0038   BEmcRec* _bemc {nullptr};
0039 };
0040 
0041 #endif