7 #ifndef __QWSCIFIDETECTOR__
8 #define __QWSCIFIDETECTOR__
63 Int_t
ProcessEvBuffer(
const UInt_t roc_id,
const UInt_t bank_id, UInt_t* buffer, UInt_t num_words);
70 void FillRawTDCWord(Int_t bank_index, Int_t slot_num, Int_t chan, UInt_t data);
141 std::vector<QwSIS3801D24_Channel>
fSCAs;
void ReportConfiguration(Bool_t verbose)
Int_t ProcessConfigurationBuffer(const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words)
F1TDCs configuration and reference siganls container.
void ClearAllBankRegistrations()
F1TDCReferenceContainer * fF1RefContainer
std::vector< QwHit > fTDCHits
void FillRawTDCWord(Int_t bank_index, Int_t slot_num, Int_t chan, UInt_t data)
std::vector< std::pair< Int_t, Int_t > > fReferenceChannels
void SubtractReferenceTimes()
void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)
Construct the branch and tree vector.
Int_t LoadInputParameters(TString mapfile)
Mandatory parameter file definition.
Int_t GetModuleIndex(size_t bank_index, size_t slot_num) const
Int_t kNumberOfVMEModules
std::vector< Int_t > fSCAs_offset
UInt_t kMaxNumberOfChannelsPerF1TDC
virtual void ConstructHistograms()
Construct the histograms for this subsystem.
QwF1TDContainer * fF1TDContainer
Int_t ProcessEvBuffer(const UInt_t roc_id, const UInt_t bank_id, UInt_t *buffer, UInt_t num_words)
TODO: The non-event-type-aware ProcessEvBuffer routine should be replaced with the event-type-aware v...
std::vector< std::vector< Int_t > > fModuleIndex
Bool_t IsSlotRegistered(Int_t bank_index, Int_t slot_num) const
Draft skeleton for the decoding-to-QTR interface class.
QwSciFiDetector()
Private default constructor (not implemented, will throw linker error on use)
Int_t RegisterROCNumber(const UInt_t roc_id)
void FillTreeVector(std::vector< Double_t > &values) const
Fill the tree vector.
static const Int_t kF1ReferenceChannelNumber
void FillHardwareErrorSummary()
Hardware error summary.
void FillHistograms()
Fill the histograms for this subsystem.
void FillListOfHits(QwHitContainer &hitlist)
std::vector< std::vector< Double_t > > fReferenceData
Int_t fCurrentModuleIndex
Int_t fCurrentBankIndex
Name of this subsystem (the region).
static const UInt_t kMaxNumberOfSlotsPerROC
void PrintConfigurationBuffer(UInt_t *buffer, UInt_t num_words)
virtual void ConstructBranchAndVector(TTree *tree, TString &prefix, std::vector< Double_t > &values)=0
Construct the branch and tree vector.
Int_t LoadChannelMap(TString mapfile)
Mandatory map file definition.
void GetHitList(QwHitContainer &grandHitContainer)
Get the hit list.
void Append(const QwHitContainer &mylist)
std::map< TString, size_t > fSCAs_map
Int_t RegisterSubbank(const UInt_t bank_id)
Int_t RegisterSlotNumber(const UInt_t slot_id)
std::vector< QwSIS3801D24_Channel > fSCAs
std::vector< std::vector< QwDetectorID > > fDetectorIDs
virtual ~QwSciFiDetector()