Difference: CppClass (2 vs. 3)

Revision 316 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Changed:
<
<
AMC13 Class 27 May 2012
>
>
AMC13 Class as of 16 January 2013

General read/write

   rv read(int chip, const std::string& reg)
   rv readAddress(int chip, uint32_t add)
   std::vector<rv> readBlockAddress(int chip, uint32_t add, size_t nWords)
   size_t readBlockAddress(int chip, uint32_t add, size_t nWords, uint32_t* buffer, size_t bufMax)
   std::vector<rv> readFifoAddress(int, uint32_t, size_t)
   std::map<std::string, uint32_t> readAllReadable(int chip)
   void write(int chip, const std::string& reg, rv value)
   void writeAddress(int chip, rv add, rv value)
   void writeBlockAddress(int chip, uint32_t add, std::vector<uint32_t> data, size_t nWords)
   void writeFifoAddress(int, uint32_t, std::vector<uint32_t>)
   void writeQueueAddress(int chip, uint32_t add, std::vector<uint32_t> data, size_t nWords)
   void writeTest(int chip)
   

Initialization

   uint32_t parseInputEnableList(std::string list)
   void AMCInputEnable(std::string list)
   daqLinkEnable(bool b)
   void fakeDataEnable(bool b)
   void ttcRxEnable(bool b)
   void monBufBackPressEnable(bool b)
   
 

Control

Changed:
<
<
  • void reset(int chip);
  • uint32_t parseInputEnableList(string list);
  • void AMCInputEnable(string list);
  • daqLinkEnable(bool b);
  • void fakeDataEnable(bool b);
  • void ttcRxEnable(bool b);
  • void monBufBackPress(bool b);
  • void startRun();
  • void endRun();
>
>
   void reset(int chip)
   void sendLocalEvnOrnReset(uint32_t a, uint32_t b)
   void genInternalPeriodicL1As(bool b)
   void enableDaqLinkSenderReceiver()
   void saveReceivedDaqData(bool b)
   megaMonitorScale(bool b)
   setPreScaleFactor(uint32_t noZos)
   genInternalSingleL1A(uint32_t n)
   setTrigType(uint32_t type)
   setLocalL1APeriod(uint32_t n)
   setFEDid(uint32_t id)
   void startRun()
   void endRun()
   
 

DAQ

Changed:
<
<
  • uint32_t nextEventSize();
  • uint32_t readNextEvent( uint32_t *buffer, uint32_t max_buf);
  • uint32_t readNextEventNoAdvance( uint32_t *buffer, uint32_t max_buf);

General read/write

  • rv read(int chip, const std::string& reg);
  • rv readAddress(int chip, uint32_t add);
  • std::vector readBlock(int chip, const std::string& reg, size_t nWords);
  • std::vector readBlockAddress(int chip, uint32_t add, size_t nWords);
  • size_t readBlockAddress(int chip, uint32_t add, size_t nWords, uint32_t* buffer, size_t bufMax);
  • std::map<std::string, uint32_t> readAllReadable(int chip);
  • void write(int chip, const std::string& reg, rv value);
  • void writeAddress(int chip, rv add, rv value);
  • void writeBlockAddress(int chip, uint32_t add, std::vector data, size_t nWords);
  • void writeQueueAddress(int chip, uint32_t add, std::vector data, size_t nWords);
  • void writeTest(int chip);
>
>
   uint32_t nextEventSize() 
   uint32_t readNextEvent(uint32_t *buffer, uint32_t max_buf)
   uint32_t readNextEventNoAdvance(uint32_t *buffer, uint32_t max_buf)
   
  -- JimRohlf - 27 May 2012
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback