Skip to content
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

Merged
merged 1 commit into from
Jan 4, 2024
Merged

TTT10 reader #912

merged 1 commit into from
Jan 4, 2024

Conversation

mwhiteheadyork
Copy link
Contributor

@mwhiteheadyork mwhiteheadyork commented Dec 4, 2023

Added Mapped level and reader for TTT10.

Mention any issue this PR is resolved or is related to.


Checklist:

@mwhiteheadyork mwhiteheadyork force-pushed the ttt10 branch 2 times, most recently from 3047f19 to 7660e0f Compare December 5, 2023 17:17
@mwhiteheadyork mwhiteheadyork marked this pull request as ready for review December 5, 2023 17:28
// ----- Default constructor -------------------------------------------
R3BTTTXMappedData::R3BTTTXMappedData()
: fDetID(0)
, fChannelID(0)
Copy link
Contributor

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)
Copy link
Contributor

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 !
Copy link
Contributor

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; }
Copy link
Contributor

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; };
Copy link
Contributor

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fStripID

@mwhiteheadyork
Copy link
Contributor Author

Hi @jose-luis-rs, the changes have been made and should be ready to merge.

@jose-luis-rs jose-luis-rs merged commit 494f869 into R3BRootGroup:dev Jan 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants