ATLAS Offline Software
|
This class provides conversion from ROD data to CSC RDO Author: Ketevi A. More...
#include <CscROD_Decoder.h>
Public Member Functions | |
CscROD_Decoder (const std::string &type, const std::string &name, const IInterface *parent) | |
constructor More... | |
virtual | ~CscROD_Decoder ()=default |
virtual StatusCode | initialize () override |
virtual void | fillCollection (const xAOD::EventInfo &eventInfo, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const override |
virtual Identifier | getChannelId (const uint32_t word, std::string detdesription) const override |
virtual uint32_t | getHashId (const uint32_t word, std::string detdesription) const override |
virtual void | getSamples (const std::vector< uint32_t > &words, std::vector< uint16_t > &samples) const override |
Private Member Functions | |
void | rodVersion0 (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const |
the ROD version More... | |
void | rodVersion1 (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const |
void | rodVersion2 (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const |
Private Attributes | |
CSC_Hid2RESrcID | m_hid2re |
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
ServiceHandle< CSCcablingSvc > | m_cabling |
bool | m_isCosmic |
bool | m_isOldCosmic |
This class provides conversion from ROD data to CSC RDO Author: Ketevi A.
Assamagan BNL December 27 2003
Definition at line 32 of file CscROD_Decoder.h.
Muon::CscROD_Decoder::CscROD_Decoder | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
|
virtualdefault |
|
overridevirtual |
Definition at line 38 of file CscROD_Decoder.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 26 of file CscROD_Decoder.cxx.
|
private |
the ROD version
Definition at line 579 of file CscROD_Decoder.cxx.
|
private |
Definition at line 444 of file CscROD_Decoder.cxx.
|
private |
get some information
set the ROD id and the subDector id
the detector event type
is sparsified data
is neutron rejection ON
calibration enabled
lentency
calibration layer
calibration amplitude
the samplint time
number of samples
total word counter
RPU header
RPU ID
Data Type
Size in word of this RPU
if the data is good before deciding how to proceed
The meaning for the Type TTTT is: 0: no error, but can be empty. 1: discarded: there is just a header, no data and no ghostwords. 2: Error: no data, only ghost words 3: Partial error: some data and ghost words. This is a new feature that is planned, but not yet implemented.
in this case we have a discard -> continue to the next RPU
this is an error condition -> for now skip the error words and continue
8 status words for each SPU and for each time slice - but may change with time
we have good data -> please decode! but in this case there could be partial error in which case there are some errors and some could data
probably there is no error but still can be no data
This should be the SCA address
read the cluster counts for precision layers
read the second cluster word
non precision cluster counts
decode the Trigger Type
decode the sampling phase
decode the first bit summary
decode the number of data words of all clusters in this RPU - should not be used
the total cluster counts
probably no errors but still no clusters found
-4 because 4 words in the RPU have been read so far
start the cluster count
get the address of the first channel
decode the clusdter time and the cluster width
decode the ADC samples
create the raw hit insert it into the collection
First check that we've processed this RPU correctly
check for partial errors and extra ghost words at the end
Definition at line 119 of file CscROD_Decoder.cxx.
|
private |
Definition at line 61 of file CscROD_Decoder.h.
|
private |
Definition at line 59 of file CscROD_Decoder.h.
|
private |
Definition at line 60 of file CscROD_Decoder.h.
|
private |
Definition at line 62 of file CscROD_Decoder.h.
|
private |
Definition at line 63 of file CscROD_Decoder.h.