Difference: AVFedotovLogA008 (1 vs. 33)

Revision 332013-11-01 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
<!--
   ==================
Line: 33 to 33
 
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuideDataFormatTable|
>
>
|CMSPublic.SWGuideDataFormatTable|
 *Data Format Tables for the Offline Guide*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuideDataFormatGeneratorInterface|
>
>
|CMSPublic.SWGuideDataFormatGeneratorInterface|
 *Data Formats in GeneratorInterface*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.WorkBookGenParticleCandidate|
>
>
|CMSPublic.WorkBookGenParticleCandidate|
 *Generator event format in AOD*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuideEventGeneration|
>
>
|CMSPublic.SWGuideEventGeneration|
 *Event Generation Offline Guide*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuidePythia6Interface|
>
>
|CMSPublic.SWGuidePythia6Interface|
 *Pythia6 Interface to CMSSW*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuidePhysicsTools|
>
>
|CMSPublic.SWGuidePhysicsTools|
 *Physics Analysis Tools Offline Guide*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->
<!-- ============================================= -->
Changed:
<
<
|CMS.SWGuideCandidateModules|
>
>
|CMSPublic.SWGuideCandidateModules|
 *Common Candidate Modules*|                                          Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
No permission to view CMS
>
>
 
<!--/twistyPlugin-->

Revision 322010-10-04 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
<!--
   ==================
Line: 177 to 179
 
Added:
>
>

Product sizes

The product sizes were obtained with the edmEventSize utility ( SWGuideEdmEventSize , WorkBook reference )

<!-- SyntaxHighlightingPlugin -->
edmEventSize -v -o out rfio:///castor/cern.ch/cms//store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0024/EA7C9196-3A69-DF11-B02C-00304867BF18.root
<!-- end SyntaxHighlightingPlugin -->

Note: the two reported numbers for a products are the average plain and compressed sizes (in bytes).

The sum of compressed sizes over all products, 355757 bytes, can be compared to the average record size = (file length) / nEvents = 746345755/2000 = 373173 . => The overhead for the event structure seems to be about 5% .

 

Generator products

Line: 850 to 873
 
META FILEATTACHMENT attachment="PartonFlow.isub18.ev1.fig" attr="" comment="" date="1281896523" name="PartonFlow.isub18.ev1.fig" path="PartonFlow.isub18.ev1.fig" size="3343" stream="PartonFlow.isub18.ev1.fig" tmpFilename="/usr/tmp/CGItemp54699" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev2.fig" attr="" comment="" date="1281896571" name="PartonFlow.isub18.ev2.fig" path="PartonFlow.isub18.ev2.fig" size="3480" stream="PartonFlow.isub18.ev2.fig" tmpFilename="/usr/tmp/CGItemp54713" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev2.gif" attr="" comment="" date="1281900178" name="PartonFlow.isub14.ev2.gif" path="PartonFlow.isub14.ev2.gif" size="5217" stream="PartonFlow.isub14.ev2.gif" tmpFilename="/usr/tmp/CGItemp54617" user="fedotov" version="1"
Added:
>
>
META FILEATTACHMENT attachment="edmEventSize.out.txt" attr="" comment="" date="1286154752" name="edmEventSize.out.txt" path="edmEventSize.out.txt" size="27934" stream="edmEventSize.out.txt" tmpFilename="/usr/tmp/CGItemp10119" user="fedotov" version="1"

Revision 312010-09-30 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Added:
>
>
<!--
   ==================
   SETTINGS FOR THIS PAGE: (active are only those with 3 spaces before `*')
   ==================
                                HIGHLIGT (VERBATIM and SYNTAX)  
 
Added:
>
>
                                DEFINE A VARIABLE (reference with                                         ) 
  • Set My40Blanks =                                         
-->
 

-- AlexanderFedotov - 24-Jul-2010

Line: 836 to 850
 
META FILEATTACHMENT attachment="PartonFlow.isub18.ev1.fig" attr="" comment="" date="1281896523" name="PartonFlow.isub18.ev1.fig" path="PartonFlow.isub18.ev1.fig" size="3343" stream="PartonFlow.isub18.ev1.fig" tmpFilename="/usr/tmp/CGItemp54699" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev2.fig" attr="" comment="" date="1281896571" name="PartonFlow.isub18.ev2.fig" path="PartonFlow.isub18.ev2.fig" size="3480" stream="PartonFlow.isub18.ev2.fig" tmpFilename="/usr/tmp/CGItemp54713" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev2.gif" attr="" comment="" date="1281900178" name="PartonFlow.isub14.ev2.gif" path="PartonFlow.isub14.ev2.gif" size="5217" stream="PartonFlow.isub14.ev2.gif" tmpFilename="/usr/tmp/CGItemp54617" user="fedotov" version="1"
Deleted:
<
<
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 302010-09-05 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 157 to 157
 
  • applying the edmDumpEventContent utility to the one-event file
Added:
>
>
Another type of the list was obtained by running the EventContentAnalyzer
 

Generator products

Revision 292010-08-15 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 616 to 616
 (status code = 3) are printed out. It is noteworthy that a full listing is too long and indigestible.
Changed:
<
<

PYLIST's for ISUB=29,14,18

>
>

PYLIST's and Parton Flow sketches for ISUB=29,14,18

  There are three subprocesses occuring in the file above (the subrocess number comes from the
Line: 666 to 666
 
Added:
>
>
One can also look at the parton-flow sketches made for the first few events from each of the above files: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

<!-- ======================================================= -->

ISUB = 29: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
<!-- ===== event ======= -->
Event 1: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub29.ev1.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 2: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub29.ev2.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 3: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub29.ev3.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 4: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub29.ev4.gif

<!--/twistyPlugin-->
<!--/twistyPlugin-->
<!-- ======================================================= -->

ISUB = 14: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
<!-- ===== event ======= -->
Event 1: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub14.ev1.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 2: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub14.ev2.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 3: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub14.ev3.gif

 
Added:
>
>
<!--/twistyPlugin-->
<!--/twistyPlugin-->
<!-- ======================================================= -->

ISUB = 18: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
<!-- ===== event ======= -->
Event 1: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub18.ev1.gif

<!--/twistyPlugin-->
<!-- ===== event ======= -->
Event 2: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->

PartonFlow.isub18.ev2.gif

<!--/twistyPlugin-->
<!--/twistyPlugin-->
<!-- ======================================================= -->


Original files: gif: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
ISUB=29: 1 , 2 , 3 , 4 , ISUB=14: 1 , 2 , 3 , ISUB=18: 1 , 2 ,
<!--/twistyPlugin-->
fig: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
ISUB=29: 1 , 2 , 3 , 4 , ISUB=14: 1 , 2 , 3 , ISUB=18: 1 , 2
<!--/twistyPlugin-->
<!--/twistyPlugin-->
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META FILEATTACHMENT attachment="WorkBookGenParticleCandidate.GenParticleCandidate.gif" attr="" comment="" date="1280621838" name="WorkBookGenParticleCandidate.GenParticleCandidate.gif" path="WorkBookGenParticleCandidate.GenParticleCandidate.gif" size="13406" stream="WorkBookGenParticleCandidate.GenParticleCandidate.gif" tmpFilename="/usr/tmp/CGItemp21852" user="fedotov" version="1"
Line: 675 to 813
 
META FILEATTACHMENT attachment="pylist.pthat15.isub29.txt" attr="" comment="" date="1281298415" name="pylist.pthat15.isub29.txt" path="pylist.pthat15.isub29.txt" size="708516" stream="pylist.pthat15.isub29.txt" tmpFilename="/usr/tmp/CGItemp54750" user="fedotov" version="1"
META FILEATTACHMENT attachment="pylist.pthat15.isub14.txt" attr="" comment="" date="1281298618" name="pylist.pthat15.isub14.txt" path="pylist.pthat15.isub14.txt" size="646312" stream="pylist.pthat15.isub14.txt" tmpFilename="/usr/tmp/CGItemp54839" user="fedotov" version="1"
META FILEATTACHMENT attachment="pylist.pthat10.isub18.txt" attr="" comment="" date="1281298664" name="pylist.pthat10.isub18.txt" path="pylist.pthat10.isub18.txt" size="101387" stream="pylist.pthat10.isub18.txt" tmpFilename="/usr/tmp/CGItemp54800" user="fedotov" version="1"
Added:
>
>
META FILEATTACHMENT attachment="PartonFlow.isub29.ev1.gif" attr="" comment="" date="1281895668" name="PartonFlow.isub29.ev1.gif" path="PartonFlow.isub29.ev1.gif" size="8114" stream="PartonFlow.isub29.ev1.gif" tmpFilename="/usr/tmp/CGItemp54589" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev2.gif" attr="" comment="" date="1281895757" name="PartonFlow.isub29.ev2.gif" path="PartonFlow.isub29.ev2.gif" size="6534" stream="PartonFlow.isub29.ev2.gif" tmpFilename="/usr/tmp/CGItemp54667" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev3.gif" attr="" comment="" date="1281895799" name="PartonFlow.isub29.ev3.gif" path="PartonFlow.isub29.ev3.gif" size="6535" stream="PartonFlow.isub29.ev3.gif" tmpFilename="/usr/tmp/CGItemp54629" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev4.gif" attr="" comment="" date="1281895823" name="PartonFlow.isub29.ev4.gif" path="PartonFlow.isub29.ev4.gif" size="7375" stream="PartonFlow.isub29.ev4.gif" tmpFilename="/usr/tmp/CGItemp54635" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev1.gif" attr="" comment="" date="1281895862" name="PartonFlow.isub14.ev1.gif" path="PartonFlow.isub14.ev1.gif" size="6836" stream="PartonFlow.isub14.ev1.gif" tmpFilename="/usr/tmp/CGItemp54572" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev2.fig" attr="" comment="" date="1281896480" name="PartonFlow.isub14.ev2.fig" path="PartonFlow.isub14.ev2.fig" size="3457" stream="PartonFlow.isub14.ev2.fig" tmpFilename="/usr/tmp/CGItemp54727" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev3.gif" attr="" comment="" date="1281896022" name="PartonFlow.isub14.ev3.gif" path="PartonFlow.isub14.ev3.gif" size="6004" stream="PartonFlow.isub14.ev3.gif" tmpFilename="/usr/tmp/CGItemp54666" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev1.gif" attr="" comment="" date="1281896074" name="PartonFlow.isub18.ev1.gif" path="PartonFlow.isub18.ev1.gif" size="5346" stream="PartonFlow.isub18.ev1.gif" tmpFilename="/usr/tmp/CGItemp54708" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev2.gif" attr="" comment="" date="1281896208" name="PartonFlow.isub18.ev2.gif" path="PartonFlow.isub18.ev2.gif" size="5461" stream="PartonFlow.isub18.ev2.gif" tmpFilename="/usr/tmp/CGItemp54703" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev1.fig" attr="" comment="" date="1281896314" name="PartonFlow.isub29.ev1.fig" path="PartonFlow.isub29.ev1.fig" size="4685" stream="PartonFlow.isub29.ev1.fig" tmpFilename="/usr/tmp/CGItemp54636" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev2.fig" attr="" comment="" date="1281896346" name="PartonFlow.isub29.ev2.fig" path="PartonFlow.isub29.ev2.fig" size="3830" stream="PartonFlow.isub29.ev2.fig" tmpFilename="/usr/tmp/CGItemp54665" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev3.fig" attr="" comment="" date="1281896365" name="PartonFlow.isub29.ev3.fig" path="PartonFlow.isub29.ev3.fig" size="3851" stream="PartonFlow.isub29.ev3.fig" tmpFilename="/usr/tmp/CGItemp54745" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub29.ev4.fig" attr="" comment="" date="1281896384" name="PartonFlow.isub29.ev4.fig" path="PartonFlow.isub29.ev4.fig" size="4235" stream="PartonFlow.isub29.ev4.fig" tmpFilename="/usr/tmp/CGItemp54709" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev1.fig" attr="" comment="" date="1281896404" name="PartonFlow.isub14.ev1.fig" path="PartonFlow.isub14.ev1.fig" size="4051" stream="PartonFlow.isub14.ev1.fig" tmpFilename="/usr/tmp/CGItemp54621" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev3.fig" attr="" comment="" date="1281896500" name="PartonFlow.isub14.ev3.fig" path="PartonFlow.isub14.ev3.fig" size="3642" stream="PartonFlow.isub14.ev3.fig" tmpFilename="/usr/tmp/CGItemp54729" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev1.fig" attr="" comment="" date="1281896523" name="PartonFlow.isub18.ev1.fig" path="PartonFlow.isub18.ev1.fig" size="3343" stream="PartonFlow.isub18.ev1.fig" tmpFilename="/usr/tmp/CGItemp54699" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub18.ev2.fig" attr="" comment="" date="1281896571" name="PartonFlow.isub18.ev2.fig" path="PartonFlow.isub18.ev2.fig" size="3480" stream="PartonFlow.isub18.ev2.fig" tmpFilename="/usr/tmp/CGItemp54713" user="fedotov" version="1"
META FILEATTACHMENT attachment="PartonFlow.isub14.ev2.gif" attr="" comment="" date="1281900178" name="PartonFlow.isub14.ev2.gif" path="PartonFlow.isub14.ev2.gif" size="5217" stream="PartonFlow.isub14.ev2.gif" tmpFilename="/usr/tmp/CGItemp54617" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 282010-08-09 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 616 to 616
 (status code = 3) are printed out. It is noteworthy that a full listing is too long and indigestible.
Added:
>
>

PYLIST's for ISUB=29,14,18

There are three subprocesses occuring in the file above (the subrocess number comes from the GenEventInfoProduct::signalProcessID() function, More... Close

<!--/twistyPlugin twikiMakeVisibleInline-->
<!-- SyntaxHighlightingPlugin -->
// get handle to the GenEventInfoProduct
  edm::Handle < GenEventInfoProduct > genEvInfo ;
  iEvent.getByLabel (genEventInfoLabel_ , genEvInfo) ; 
  // get pythia subprocess:
  int pyIsub =  (int) genEvInfo -> signalProcessID () ;
<!-- end SyntaxHighlightingPlugin -->
<!--/twistyPlugin-->
):

SignalProcessId.gif
Arrow down zoom
SignalProcessId.zoomed.gif
gif

Thus, one has:

subprocess fraction
29 93 %
14 7 %
18 .02 %
possible but not present (too low statistics?):
114 0
115 0

Some PYLIST's (the outputs of the ParticleListDrawer actually ) for the available subprocesses can be found in the following text files:

 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META FILEATTACHMENT attachment="WorkBookGenParticleCandidate.GenParticleCandidate.gif" attr="" comment="" date="1280621838" name="WorkBookGenParticleCandidate.GenParticleCandidate.gif" path="WorkBookGenParticleCandidate.GenParticleCandidate.gif" size="13406" stream="WorkBookGenParticleCandidate.GenParticleCandidate.gif" tmpFilename="/usr/tmp/CGItemp21852" user="fedotov" version="1"
Added:
>
>
META FILEATTACHMENT attachment="SignalProcessId.gif" attr="" comment="" date="1281298168" name="SignalProcessId.gif" path="SignalProcessId.gif" size="11058" stream="SignalProcessId.gif" tmpFilename="/usr/tmp/CGItemp54714" user="fedotov" version="1"
META FILEATTACHMENT attachment="SignalProcessId.zoomed.gif" attr="" comment="" date="1281298223" name="SignalProcessId.zoomed.gif" path="SignalProcessId.zoomed.gif" size="11592" stream="SignalProcessId.zoomed.gif" tmpFilename="/usr/tmp/CGItemp54755" user="fedotov" version="1"
META FILEATTACHMENT attachment="pylist.pthat15.isub29.txt" attr="" comment="" date="1281298415" name="pylist.pthat15.isub29.txt" path="pylist.pthat15.isub29.txt" size="708516" stream="pylist.pthat15.isub29.txt" tmpFilename="/usr/tmp/CGItemp54750" user="fedotov" version="1"
META FILEATTACHMENT attachment="pylist.pthat15.isub14.txt" attr="" comment="" date="1281298618" name="pylist.pthat15.isub14.txt" path="pylist.pthat15.isub14.txt" size="646312" stream="pylist.pthat15.isub14.txt" tmpFilename="/usr/tmp/CGItemp54839" user="fedotov" version="1"
META FILEATTACHMENT attachment="pylist.pthat10.isub18.txt" attr="" comment="" date="1281298664" name="pylist.pthat10.isub18.txt" path="pylist.pthat10.isub18.txt" size="101387" stream="pylist.pthat10.isub18.txt" tmpFilename="/usr/tmp/CGItemp54800" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 272010-08-08 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 570 to 570
 The include line should now be %SYNTAX{"cpp"}% //include other plugins:
Changed:
<
<
// In the standard ParticleTreeDrawer `analyse' is private // => use local version where it has been made public
>
>
// In the standard ParticleTreeDrawer, `analyse' is private // => use a local version where it has been made public
 //#include "PhysicsTools/HepMCCandAlgos/plugins/ParticleTreeDrawer.cc" #include "ParticleTreeDrawer.h" %ENDSYNTAX%
Line: 612 to 612
 %ENDSYNTAX%

In the above example only the particles from the hard part

Changed:
<
<
of the interaction_
>
>
of the interaction
 (status code = 3) are printed out. It is noteworthy that a full listing is too long and indigestible.

Revision 262010-08-08 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 429 to 429
  CandidateFwd.h File Reference]] ,
    • and (?) similar references in the inheritance chain.
Added:
>
>

 

Using the ParticleListDrawer plugin as a slave class in an EDAnalyzer

The

Line: 465 to 471
 process.aName = cms.EDAnalyzer( 'YourAnalyzerName', . . . ,
Added:
>
>
# # parameter set for a ParticleListDrawer object: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ParticleListDrawerConfig = cms.untracked.PSet(
Changed:
<
<
maxEventsToPrint = cms.untracked.int32(-1), printVertex = cms.untracked.bool(False), src = cms.InputTag("genParticles")
>
>
# +--------------------------------------+ # parameter default # +--------------------------------------+ # src "src" # maxEventsToPrint 1 # printVertex False # printOnlyHardInteraction False # useMessageLogger False # +--------------------------------------+ src = cms.InputTag ("genParticles"), maxEventsToPrint = cms.untracked.int32 (-1) # default settings are commented out: #printVertex = cms.untracked.bool (False) #printOnlyHardInteraction = cms.untracked.bool (False) #useMessageLogger = cms.untracked.bool (False)
  ) ) . . .
Line: 522 to 543
  %ENDSYNTAX%
Added:
>
>
ParticleTreeDrawer as a slave

The use case for the ParticleTreeDrawer described in in SWGuide would be identical (up to a different configuration) to the ParticleListDrawer above if the analyze function of the ParticleTreeDrawer would not be declared private.

The way out is

  • to copy the PhysicsTools/HepMCCandAlgos/plugins/ParticleTreeDrawer.cc to our package src directory,
  • change private: to public: for the analyze function
  • split the file into a .h and .cc (or may be (?) just rename the .cc into .h )
  • and then proceed similarily to the ParticleListDrawer case

The include line should now be

<!-- SyntaxHighlightingPlugin -->
//include other plugins:
//                  In the standard ParticleTreeDrawer `analyse' is private
//                  => use local version where it has been  made public  
//#include "PhysicsTools/HepMCCandAlgos/plugins/ParticleTreeDrawer.cc"
#include "ParticleTreeDrawer.h"
<!-- end SyntaxHighlightingPlugin -->

And the configuration for the ParticleTreeDrawer has to be different:

<!-- SyntaxHighlightingPlugin -->
. .
process.aName = cms.EDAnalyzer(
    'YourAnalyzerName',
    . . . ,
    #
    # parameter set for a ParticleTreeDrawer object:
    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ParticleTreeDrawerConfig = cms.untracked.PSet(
        #      +----------------------------------------------------+   
        #         parameter       default
        #      +----------------------------------------------------+   
        #         src             "src"
        #         printP4         False
        #         printPtEtaPhi   False 
        #         printVertex     False 
        #         printStatus     False
        #         printIndex      False
        #         status          empty list of statuses (means: print all)
        #      +----------------------------------------------------+   
        src           =  cms.InputTag         ("genParticles"),
        printIndex    =  cms.untracked.bool   (True),
        status        =  cms.untracked.vint32 (3)
        #    default settings are commented out:
        #printP4       =  cms.untracked.bool   (False),
        #printPtEtaPhi =  cms.untracked.bool   (False),
        #printVertex   =  cms.untracked.bool   (False),    
        #printStatus   =  cms.untracked.bool   (True),
    )
)
. . .
process.p = cms.Path(process.aName)
<!-- end SyntaxHighlightingPlugin -->

In the above example only the particles from the hard part of the interaction_ (status code = 3) are printed out. It is noteworthy that a full listing is too long and indigestible.

 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META FILEATTACHMENT attachment="WorkBookGenParticleCandidate.GenParticleCandidate.gif" attr="" comment="" date="1280621838" name="WorkBookGenParticleCandidate.GenParticleCandidate.gif" path="WorkBookGenParticleCandidate.GenParticleCandidate.gif" size="13406" stream="WorkBookGenParticleCandidate.GenParticleCandidate.gif" tmpFilename="/usr/tmp/CGItemp21852" user="fedotov" version="1"
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""

Revision 252010-08-08 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 55 to 55
  Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
Added:
>
>
<!-- ============================================= -->
SWGuidePhysicsTools Physics Analysis Tools Offline Guide
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
<!-- ============================================= -->
SWGuideCandidateModules Common Candidate Modules
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
 

Revision 242010-08-07 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 413 to 413
  CandidateFwd.h File Reference]] ,
    • and (?) similar references in the inheritance chain.
Added:
>
>

Using the ParticleListDrawer plugin as a slave class in an EDAnalyzer

The ParticleListDrawer module produces the output which is similar to the one from the Pythia routine PYLIST. The plugin usage is described in SWGuide .

One can also use it directly from c++ of an EDAnalyzer. Here is an example.

  1. Add into your ..._cfg.py :
    • the load statement:
      <!-- SyntaxHighlightingPlugin -->
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
        
<!-- end SyntaxHighlightingPlugin -->
      • The file SimGeneral/HepPDTESSource/python/pythiapdt_cfi.py gets loaded containing
        <!-- SyntaxHighlightingPlugin -->
HepPDTESSource = cms.ESSource(
    "HepPDTESSource",
    pdtFileName = cms.FileInPath(
        'SimGeneral/HepPDTESSource/data/pythiaparticle.tbl'
    )
)
           
<!-- end SyntaxHighlightingPlugin -->
    • the ParticleListDrawerConfig parameter set to the configuration block of your Analyzer module. This parameter set will be used later on to config a ParticleListDrawer object in your code:
      <!-- SyntaxHighlightingPlugin -->
. . .
process.aName = cms.EDAnalyzer(
    'YourAnalyzerName',
    . . . ,
    ParticleListDrawerConfig = cms.untracked.PSet(
        maxEventsToPrint = cms.untracked.int32(-1),
        printVertex = cms.untracked.bool(False),
        src = cms.InputTag("genParticles")
    )
)
. . .
process.p = cms.Path(process.aName)
        
<!-- end SyntaxHighlightingPlugin -->
The name ParticleListDrawerConfig is chosen arbitrarily. Also the configuration options may be different.
  1. In the YourAnalizer.cc:
    • add the following #include e.g. as the first include :
      <!-- SyntaxHighlightingPlugin -->
//include other plugins:
#include "PhysicsTools/HepMCCandAlgos/plugins/ParticleListDrawer.cc"
        
<!-- end SyntaxHighlightingPlugin -->
    • add a data member in the class prototype:
      <!-- SyntaxHighlightingPlugin -->
public:   // or private:
  . . .
  ParticleListDrawer * partListDr;
        
<!-- end SyntaxHighlightingPlugin -->
    • instantiate the object in the constructor:
      <!-- SyntaxHighlightingPlugin -->
YourAnalyzer::
YourAnalyzer ( const edm::ParameterSet & iConfig)
{
  partListDr = new ParticleListDrawer
    ( iConfig.getUntrackedParameterSet ("ParticleListDrawerConfig") )  ;
. . .
        
<!-- end SyntaxHighlightingPlugin -->
    • finally, print the list whenever you want in the `analyze' function:
      <!-- SyntaxHighlightingPlugin -->
void
YourAnalyzer::
analyze ( const edm::Event      & iEvent,
	  const edm::EventSetup & iSetup)
{
. . .
  if (. . .) partListDr -> analyze( iEvent, iSetup) ;
. . .
        
<!-- end SyntaxHighlightingPlugin -->
  1. Add to your BuildFile :
    <!-- SyntaxHighlightingPlugin -->
. . .
<use name=PhysicsTools/HepMCCandAlgos>
<use name=DataFormats/Candidate>
. . .
<export>
. . .
   <use name=PhysicsTools/HepMCCandAlgos>
   <use name=DataFormats/Candidate>
</export>
        
<!-- end SyntaxHighlightingPlugin -->
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META FILEATTACHMENT attachment="WorkBookGenParticleCandidate.GenParticleCandidate.gif" attr="" comment="" date="1280621838" name="WorkBookGenParticleCandidate.GenParticleCandidate.gif" path="WorkBookGenParticleCandidate.GenParticleCandidate.gif" size="13406" stream="WorkBookGenParticleCandidate.GenParticleCandidate.gif" tmpFilename="/usr/tmp/CGItemp21852" user="fedotov" version="1"

Revision 232010-08-03 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 188 to 188
 //. . . %ENDSYNTAX%
Changed:
<
<

Note on BuildFile

>
>

BuildFile : taking care of

  While accessing a generator product, do not forget to add a coresponding line to the BuildFile .

Revision 222010-08-03 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 188 to 188
 //. . . %ENDSYNTAX%
Added:
>
>

Note on BuildFile

While accessing a generator product, do not forget to add a coresponding line to the BuildFile . E.g., in case of GenEventInfoProduct, the following line has to be added:

<use name=SimDataFormats/GeneratorProducts>

Otherwise an unclear fatal linking error message will be issued by scramv1 b :
.../libYOUR-PACKAGE-NAME.so: undefined reference to `typeinfo for GenEventInfoProduct'
collect2: ld returned 1 exit status

 

reco::GenParticleCollection

Revision 212010-08-02 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 147 to 147
  A table from SWGuideDataFormatGeneratorInterface with links corrected:
Changed:
<
<
InputTag/Module (Instance name) Containers Description
>
>
InputTag/Module (Instance name) Container Description
 
GeneratorInterface collections (in RECOSIM and AODSIM)
generator GenEventInfoProduct General characteristics of a generated event.
Line: 283 to 284
 
Changed:
<
<

Example of accessing a GenParticleCollection

>
>
pdgID() and status() member functions of reco::GenParticle

The material is from the WorkBook .

  • pdgId() : a PDG identifier (pdg_id() in HepMC::GenParticle)
  • status() : a status code (status() in HepMC::GenParticle). Standard status codes are described in HepMC manual .

    • Status codes have the following convention in Pythia:

      Value Meaning
      0 null entry
      1 existing entry not decayed or fragmented, represents the final state as given by the generator
      2 decayed or fragmented entry (i.e. decayed particle or parton produced in shower.)
      3 identifes the "hard part" of the interaction, i.e. the partons that are used in the matrix element calculation, including immediate decays of resonances. (documentation entry, defined separately from the event history. "This includes the two incoming colliding particles and partons produced in hard interaction." [ * ])
      4-10 undefined, reserved for future standards
      11-200 at the disposal of each model builder equivalent to a null line
      201-... at the disposal of the user, in particular for event tracking in the detector

    • Other generators may have more complex conventions. See, for instance:

Example of accessing a GenParticleCollection

  The example is [[https://twiki.cern.ch/twiki/bin/view/CMS/WorkBookGenParticleCandidate#GenPColl ][

Revision 202010-08-01 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 275 to 275
  reco::GenParticle ]]|
  • The generator particles may contain mother and/or daughter
Changed:
<
<
links to particles in the same collection:
Error: (2) can't find GenParticleCandidate.gif at CMS.WorkBookGenParticleCandidate
>
>
links to particles in the same collection (picture from here):
<!-- the external link does not work sometimes! Error: (2) can't find GenParticleCandidate.gif at CMS.WorkBookGenParticleCandidate --->
 

Example of accessing a GenParticleCollection

Line: 358 to 362
  CandidateFwd.h File Reference]] ,
    • and (?) similar references in the inheritance chain.
Added:
>
>
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
Added:
>
>
META FILEATTACHMENT attachment="WorkBookGenParticleCandidate.GenParticleCandidate.gif" attr="" comment="" date="1280621838" name="WorkBookGenParticleCandidate.GenParticleCandidate.gif" path="WorkBookGenParticleCandidate.GenParticleCandidate.gif" size="13406" stream="WorkBookGenParticleCandidate.GenParticleCandidate.gif" tmpFilename="/usr/tmp/CGItemp21852" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 192010-07-29 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 233 to 233
 
vector<reco::GenParticle>   "genParticles"    ""   "HLT."         
Changed:
<
<
There is another product with the label genParticles :
>
>
There is another product with the label genParticles also originating from the GenParticleProducer :
 
vector<int>                 "genParticles"    ""   "HLT." 
Line: 245 to 246
 

reco::GenParticle

Changed:
<
<
  • [[http://cms-service-sdtweb.web.cern.ch/cms-service-sdtweb/doxygen/new1/CMSSW_3_7_0/doc/html/d5/dd4/classreco_1_1GenParticle.html#_details][
>
>
  • [[http://cms-service-sdtweb.web.cern.ch/cms-service-sdtweb/doxygen/new1/CMSSW_3_7_0/doc/html/d5/dd4/classreco_1_1GenParticle.html][
  Class Reference ]]
  • header file:
    <!-- SyntaxHighlightingPlugin -->
#include <DataFormats/HepMCCandidate/interface/GenParticle.h>
     
<!-- end SyntaxHighlightingPlugin -->
Added:
>
>
 
  • inheritance diagram:
Line: 267 to 270
  reco::GenParticleRefVector > | Parent arrow
Changed:
<
<
reco::GenParticle
>
>
reco::GenParticle
 
  • The generator particles may contain mother and/or daughter links to particles in the same collection:
    Error: (2) can't find GenParticleCandidate.gif at CMS.WorkBookGenParticleCandidate
Added:
>
>

Example of accessing a GenParticleCollection

The example is from the WorkBook .

%SYNTAX{"cpp"}% #include "DataFormats/HepMCCandidate/interface/GenParticle.h"

using namespace reco; // to access types reco::GenParticleCollection , // reco::Candidate

void MyModule::analyze(const edm::Event & event, ...) {

// get the handle Handle genParticles; event.getByLabel("genParticles", genParticles);

// loop over particles for(size_t i = 0; i < genParticles->size(); ++ i) {

// the reference p to the i-th particle: const GenParticle & p = (*genParticles)[i];

// get pdgId: int id = p.pdgId(); // get status: int st = p.status();

// get pointer to mother (reco::Candidate type!): const Candidate * mom = p.mother();

 
Changed:
<
<
example of access from WkBk
>
>
// get pt, eta, phi, mass: double pt = p.pt(), eta = p.eta(), phi = p.phi(), mass = p.mass();
 
Added:
>
>
// get vertex components: double vx = p.vx(), vy = p.vy(), vz = p.vz();

// get charge: int charge = p.charge();

// get no. of daughters: int n = p.numberOfDaughters();

// loop over daughters: for(size_t j = 0; j < n; ++ j) {

// get pointer d to a daughter (reco::Candidate type!): const Candidate * d = p.daughter( j );

// get daughter's id: int dauId = d->pdgId(); // . . . } // . . . } } %ENDSYNTAX%

 
Added:
>
>
Notes:
  • The reco::GenParticle member functions mentioned in the above example, are defined as purely virtual in the base class reco::Candidate , then actually implemented in the class reco::LeafCandidate (see InheritanceDiagram ).
  • There are many more inherited member functions (see links from the InheritanceDiagram ).
  • Check typedef's in the reco:: namespace:
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""

Revision 182010-07-29 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 209 to 209
 For an info on the reco::GenParticle , see below
Changed:
<
<

GenParticleProducer

>
>

GenParticleProducer

  The reco::GenParticleCollection is produced from the reco::HepMCProduct by the GenParticleProducer
Line: 226 to 226
 is located in the .../data/ directory which seems to be empty actually).
Changed:
<
<

GenParticleCollection in the edmDumpEventContent output

>
>

GenParticleCollection in the edmDumpEventContent output

  The reco::GenParticleCollection is reported in the above Full List of Pruducts as

Revision 172010-07-28 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 130 to 130
  </>
<!--/twistyPlugin-->
Added:
>
>
 

List of products

Line: 167 to 168
 
Changed:
<
<

Another example with fetching pthat

>
>

Example: fetching pthat

  The example is taken from
Line: 187 to 188
 %ENDSYNTAX%
Changed:
<
<

reco::GenParticleCollection

>
>

reco::GenParticleCollection

Definition

  In the AOD event content, the edm::HepMCProduct
Line: 203 to 206
 
<!-- SyntaxHighlightingPlugin -->
std::vector < reco::GenParticle >
<!-- end SyntaxHighlightingPlugin -->
Added:
>
>
For an info on the reco::GenParticle , see below

GenParticleProducer

The reco::GenParticleCollection is produced from the reco::HepMCProduct by the GenParticleProducer

configured with the There are short descriptions of the module in WorkBook and SWGuide ( ? both claim that the configuration file is located in the .../data/ directory which seems to be empty actually).

GenParticleCollection in the edmDumpEventContent output

The reco::GenParticleCollection is reported in the above Full List of Pruducts as

vector<reco::GenParticle>   "genParticles"    ""   "HLT."         
There is another product with the label genParticles :
vector<int>                 "genParticles"    ""   "HLT." 
whose content is not clear .

reco::GenParticle

 
Deleted:
<
<
reco::GenParticle :
 
Line: 231 to 270
 
reco::GenParticle
Added:
>
>
  • The generator particles may contain mother and/or daughter links to particles in the same collection:
    Error: (2) can't find GenParticleCandidate.gif at CMS.WorkBookGenParticleCandidate
 
Deleted:
<
<
produced by?

the standard product?

description from the data format tables?

  example of access from WkBk

Revision 162010-07-28 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 197 to 197
 reco::GenParticleCollection %ENDSYNTAX%
Changed:
<
<
The reco::GenParticleCollection is a typedef for
>
>
The reco::GenParticleCollection is a typedef for
 
<!-- SyntaxHighlightingPlugin -->
std::vector < reco::GenParticle >
<!-- end SyntaxHighlightingPlugin -->
Changed:
<
<
reco GenParticle : Class Reference
>
>
reco::GenParticle :
#include <DataFormats/HepMCCandidate/interface/GenParticle.h>
     
<!-- end SyntaxHighlightingPlugin -->
  • inheritance diagram:

reco::Candidate
Parent arrow
reco::LeafCandidate
Parent arrow
reco::CompositeRefCandidateT
< reco::GenParticleRefVector >
Parent arrow
reco::GenParticle

produced by?

the standard product?

description from the data format tables?

 
Changed:
<
<
  • Set CMSSWversion = CMSSW_3_7_0
reco GenParticle : Class Reference
>
>
example of access from WkBk
 

Revision 152010-07-28 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 187 to 187
 %ENDSYNTAX%
Added:
>
>

reco::GenParticleCollection

In the AOD event content, the edm::HepMCProduct format of the generated event is replaced by the "lighter" (about 2 times) record/product of type

<!-- SyntaxHighlightingPlugin -->
reco::GenParticleCollection
<!-- end SyntaxHighlightingPlugin -->

The reco::GenParticleCollection is a typedef for

<!-- SyntaxHighlightingPlugin -->
std::vector < reco::GenParticle >
<!-- end SyntaxHighlightingPlugin -->

reco GenParticle : Class Reference

  • Set CMSSWversion = CMSSW_3_7_0
reco GenParticle : Class Reference

 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 142010-07-27 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 173 to 173
 

%SYNTAX{ "cpp" }%

Changed:
<
<
%//. . .
>
>
//. . .
 #include "SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h" //. . . void HZZ4muAnalyzer::analyze( const Event& e, const EventSetup& )
Line: 187 to 187
 %ENDSYNTAX%
Changed:
<
<
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META FILEATTACHMENT attachment="tutorialMy.css" attr="" comment="" date="1280246843" name="tutorialMy.css" path="tutorialMy.css" size="249" stream="tutorialMy.css" tmpFilename="/usr/tmp/CGItemp25490" user="fedotov" version="2"
>
>
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="obsolete!" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
Changed:
<
<
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="%25ATTACHURL%25/tutorialMy.css"
>
>
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="https://twiki.cern.ch/twiki/pub/Main/AlexanderFedotov/tutorialMy.css"

Revision 132010-07-27 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 186 to 186
 //. . . %ENDSYNTAX%
Deleted:
<
<
#F8FFFF

#F4FFFF

#EEFFFF

#DDFFFF

#CCFFFF

#BBFFFF

this
is
verbatim

#F5F5DC

#EEEEDC

#FFF8DC cornsilk

#F0F0F0

#F2F2F2

#F4F4F4

#F5F5F5 whitesmoke

#F6F6F6

#FAFAFA
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="tutorialMy.css" attr="" comment="" date="1280246426" name="tutorialMy.css" path="tutorialMy.css" size="252" stream="tutorialMy.css" tmpFilename="/usr/tmp/CGItemp25379" user="fedotov" version="1"
>
>
META FILEATTACHMENT attachment="tutorialMy.css" attr="" comment="" date="1280246843" name="tutorialMy.css" path="tutorialMy.css" size="249" stream="tutorialMy.css" tmpFilename="/usr/tmp/CGItemp25490" user="fedotov" version="2"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
Changed:
<
<
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="%25ATTACHURL%25/tutorial.css"
>
>
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="%25ATTACHURL%25/tutorialMy.css"

Revision 122010-07-27 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 15 to 15
 

Links

Changed:
<
<

>
>
<!-- ============================================= -->
SWGuideDataFormatTable Data Format Tables for the Offline Guide
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
<!-- ============================================= -->
SWGuideDataFormatGeneratorInterface Data Formats in GeneratorInterface
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
<!-- ============================================= -->
WorkBookGenParticleCandidate Generator event format in AOD
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
<!-- ============================================= -->
SWGuideEventGeneration Event Generation Offline Guide
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
<!--/twistyPlugin-->
<!-- ============================================= -->
SWGuidePythia6Interface Pythia6 Interface to CMSSW
                                         Contents: Show Hide
<!--/twistyPlugin twikiMakeVisibleInline-->
No permission to view CMS
 
<!--/twistyPlugin-->
Deleted:
<
<
)

 
Line: 235 to 186
 //. . . %ENDSYNTAX%
Added:
>
>
#F8FFFF

#F4FFFF

#EEFFFF

#DDFFFF

#CCFFFF

#BBFFFF

this
is
verbatim

#F5F5DC

#EEEEDC

#FFF8DC cornsilk

#F0F0F0

#F2F2F2

#F4F4F4

#F5F5F5 whitesmoke

#F6F6F6

#FAFAFA
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
Added:
>
>
META FILEATTACHMENT attachment="tutorialMy.css" attr="" comment="" date="1280246426" name="tutorialMy.css" path="tutorialMy.css" size="252" stream="tutorialMy.css" tmpFilename="/usr/tmp/CGItemp25379" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="%25ATTACHURL%25/tutorial.css"

Revision 112010-07-26 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 191 to 191
 
Changed:
<
<

"Generator" products

>
>

Generator products

  A table from SWGuideDataFormatGeneratorInterface with links corrected:
Line: 205 to 205
 
generator GenEventInfoProduct General characteristics of a generated event.
generator GenRunInfoProduct Run-specific parameters that define event generation, such as cross-sections, etc.
Deleted:
<
<

Accessing pthat

 
Changed:
<
<
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/GeneratorInterface/Pythia6Interface/test/HZZ4muAnalyzer.cc?revision=1.8&view=markup
>
>

Examples of accessing edm::HepMCProduct , GenEventInfoProduct and GenRunInfoProduct

 
Added:
>
>
Simple examples are given in SWGuideDataFormatGeneratorInterface in the section How_to_use_the_table

Another example with fetching pthat

The example is taken from

<!-- SyntaxHighlightingPlugin -->
%//. . .
#include "SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h"
//. . .
void HZZ4muAnalyzer::analyze( const Event& e, const EventSetup& )
{
  Handle< GenEventInfoProduct > GenInfoHandle;
  e.getByLabel( "generator", GenInfoHandle );

  double pthat = ( GenInfoHandle->hasBinningValues() ? 
                  (GenInfoHandle->binningValues())[0] : 0.0);
//. . .
<!-- end SyntaxHighlightingPlugin -->
 
META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""

Revision 102010-07-26 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 15 to 15
 

Links

Added:
>
>
 
Line: 191 to 193
 

"Generator" products

Added:
>
>
A table from SWGuideDataFormatGeneratorInterface with links corrected:

InputTag/Module (Instance name) Containers Description
GeneratorInterface collections (in RECOSIM and AODSIM)
generator GenEventInfoProduct General characteristics of a generated event.
generator GenRunInfoProduct Run-specific parameters that define event generation, such as cross-sections, etc.
GeneratorInterface collections (in RECOSIM only)
generator edm::HepMCProduct A tree of final-state particles that form a generated event.
generator GenEventInfoProduct General characteristics of a generated event.
generator GenRunInfoProduct Run-specific parameters that define event generation, such as cross-sections, etc.
 

Accessing pthat

http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/GeneratorInterface/Pythia6Interface/test/HZZ4muAnalyzer.cc?revision=1.8&view=markup

Revision 92010-07-26 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 72 to 72
 
<!--/twistyPlugin-->
)
Added:
>
>

 

Products

Added:
>
>
 

All GEN-SIM-RECO products

Added:
>
>

 

A GEN-SIM-RECO file

The following dataset of Pythya6 origin was chosen for tests:

Line: 93 to 132
 } %ENDSYNTAX% </>
<!--/twistyPlugin-->
Changed:
<
<
    • asd asd
>
>
    • Its parent dataset /RelValPhotonJets_Pt_10/CMSSW_3_7_0-START37_V4-v1/GEN-SIM-DIGI-RAW-HLTDEBUG had the following pythia parameters in the config file: More... Close
      <!--/twistyPlugin twikiMakeVisibleInline-->
      <!-- SyntaxHighlightingPlugin -->
process.generator = cms.EDFilter("Pythia6GeneratorFilter",
    pythiaPylistVerbosity = cms.untracked.int32(0),
    filterEfficiency = cms.untracked.double(1.0),
    pythiaHepMCVerbosity = cms.untracked.bool(False),
    comEnergy = cms.double(7000.0),
    maxEventsToPrint = cms.untracked.int32(0),
    PythiaParameters = cms.PSet(
        pythiaUESettings = cms.vstring('MSTJ(11)=3     ! Choice of the fragmentation function', 
            'MSTJ(22)=2     ! Decay those unstable particles', 
            'PARJ(71)=10 .  ! for which ctau  10 mm', 
            'MSTP(2)=1      ! which order running alphaS', 
            'MSTP(33)=0     ! no K factors in hard cross sections', 
            'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)', 
            'MSTP(52)=2     ! work with LHAPDF', 
            'MSTP(81)=1     ! multiple parton interactions 1 is Pythia default', 
            'MSTP(82)=4     ! Defines the multi-parton model', 
            'MSTU(21)=1     ! Check on possible errors during program execution', 
            'PARP(82)=1.8387   ! pt cutoff for multiparton interactions', 
            'PARP(89)=1960. ! sqrts for which PARP82 is set', 
            'PARP(83)=0.5   ! Multiple interactions: matter distrbn parameter', 
            'PARP(84)=0.4   ! Multiple interactions: matter distribution parameter', 
            'PARP(90)=0.16  ! Multiple interactions: rescaling power', 
            'PARP(67)=2.5    ! amount of initial-state radiation', 
            'PARP(85)=1.0  ! gluon prod. mechanism in MI', 
            'PARP(86)=1.0  ! gluon prod. mechanism in MI', 
            'PARP(62)=1.25   ! ', 
            'PARP(64)=0.2    ! ', 
            'MSTP(91)=1      !', 
            'PARP(91)=2.1   ! kt distribution', 
            'PARP(93)=15.0  ! '),
        processParameters = cms.vstring('MSEL=10              ! Pythia Photon+Jet processes', 
            'CKIN(3)=10.          ! minimum pt hat for hard interactions'),
        parameterSets = cms.vstring('pythiaUESettings', 
            'processParameters')
    )
)
        
<!-- end SyntaxHighlightingPlugin -->
<!--/twistyPlugin-->
 

List of products

Changed:
<
<
edmDumpEventContent output
>
>
The full list of products in the above dataset was obtained by
  • copying one event to a separate file ( copy job )
  • applying the edmDumpEventContent utility to the one-event file
 

"Generator" products

Added:
>
>

Accessing pthat

 
Added:
>
>
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/GeneratorInterface/Pythia6Interface/test/HZZ4muAnalyzer.cc?revision=1.8&view=markup
 

META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
Changed:
<
<
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value="                                                  "
>
>
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value=""
META PREFERENCE name="USERSTYLEURL" title="USERSTYLEURL" type="Set" value="%25ATTACHURL%25/tutorial.css"

Revision 82010-07-26 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 72 to 72
  </>
<!--/twistyPlugin-->
)
Added:
>
>

Products

 
Added:
>
>

All GEN-SIM-RECO products

 
Added:
>
>

A GEN-SIM-RECO file

 
Changed:
<
<

edmDumpEventContent output

>
>
The following dataset of Pythya6 origin was chosen for tests:

replace PoolSource.fileNames = {
        '/store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0026/028B3ACD-8E69-DF11-8530-002618943877.root',
        '/store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0024/EA7C9196-3A69-DF11-B02C-00304867BF18.root',
        '/store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0024/C450BF07-3969-DF11-8F9A-00248C55CC97.root',
        '/store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0024/BE5CCD08-3869-DF11-9158-001A92971B68.root',
        '/store/relval/CMSSW_3_7_0/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START37_V4-v1/0024/4E27E978-3869-DF11-BEEE-002618943925.root'
}
        
<!-- end SyntaxHighlightingPlugin -->
<!--/twistyPlugin-->
    • asd asd

List of products

  edmDumpEventContent output
Added:
>
>

"Generator" products

META FILEATTACHMENT attachment="tutorial.css" attr="" comment="" date="1280116326" name="tutorial.css" path="tutorial.css" size="253" stream="tutorial.css" tmpFilename="/usr/tmp/CGItemp17062" user="fedotov" version="1"
 
META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value="                                                  "

Revision 72010-07-26 - AlexanderFedotov

Line: 1 to 1
 
META TOPICPARENT name="AVFedotovLogA"
Line: 21 to 21
                                           (r12 Contents: More... Close
<!--/twistyPlugin twikiMakeVisibleInline-->
Changed:
<
<
Contents
    >
    >
       
    • RECO Data Formats
    • Additional information
    • How to use the table
    • Deleted:
      <
      <
       
      <!--/twistyPlugin-->
      )
      Added:
      >
      >
       
      Line: 35 to 35
                                                 ( r46 Contents: More... Close
      <!--/twistyPlugin twikiMakeVisibleInline-->
      Changed:
      <
      <
      >
      >

      > Introduction
      > GenParticle: Generator Particle Candidate
      > Generator Particles Collections
      > GenParticle Conversion from HepMCProduct
      > Decay Tree Drawing Utilities
      > Particle List Utility
      > Related Documents
      > Review Status
       
      <!--/twistyPlugin-->
      )
      Changed:
      <
      <
      • SWGuideEventGeneration : Event Generation Offline Guide                                          ( r21
      >
      >

      • SWGuideEventGeneration : Event Generation Offline Guide
                                                 ( r21
        Contents: More... Close
      <!--/twistyPlugin twikiMakeVisibleInline-->
      Added:
      >
      >
       
      <!--/twistyPlugin-->
      )

      Revision 62010-07-26 - AlexanderFedotov

      Line: 1 to 1
       
      META TOPICPARENT name="AVFedotovLogA"
      Line: 35 to 35
                                                 ( r46 Contents: More... Close
      <!--/twistyPlugin twikiMakeVisibleInline-->
      Added:
      >
      >
       
      Line: 43 to 44
       
      Added:
      >
      >
      <!--/twistyPlugin-->
      )
      • SWGuideEventGeneration : Event Generation Offline Guide                                          ( r21 Contents: More... Close
        <!--/twistyPlugin twikiMakeVisibleInline-->
       
      <!--/twistyPlugin-->
      )

      Revision 52010-07-25 - AlexanderFedotov

      Line: 1 to 1
       
      META TOPICPARENT name="AVFedotovLogA"
      Line: 18 to 18
       
      Changed:
      <
      <
      %MyBlanks20% (r12
      >
      >
                                               (r12
        Contents: More... Close
      <!--/twistyPlugin twikiMakeVisibleInline-->
      Contents
        Line: 32 to 32
         
        Changed:
        <
        <
        %MyBlanks20% ( r46
        >
        >
                                                 ( r46
          Contents: More... Close
        <!--/twistyPlugin twikiMakeVisibleInline-->
        Line: 51 to 51
          edmDumpEventContent output
        Changed:
        <
        <
        META PREFERENCE name="MyBlanks20" title="MyBlanks20" type="Set" value="                    "
        >
        >
        META PREFERENCE name="My40Blanks" title="My40Blanks" type="Set" value="                                                  "

        Revision 42010-07-25 - AlexanderFedotov

        Line: 1 to 1
         
        META TOPICPARENT name="AVFedotovLogA"
        Line: 18 to 18
         
        Changed:
        <
        <
        = = (r12
        >
        >
        %MyBlanks20% (r12
          Contents: More... Close
        <!--/twistyPlugin twikiMakeVisibleInline-->
        Contents
          Line: 32 to 32
           
          Changed:
          <
          <
          ( r46
          >
          >
          %MyBlanks20% ( r46
            Contents: More... Close
          <!--/twistyPlugin twikiMakeVisibleInline-->
          Line: 50 to 50
           

          edmDumpEventContent output

          edmDumpEventContent output \ No newline at end of file

          Added:
          >
          >
          META PREFERENCE name="MyBlanks20" title="MyBlanks20" type="Set" value="                    "

          Revision 32010-07-25 - AlexanderFedotov

          Line: 1 to 1
           
          META TOPICPARENT name="AVFedotovLogA"
          Line: 15 to 15
           

          Links

          Changed:
          <
          <
          >
          >
           
          Changed:
          <
          <
          (r12
          >
          >
          = = (r12
            Contents: More... Close
          <!--/twistyPlugin twikiMakeVisibleInline-->
          Contents
            Line: 28 to 29
             
            <!--/twistyPlugin-->
            )
            Added:
            >
            >
             

            edmDumpEventContent output

             
            This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
            Ideas, requests, problems regarding TWiki? Send feedback