MC MetaData - PowerPoint PPT Presentation

About This Presentation
Title:

MC MetaData

Description:

appfamily=AppFamily('generator', '6.203', 'pythia') t = SAMMCFile ... Application Family: generator. Application Name: pythia. Application Version: 6.203 ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 15
Provided by: wwwcd
Category:

less

Transcript and Presenter's Notes

Title: MC MetaData


1
MC MetaData
  • Rick St. Denis Glasgow University
  • Rob KennedyFNAL
  • For the CDF DH group

2
Outline
  • Storing Files from Anywhere
  • Describing the file you want to store
  • Accessing the information
  • Choosing files for a dataset
  • Recommendation

3
StoringFiles from any SAM Station
  • Install a Sam Station
  • Sam store
  • -descripImportClasses.py
  • -source.
  • --dest
  • /pnfs/cdf/sam/SA/SA00/SA0001/
  • SA0001.0/

4
The Description File
  • from import_classes import
  • appfamilyAppFamily('generator', '6.203',
    'pythia')
  • t SAMMCFile(filename,Events(1, 10, 10),
  • "generated",
  • appfamily,
  • "5/9/2003 1348",
  • "5/9/2003 1348",
  • 18,
  • 'Global' 'ProducedByName''lecci',
  • 'OriginName''GridKa',
  • 'Phase''unspecified',
  • 'FacilityName''cdf-fzkka',
  • 'ProducedForName''kerzel',
  • 'RunType''Monte Carlo',
  • 'GroupName''cdf',
  • 'WorkRequestID''03021105838',
  • 'Stream''m',
  • 'Description''10 events b bbar test MC',,

5
The Description File(more)
  • 'Generated'
  • 'CDFRelease''4.9.1hpt1',
  • 'AppFamily''generator',
  • 'AppName''pythia',
  • 'AppVersion''6.203',
  • 'UseQQ''false',
  • 'RanSeed1''48572',
  • 'RanSeed2''64245',
  • 'RunNumber'150110,
  • 'FirstEvent''1',
  • 'LastEvent''10',
  • 'TotalEvents''10',
  • 'NumRecords''10',

6
The Description File (YOU Decide)
  • 'Pythia_MSel''5',
  • 'PtLt''99999.0',
  • 'PtGt''5.0',
  • 'EtaLt''4.2',
  • 'EtaGt''-4.2',
  • 'CardfileVersion''v00-04-20',
  • 'CardfileDir''np',
  • 'UseEvtGen''null',
  • 'UseComphep''null',
  • 'KinMassGt''2.0',
  • 'CollisionEnergy''1960.0',
  • 'MultiplePartonInteractions''on',
  • 'UseOnetop''null',
  • 'PDFLibFunc''null',
  • 'Production''cc',

7
The Description File (YOU Decide)
  • 'HppMass''200.0',
  • 'Decay''incl',
  • 'SVX''enabled',
  • 'COT''enabled',
  • 'Muon''enabled',
  • 'Calorimeter''enabled',
  • 'TOF''enabled',
  • 'PassiveMaterial''enabled',
  • 'BeampipeCentral''true',
  • 'TOFGeometyModel''Survey',
  • 'COTSuperLayer_DriftModel''Garfield',

8
The Description File (YOU Decide)
  • 'COTSuperLayer_CreateMCOT''false',
  • 'COTSuperLayer_COTM''true',
  • 'CDFHalfLadder_PickSVX_CDM''geometric',
  • 'CDFHalfLadder_SVX_CDM_noise''hits',
  • 'CDFHalfLadder_PropagatedSI''true',
  • 'CDFHalfLadder_CreateSIXD''true',
  • 'TOF3Pack_level''usrtuned',
  • 'TOFReco_Pulses''simple',
  • 'TOFReco_Extrapolator''gemeometric',
  • 'TOFReco_TZero''NegLog',
  • )

9
Accessing information
  • Access information to see how files were produced
  • Access information to make datasets based on the
    information stored with files
  • sam get metadata --filetest1_rec.root
  • File Type SAMMC Data File
  • File Name test1_rec.root
  • File ID 1493397
  • File Size 18 KB
  • CRC Data unknown crc value
    unknown crc type
  • File Start Time 05/09/2003 134800
  • File End Time 05/09/2003 134800
  • Physical Stream m
  • File Format Info unknown file format

10
Accessing information
  • First Event 1
  • Last Event 10
  • Total Events 10
  • Application Family generator
  • Application Name pythia
  • Application Version 6.203
  • Import Process ID 0
  • Node Name cdf.fzk.de
  • Work Group cdf
  • User Name kerzel
  • Produced For kerzel
  • Produced By lecci
  • Origin Location gridka
  • Origin Facility cdf-fzkka
  • Physics Channel
  • Description 10 events b bbar test MC

11
Accessing information
  • MC Phase unspecified
  • Run Number 150110
  • Run Type monte carlo
  • Run Start Time 05/09/2003 134800
  • Run End Time 05/09/2003 134800
  • Run Description 10 events b bbar test MC
  • Run CM Energy 0.0
  • Parent Files
  • Split 0
  • Merge 0

12
Accessing information by key
  • Key appfamily generator (Category generated)
  • Key appname pythia
    (Category generated)
  • Key appversion 6.203
    (Category generated)
  • Key firstevent 1
    (Category generated)
  • Key lastevent 10
    (Category generated)
  • Key numrecords 10
    (Category generated)
  • Key ranseed1 48572
    (Category generated)
  • Key runnumber 150110
    (Category generated)
  • Key totalevents 10
    (Category generated)
  • Key facilityname cdf-fzkka
    (Category global)
  • Key groupname cdf
    (Category global)
  • Key originname GridKa
    (Category global)
  • Key phase unspecified
    (Category global)
  • Key producedbyname lecci
    (Category global)
  • Key producedforname kerzel
    (Category global)
  • Request ID 0
  • Data Tier generated

13
Creating a Dataset
  • Sam create dataset definition
  • --defnamemcbot3
  • --groupcdf
  • --defdescbottom mc
  • --dimfacilityname cdf-fzkka and groupname cdf
    and run number 150110 and appname pythia and
    appversion 6.203
  • The hard part anticipating how users can get
    unique results when they make a dataset!
  • This then goes into the datasetmcbot3 in your
    DHInput.

14
Recommendation
  • Each of the 5 physics group MC producers give
    thought to how data are to be accessed and
    develop a policy
  • Start with Saverio and B group to try this out
    and see how we want to specify the data
Write a Comment
User Comments (0)
About PowerShow.com