ATLAS Offline Software
Loading...
Searching...
No Matches
CMReprocessing Class Reference

#include <CMReprocessing.h>

Inheritance diagram for CMReprocessing:
Collaboration diagram for CMReprocessing:

Public Member Functions

 CMReprocessing (MatrixReadOut *hard, Matrix *CMsimu, int NOBXS)
 ~CMReprocessing ()
ObjectType tag () const
const std::string & name () const
virtual void Print (std::ostream &, bool) const

Private Attributes

ObjectType m_tag
std::string m_name

Detailed Description

Definition at line 17 of file CMReprocessing.h.

Constructor & Destructor Documentation

◆ CMReprocessing()

CMReprocessing::CMReprocessing ( MatrixReadOut * hard,
Matrix * CMsimu,
int NOBXS )

Definition at line 12 of file CMReprocessing.cxx.

12 : BaseObject(Hardware, "CMROReprocessing") {
13 //
14 // load and run the Matrix object "CMsimu" using as RPC input the data available
15 // in the MatrixReadOut object "hard". CMsimu is created outside this method
16 // before this method is used.
17 //
18 CMsimu->reset();
19 hard->doMatrix(CMsimu);
20 MatrixReadOut simu(CMsimu, 0, NOBXS, MatrixReadOut::Atlas);
21 //
22 // overwite header and subheader of the simulated readout fragment
23 // with the records from the hardware
24 //
25 simu.overwriteHeader(hard->readHeader());
26 simu.overwriteSubHeader(hard->readSubHeader());
27 //
28 // recompute the footer
29 //
30 simu.reComputeFooter();
31 //
32 CMROCompare CMROcmp(hard, &simu);
33 int outCompare = CMROcmp.diffOut();
34 cout << " Comparison flag = " << outCompare << endl << " check Fragment = " << simu.checkFragment() << endl;
35
36 if (outCompare) {
37 CMsimu->display();
38 cout << endl;
39 } //
40
41} // end-of-CMReprocessing
@ Hardware
Definition BaseObject.h:11
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
void doMatrix(Matrix *CMpointer)
ubit16 readSubHeader()

◆ ~CMReprocessing()

CMReprocessing::~CMReprocessing ( )

Definition at line 43 of file CMReprocessing.cxx.

43{} // end-of-~CMReprocessing()

Member Function Documentation

◆ name()

const std::string & BaseObject::name ( ) const
inlineinherited

Definition at line 23 of file BaseObject.h.

23{ return m_name; }
std::string m_name
Definition BaseObject.h:16

◆ Print()

◆ tag()

ObjectType BaseObject::tag ( ) const
inlineinherited

Definition at line 22 of file BaseObject.h.

22{ return m_tag; }
ObjectType m_tag
Definition BaseObject.h:15

Member Data Documentation

◆ m_name

std::string BaseObject::m_name
privateinherited

Definition at line 16 of file BaseObject.h.

◆ m_tag

ObjectType BaseObject::m_tag
privateinherited

Definition at line 15 of file BaseObject.h.


The documentation for this class was generated from the following files: