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

Add ACTS tracking in all CIs #1518

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Open

Conversation

tvami
Copy link
Member

@tvami tvami commented Jan 18, 2025

I am updating ldmx-sw, here are the details.

What are the issues that this addresses?

First step to resolve #1517

Resolves #1487

Check List

  • I successfully compiled ldmx-sw with my developments
  • I ran my developments and the following shows that they are successful.

Copy link
Member

@tomeichlersmith tomeichlersmith left a comment

Choose a reason for hiding this comment

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

My only request is focused on using the newer syntax for configuring the logger. While both work, since these configs are used as reference by many folks, I'd like them to contain the newer syntax as example.

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to use the newer syntax? (I also want to double check that #1458 works.)

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0


# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

Copy link

@fdelzanno fdelzanno left a comment

Choose a reason for hiding this comment

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

I assume the values of the cuts on the SeedFinding (i.e. pmin, pmax, d0min, d0max, etc.) are up to date from the tracking people (I haven't followed their developments in the last weeks)? If so, the implementation looks good to me.

@bryngemark
Copy link
Contributor

I assume the values of the cuts on the SeedFinding (i.e. pmin, pmax, d0min, d0max, etc.) are up to date from the tracking people

I agree with this comment, but even more so, I think whatever has been settled on in recent tracking optimizations should go in as defaults for all these processors, and not be specified in detail here. As @tomeichlersmith pointed out, the validation configs are very useful examples and having people set all kinds of variables themselves is not sustainable in the long term.

@tvami
Copy link
Member Author

tvami commented Jan 21, 2025

@bloodyyugo @EBerzin can you please confirm?

@bloodyyugo
Copy link
Contributor

I agree with this comment, but even more so, I think whatever has been settled on in recent tracking optimizations should go in as defaults for all these processors, and not be specified in detail here. As @tomeichlersmith pointed out, the validation configs are very useful examples and having people set all kinds of variables themselves is not sustainable in the long term.

Yeah, these values are good. Setting them as default values is a good idea, but we use the same class for both tagger and recoil tracking and they potentially have different values (though right now they are so loose they might as well be the same). That said, we could easily add a switch to tell the code if it's doing tagger or recoil and set the parameters appropriately.

I plan on changing how these cuts are implemented in the nearish future, so I can add this then.

@EBerzin
Copy link
Contributor

EBerzin commented Jan 22, 2025

The values look good for the tagger. But these config files use RecoilTruthSeeds for recoil tracking, which are much cleaner than reconstructed seeds. In this case the parameters that are set for seeder_recoil I think actually don't matter. But if we want to use reconstructed seeds in these configs, the optimized parameters I found are a bit different, and the full tracking chain also requires an ambiguity resolution step. I was planning to open a PR with those ambiguity resolution changes later today, which will also include an example config with the optimized seeding parameters.

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.

Add tracking to all CIs and add tracking in ECAL in them Update PU CI validation scripts
6 participants