-
Notifications
You must be signed in to change notification settings - Fork 12
ShieldTrigger and StripTrigger #87
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
base: develop/em
Are you sure you want to change the base?
ShieldTrigger and StripTrigger #87
Conversation
Need to update m_ShieldPanelGroups for future and test the deadtime.
Updated BGO detector names from 1 back to 0.
- ACS detectors now ACS_X0_0, ACS_X0_1, ACS_X1_0, etc. - GeD detectors now GeD_0, GeD_2 etc.
| // protected members: | ||
| protected: | ||
| unsigned int m_DetectorID; //!< Detector ID | ||
| MString m_DetectorID; //!< Detector 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.
Could you do the normal documentation scheme which we use everywhere else
//! Detector ID as string, e.g. ...
MString m_DetectorID
Same below
|
|
||
| //! Setters and getters | ||
| void SetDetectorID(unsigned int DetectorID) | ||
| void SetDetectorID(MString DetectorID) |
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.
To make the it read better in doxygen, please document each function individually, even if it is trivial
| MTime m_DeadTimeEnd; | ||
|
|
||
|
|
||
| // Shield parameters |
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.
Document each parameter please
| //! Number of shield panels | ||
| static const int nShieldPanels = 6; | ||
|
|
||
| vector<double> m_ShieldLastHitTime; |
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.
Above and below: Document everything please
| //! Total strip delay after readout | ||
| double m_StripDelayAfter; | ||
|
|
||
| double m_StripCoincidenceWindowFromFile; |
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.
Document everything please
| int m_TotalStripHitsCounter; | ||
|
|
||
| //! First and last event times | ||
| double m_FirstTime; |
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.
Document each variable individually
|
Just minor documentation changed are left. |
ShieldTrigger and StripTrigger updated with ASIC and ADC dead time. Changed GeD names to GeD_0, GeD_1 ... and BGO to ACS_X0_0, ACS_X0_1, ACS_X1_0, ACS_X1_1 ...
Still need to add GR vetoes, dead strips, trigger thresholds for both shields and strips and possible telemetry dead time.
ACS energy correction commented out for now. @vfioretti will update and add it back in.