Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#850 new How to

TrackPileUpSubtractor

Reported by: Marianna Testa Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Dear experts,
I would like to use tracks being the output of the module
TrackPileUpSubtractor (see card attached).

But I got the error:

ERROR: can't access input list 'TrackPileUpSubtractor/tracksPV' in module 'TreeWriter'

Am I doing something wrong?

Cheers,
Marianna Testa.

Attachments (2)

myFCChh_DelphesCard_WithDipole_PileUp_v01.tcl (34.8 KB ) - added by Marianna Testa 9 years ago.
myFCChh_DelphesCard_WithDipole_PileUp_v02.tcl (34.9 KB ) - added by Marianna Testa 9 years ago.

Download all attachments as: .zip

Change History (9)

by Marianna Testa, 9 years ago

comment:1 by Michele Selvaggi, 9 years ago

Hi Marianna,

Sorry for the very late reply.
the TrackPileUpSubtractor module has not one single output collection. Every collection you input is filtered and keeps the same name.
Therefore you have to access it via:

add Branch TrackPileUpSubtractor/tracks TrackPV Track
add Branch EFlowMerger/eflow PFO GenParticle

I also added the second line as replacement for your previous implementation which was wrong. The Eflow class does not exist, so if you want to store Eflow object you have to store them as GenParticle, or Tower or Tracks. Usually one stores each component separately with their original attribute.

Cheers,
Michele

comment:2 by Marianna Testa, 9 years ago

Hi Michele,
I put these lines:
add Branch ImpactParameterSmearing/tracks TrackWithIPSmearing Track
add Branch TrackPileUpSubtractor/tracks TrackPV Track
but when I plot
TrackWithIPSmearing.Z and TrackPV.Z, the distributions look identical.

Is the cut on Z-ZPV working?

Cheers,
Marianna.

comment:3 by Michele Selvaggi, 9 years ago

Hi Marianno,

you don't have pile-up in your sample.

You should give the following:

set InputArray PileUpMerger/stableParticles

as input to the ParticlePropagator.

Cheers,
Michele

by Marianna Testa, 9 years ago

comment:4 by Marianna Testa, 9 years ago

I get this:
ERROR: can't access input list 'PileUpMerger/stableParticle' in module 'ParticlePropagator'

The card is attached as myFCChh_DelphesCard_WithDipole_PileUp_v02.tcl

comment:5 by Michele Selvaggi, 9 years ago

There is an "s" missing in stableParticle -> stableParticles ...

comment:6 by Marianna Testa, 9 years ago

Sorry, corrected.
From a scan of TrackPV.Z - Vertex.Z,TrackPV.Z,Vertex.Z (below)
I don't see the difference | TrackPV.Z - Vertex.Z | < 0.1mm as set in the card.

Am I missing something?

root [16] Delphes->Scan("TrackPV.Z - Vertex.Z:TrackPV.Z:Vertex.Z")
*

  • Row * Instance * TrackPV.Z * TrackPV.Z * Vertex.Z *

*

  • 0 * 0 * 0 * -68.01173 * -68.01173 *
  • 0 * 1 * -36.42186 * -68.01173 * -31.58986 *
  • 0 * 2 * -65.29901 * -68.01173 * -2.712722 *
  • 0 * 3 * -35.35065 * -68.01173 * -32.66108 *
  • 0 * 4 * -50.60587 * -68.01173 * -17.40585 *

Cheers,
Marianna.

comment:7 by Marianna Testa, 9 years ago

Hello,

is there a follow-up on that?

Thanks,
Marianna.

Note: See TracTickets for help on using tickets.