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

bsunanda:IsoParticle74-1 #7806

Merged
merged 2 commits into from
Mar 12, 2015
Merged

Conversation

cmsbuild
Copy link
Contributor

Tests for the latest improvement of IsoTrack trigger and analysis
Automatically ported from CMSSW_7_4_X #7504

@cmsbuild
Copy link
Contributor Author

A new Pull Request was created by @cmsbuild for CMSSW_7_5_X.

bsunanda:IsoParticle74-1

It involves the following packages:

Calibration/IsolatedParticles

@cmsbuild, @mmusich, @diguida, @cerminar, @nclopezo can you please review it and eventually sign? Thanks.
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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@nclopezo, @ktf 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 Author

@cmsbuild
Copy link
Contributor Author

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Mar 5, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar

@@ -502,31 +705,37 @@ void IsoTrackCalibration::beginJob() {
tree->Branch("t_eHcal", &t_eHcal, "t_eHcal/D");
tree->Branch("t_hmaxNearP", &t_hmaxNearP, "t_hmaxNearP/D");
tree->Branch("t_selectTk", &t_selectTk, "t_selectTk/O");
tree->Branch("t_qltyFlag", &t_qltyFlag, "t_qltyFlag/O");
tree->Branch("t_qltyMissFlag",&t_qltyMissFlag,"t_qltyMissFlag/O");
tree->Branch("t_qltyPVFlag", &t_qltyPVFlag, "t_qltyPVFlag/O)");

t_DetIds = new std::vector<unsigned int>();
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like a memory leak? perhaps t_DetIds does not need to be a pointer? (same with t_trgbits)

@davidlange6
Copy link
Contributor

@bsunanda - maybe you did not get my comment above in this PR?

@bsunanda
Copy link
Contributor

bsunanda commented Mar 9, 2015

What comments?

On Mon, 9 Mar 2015, David Lange wrote:

@bsunanda - maybe you did not get my comment above in this PR?


Reply to this email directly or view it on
GitHub.[AEzMukAitiP19tQkdX_fMMPQtHtEbLVaks5nzTn3gaJpZM4Dhd8A.gif]

@davidlange6
Copy link
Contributor

just above on the web interface (sorry, I'm defeated in trying to give you a link..)

@bsunanda
Copy link
Contributor

bsunanda commented Mar 9, 2015

Hi David

I dont think there is an issue of leakage. We clear this vector every
time. May be we can try to do a simple memory test to check the memory
growth. Best regards

Sunanda

On Mon, 9 Mar 2015, David Lange wrote:

just above on the web interface (sorry, I'm defeated in trying to give you
a link..)


Reply to this email directly or view it on
GitHub.[AEzMuonO_MZHCYYwO6TR4U1t0C1AQGE3ks5nzTxmgaJpZM4Dhd8A.gif]

@davidlange6
Copy link
Contributor

but the vector itself is leaked... you need a delete t_detIds; somewhere (or maybe better, make t_detIds not a pointer..

@davidlange6
Copy link
Contributor

+1

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.

None yet

4 participants