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)
Change History (9)
by , 9 years ago
Attachment: | myFCChh_DelphesCard_WithDipole_PileUp_v01.tcl added |
---|
comment:1 by , 9 years ago
comment:2 by , 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 , 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 , 9 years ago
Attachment: | myFCChh_DelphesCard_WithDipole_PileUp_v02.tcl added |
---|
comment:4 by , 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:6 by , 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.
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:
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