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

Simple HGC Clustering and HGC GsfElectrons #4418

Merged
merged 4 commits into from
Jul 1, 2014

Conversation

lgray
Copy link
Contributor

@lgray lgray commented Jun 27, 2014

@vandreev11 @pfs @amagnan @bsunanda

HGC Clustering and GsfElectrons as described in talks this week.
This has been made to work on the Valeri's latest change to store RecHit energies in GeV.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_6_2_X_SLHC.

Simple HGC Clustering and HGC GsfElectrons

It involves the following packages:

RecoEcal/EgammaClusterAlgos
RecoEgamma/EgammaElectronAlgos
RecoEgamma/EgammaElectronProducers
RecoParticleFlow/PFClusterProducer
SLHCUpgradeSimulations/Configuration

@civanch, @nclopezo, @mdhildreth, @cmsbuild, @StoyanStoynev, @slava77, @Degano can you please review it and eventually sign? Thanks.
@bachtis, @argiro this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@fratnikov, @mark-grimes you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

int detector = scl.seed()->hitsAndFractions()[0].first.subdetId() ;
if (detector==EcalBarrel && (had<maxHBarrel_ || had/scle<maxHOverEBarrel_)) HoeVeto=true;
else if (detector==EcalEndcap && (had<maxHEndcaps_ || had/scle<maxHOverEEndcaps_)) HoeVeto=true;
else if (component==DetId::Forward && detector==HGCEE && (had<maxHEndcaps_ || had/scle<maxHOverEEndcaps_)) HoeVeto=true;

Choose a reason for hiding this comment

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

I guess this "if" chain should first select appropriate det() and only then test subdetId()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Fedor, I agree that logic would be cleaner, but given that this code operates on super-clusters (where the data volume is significantly reduced) it makes no difference in performance.

@mark-grimes
Copy link

merge

Checked with 4 muons and pions (cmsbuild currently doesn't test the newer geometries including, I believe, HGCal). Only the known failures in HGCal harvesting.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2014

Pull request #4418 was updated. @civanch, @nclopezo, @mdhildreth, @cmsbuild, @alja, @Dr15Jones, @StoyanStoynev, @slava77, @Degano, @ktf can you please check and sign again.

cmsbuild added a commit that referenced this pull request Jul 1, 2014
Simple HGC Clustering and HGC GsfElectrons
@cmsbuild cmsbuild merged commit e5af628 into cms-sw:CMSSW_6_2_X_SLHC Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants