-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTT10 reader #912
TTT10 reader #912
Conversation
3047f19
to
7660e0f
Compare
// ----- Default constructor ------------------------------------------- | ||
R3BTTTXMappedData::R3BTTTXMappedData() | ||
: fDetID(0) | ||
, fChannelID(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fChannelID should be fStripID because this is for a silicon detector with 32 strips, right?
// ----- Standard constructor ------------------------------------------ | ||
R3BTTTXMappedData::R3BTTTXMappedData(UInt_t DetID, UInt_t ChannelID, Int_t time, Int_t energy, Bool_t pu, Bool_t ov) | ||
: fDetID(DetID) | ||
, fChannelID(ChannelID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
|
||
/** Constructor with arguments | ||
*@param DetID Detector ID attention 0-based ! | ||
*@param ChannelID Channel ID attention 0-based ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
StripID in 1-based instead of 0-based
|
||
/** Accessors **/ | ||
inline const UInt_t& GetDetID() const { return fDetID; } | ||
inline const UInt_t& GetChannelID() const { return fChannelID; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetStripID
|
||
/** Modifiers **/ | ||
void SetDetID(UInt_t id) { fDetID = id; }; | ||
void SetChannelID(UInt_t id) { fChannelID = id; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SetStripID
|
||
protected: | ||
UInt_t fDetID; | ||
UInt_t fChannelID; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fStripID
Hi @jose-luis-rs, the changes have been made and should be ready to merge. |
Added Mapped level and reader for TTT10.
Mention any issue this PR is resolved or is related to.
Checklist:
dev
branch