Skip to content

Conversation

@njacazio
Copy link
Collaborator

  • Add authors
  • Add track multiplicity used for the TOF event time estimation

Align AOD maker behaviour for trackTime

  • Update trackTime
  • Fix call to exp times

Expand log axis in HistogramRegistry

@njacazio njacazio requested review from a team, noferini and shahor02 as code owners November 18, 2021 11:30
@njacazio
Copy link
Collaborator Author

@noferini Here it is!

@njacazio
Copy link
Collaborator Author

For reference this is used in AliceO2Group/O2Physics#300

noferini
noferini previously approved these changes Nov 18, 2021
- Add authors
- Add track multiplicity used for the TOF event time estimation

Align AOD maker behaviour for trackTime
- Update trackTime
- Fix call to exp times

Expand log axis in HistogramRegistry
extraInfoHolder.trackTime = (tofCl.getTime() - tofInt.getTOF(trackPar.getPID())) * 1e-3; // tof time in \mus, FIXME: account for time of flight to R TOF
extraInfoHolder.trackTimeRes = 200e-3; // FIXME: calculate actual resolution (if possible?)
const float massZ = o2::track::PID::getMass2Z(trackPar.getPID());
const float energy = sqrt((massZ * massZ) + (extraInfoHolder.tofExpMom * extraInfoHolder.tofExpMom));
Copy link
Collaborator

Choose a reason for hiding this comment

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

why using m/Z and not M ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hi Ruben, it is to match the p/z measurement

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok, makes sense, thanks.

@noferini
Copy link
Collaborator

Hi @shahor02,
if you agree I would merge this PR.
I need to work on this classes for calibration stuffs and I am waiting for this PR before to proceed with my changes.

@shahor02 shahor02 merged commit c79eb13 into AliceO2Group:dev Nov 22, 2021
@njacazio njacazio deleted the nj-t0tof branch November 22, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants