TWiki
>
CMSPublic Web
>
SWGuide
>
SWGuidePhysicsTools
>
SWGuideParticleDataTable
(revision 8) (raw view)
Edit
Attach
PDF
---+!! Particle Data Table %COMPLETE3% %TOC{title="Contents:"}% ---++ About the Particle Data Table in CMSSW Short description of the Particle Data Table (PDT) in CMSSW and how to use them. We are using the !HepPDT package for creating/using the Particle Data Table. ---++ What is available? There are two Particle Data Tables available in CMSSW: * one based on the particles in Pythia : it includes hypothetic particles such as Higgs bosons and supersymmetric particles and * one based on the PDG booklet : it only contains experimentally observed particles, but it also contains the errors on the measurements. It is advised to use the Pythia table (for consistency with the generated particle properties). THIS PDG TABLE WILL DISAPPEAR SOON (in 1_4_0) to have 1 consistent table througout our software !!!!! ---++ Using the Particle Data Table in CMSSW * In your .cfg files, include the following line: <pre> include "SimGeneral/HepPDTESSource/data/pythiapdt.cfi" </pre> * In your code, you can access the particle data table as follows: <pre> // getting the table from the EventSource es and filling it into pdt ESHandle < ParticleDataTable > pdt; es.getData( pdt ); </pre> * to see what you can do with the table, you can have a look at the header files in: http://clhep.cvs.cern.ch:8180/cgi-bin/clhep.cgi/CLHEP/HepPDT/HepPDT/ Some examples: <pre> const DefaultConfig::ParticleData * part = pdt->particle( "mu-"); // get the muon data cout << " Particle properties of the " << part->name() << " are:" << endl; cout << " Particle ID = " << part->pid() << endl; cout << " Charge = " << part->charge() << endl; cout << " Mass = " << part->mass() << endl; </pre> * an example of an EDAnalyzer ("HepPDTAnalyzer") that prints out some particle properties can be found in [[http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/SimGeneral/HepPDTESSource/test/?cvsroot=CMSSW][CMSSW/SimGeneral/HepPDTESSource/test]] * for questions or problems, please contact [[mailto:Filip.Moortgat@cern.ch][Filip Moortgat]] and [[mailto:Luca.Lista@cern.ch][Luca Lista]] #ReviewStatus ---++!! Review Status | *Editor/Reviewer and date* | *Comments* | | Main.fmoortga - 18 Jul 2006 | Page author (Filip Moortgat) | %RESPONSIBLE% Main.fmoortga %BR% %REVIEW% Reviewer
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r9
<
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r8 - 2008-07-01
-
LucaLista
Log In
CMSPublic
CMSPublic Web
CMSPrivate Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Offline SW Guide
Summary of Changes
Site Map
Preface
Contributors Guide
Developers Guide
Offline Workbook
Glossary/Index
User Support
Reference Manual
Main Areas
Framework and EDM
Detector Description
Event Generation
Full Simulation
Fast Simulation
Calibration and Alignment
Conditions Database
High Level Trigger
L1 Trigger
Online Selection
Reconstruction
Detector Reco Objects
Tracks
Ecal Reco
Hcal Reco
Muon System Reco
Vertex Reco
Physics Reco Objects
Muons
Electrons/Photons
Jets, missing ET
b Tagging
Particle flow
Tau-ID
Analysis/Software Tools
Physics Tools
MC Truth Tools
Visualization
Trouble Shooting
Code Performance
Port to New Release
CRAB
Analysis Examples
Higgs
SUSY/BSM
Electroweak
Top
Heavy Ions
Physics Tools
Documentation
Analysis Patterns
RECO/AOD Format
CMS Workbook
Selected topics:
Particle Candidates
Candidate Utilities
Selectors and Filters
Common Containers
GenParticle Candidate
MC Truth Match
Particle Data Table
TFileService
References:
Reference Manual
CVS
,
LXR
Communication
Meetings
Hypernews:
Physics Tools
Reco Data Format
Data Samples
DBS Data Discovery
CRAB
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
Altair
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Cern Search
TWiki Search
Google Search
CMSPublic
All webs
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback