 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LArTBH6BeamInfo_H
6 #define LArTBH6BeamInfo_H
10 #include "Identifier/Identifier.h"
37 typedef std::vector<double>
dVect;
47 Gaudi::Property<bool>
m_Primary{
this,
"PrimaryTrackOnly",
true};
48 Gaudi::Property<int>
m_pcode{
this,
"PrimaryParticle", 999};
55 std::vector< SG::ReadHandle< AthenaHitsVector<LArG4H6FrontHit> > >
m_hitcoll;
SG::ReadHandle< TBEventInfo > m_theEventInfo
LArTBH6BeamInfo(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute() override
SG::WriteHandle< TBTrack > m_track
bool fitVect(const dVect &vec_x, const dVect &vec_xz, const dVect &vec_ex, double &a1, double &a2, double &chi2, dVect &residual)
Fit data to the function u = a1 + a2*w.
virtual ~LArTBH6BeamInfo()=default
std::vector< double > dVect
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
double chi2(TH1 *h0, TH1 *h1)
virtual StatusCode initialize() override
Gaudi::Property< std::vector< std::string > > m_HitsCollNames
Gaudi::Property< int > m_pcode
virtual StatusCode finalize() override
Handle class for reading from StoreGate.
Gaudi::Property< bool > m_Primary
std::vector< SG::ReadHandle< AthenaHitsVector< LArG4H6FrontHit > > > m_hitcoll