Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
FadcBPM.cxx
Go to the documentation of this file.
1
2// //
3// HallA::FadcBPM //
4// //
5// BPM with FADC frontends //
6// //
8
9#include "FadcBPM.h"
10#include "FADCData.h"
11
12using namespace std;
13
14namespace HallA {
15
16//_____________________________________________________________________________
17FadcBPM::FadcBPM( const char* name, const char* description,
18 THaApparatus* apparatus ) :
19 THaBPM(name, description, apparatus)
20{
21 // Constructor
22}
23
24//_____________________________________________________________________________
26 const DigitizerHitInfo_t& hitinfo )
27{
28 // Retrieve pulse integral data from FADC for the channel in 'hitinfo'
29
30 if( !CheckHitInfo(hitinfo) )
31 return nullopt;
32 return FADCData::LoadFADCData(hitinfo);
33}
34
35//_____________________________________________________________________________
36
37} // namespace HallA
38
39//_____________________________________________________________________________
char name[80]
static OptUInt_t LoadFADCData(const DigitizerHitInfo_t &hitinfo)
Definition FADCData.cxx:125
FadcBPM()=default
OptUInt_t LoadData(const THaEvData &evdata, const DigitizerHitInfo_t &hitinfo) override
Definition FadcBPM.cxx:25
bool CheckHitInfo(const DigitizerHitInfo_t &hitinfo) const
Definition THaBPM.cxx:164
STL namespace.
ClassImp(TPyArg)