Class for reading output of .
More...
#include <TrdTravMatReader.h>
Class for reading output of .
This class provides methods to read the information about traversed material in TRD as saved by TrdTravMatAction.
◆ TrdTravMatReader()
TrdTravMatReader::TrdTravMatReader |
( |
| ) |
|
◆ GetEntry()
void TrdTravMatReader::GetEntry |
( |
Long64_t |
entry | ) |
|
@ brief Reads the specified entry from the TRD traversed material branch.
- Parameters
-
◆ SetChain()
bool TrdTravMatReader::SetChain |
( |
TChain * |
chain | ) |
|
Sets the chain.
- Parameters
-
chain | The chain containing the TRD traversed material information. |
◆ TraversedMaterial()
const std::vector< TrdTravMat > & TrdTravMatReader::TraversedMaterial |
( |
| ) |
|
Retrieves the TRD traversed material for the given primary.
- Parameters
-
trackID | The track ID of the primary particle. |
- Returns
- Vector of the TRD traversed material info (one element per primary particle that traversed the TRD).
◆ _chain
TChain* TrdTravMatReader::_chain |
|
private |
◆ _travMat
std::vector<TrdTravMat>* TrdTravMatReader::_travMat |
|
private |
The documentation for this class was generated from the following files: