ICP  1
sim_muon_detector_card.cpp
Go to the documentation of this file.
1 #include "stdafx.h"
3 #include "vme_simulation.h"
4 #include "isisvme.h"
5 #include "dae_events.h"
6 
7 template <class DetCardPolicy>
9  SIMDetectorCard(position, vme, shared, fault_mode, true, status)
10 {
11  setLoggerName("SIMMuonDetectorCard");
13  memcpy(&fv, &m_firmware, sizeof(fv));
14  fv.hard_type = 0x3; // muon detector card
15  memcpy(&m_firmware, &fv, sizeof(fv));
16 }
17 
18 template <class DetCardPolicy>
20 {
21  os << "SIMMuonDetector card at position " << m_position;
22 }
23 
24 template <class DetCardPolicy>
26 {
27 }
28 
29 template <class DetCardPolicy>
31 {
32 }
33 
unsigned hard_type
Definition: dae2_card.h:21
SIMMuonDetectorCard(int position, VMESimulationIface *vme, bool shared, FaultMode fault_mode, DAEstatus &status)
virtual void printStatus(std::ostream &os)
void setLoggerName(const std::string &logger_name)
Definition: IsisBase.h:17
virtual void simulate(int delay)
FaultMode
Definition: sim_dae2_card.h:10