P200 Reprocessing

status: Under Construction
last update: 21 July 2011

"Warning"

This page is just getting started. Much information is tentative, anticipatory or just plain wrong. Caveat emptor.

This page is a record of the configuration for the P200 reprocessing project, full reprocessing from DIGIs using Pass7 code. This project involves reprocessing with Pass7 classification trees and new IRFs. The name "P200" derives from the word "processing" and the initial file version to be used for the output data products, e.g., r0123456789_v200_merit.root.

"Old style" tasks (using CMT, heritage scripts, etc.)
  • P200-ROOT - This task reads DIGI and produces reprocessed RECON+CAL+GCR+MERIT+FILTEREDMERIT (photons)+ELECTRONMERIT
  • P200-FITS - This task reads MERIT and produces FT1 (photons) + EXTENDEDFT1 + LS1 (merit-like FITS file for photons) + EXTENDEDLS1 + ELECTRONFITS file
"New style" tasks (using SCons, OO and common scripts, etc.)
  • P201-ROOT - This task reads DIGI and produces reprocessed RECON+CAL+GCR+MERIT+FILTEREDMERIT (photons)+ELECTRONMERIT
  • P201-FITS - This task reads MERIT and produces FT1 (photons) + EXTENDEDFT1 + LS1 (merit-like FITS file for photons) + EXTENDEDLS1 + ELECTRONFITS file

    Datafile names, versions and locations

Data file version numbers for this reprocessing will begin with v200.

XROOT location and file naming

Location template:

/glast/Data/Flight/Reprocess/<reprocessName>/<dataType>

Locations for P200:

/glast/Data/Flight/Reprocess/P200/recon
/glast/Data/Flight/Reprocess/P200/cal
/glast/Data/Flight/Reprocess/P200/gcr
/glast/Data/Flight/Reprocess/P200/merit
/glast/Data/Flight/Reprocess/P200/filteredmerit
/glast/Data/Flight/Reprocess/P200/electronmerit
/glast/Data/Flight/Reprocess/P200/ft1
/glast/Data/Flight/Reprocess/P200/extendedft1
/glast/Data/Flight/Reprocess/P200/electronft1
/glast/Data/Flight/Reprocess/P200/ls1
/glast/Data/Flight/Reprocess/P200/extendedls1

File naming:

Data Type

aka

Send to FSSC

Naming template

RECON

 

No

r<run#>_<version>_<dataType>.root

CAL

 

No

r<run#>_<version>_<dataType>.root

GCR

 

No

r<run#>_<version>_<dataType>.root

MERIT

 

No

r<run#>_<version>_<dataType>.root

FILTEREDMERIT

 

No

r<run#>_<version>_<dataType>.root

ELECTRONMERIT

 

No

r<run#>_<version>_<dataType>.root

ELECTRONFT1

 

No

gll_el_p<procVer>_r<run#>_<version>.fit

EXTENDEDFT1

 

No

gll_xp_p<procVer>_r<run#>_<version>.fit

FT1

LS-002

Yes

gll_ph_p<procVer>_r<run#>_<version>.fit

EXTENDEDLS1

 

No

gll_xe_p<procVer>_r<run#>_<version>.fit

LS1

LS-001

Yes

gll_ev_p<procVer>_r<run#>_<version>.fit

Note: 'procVer' is a field added to the file name (and the keyword "PROC_VER" in the primary header) added to the FFD 5/12/2010. Ref: http://fermi.gsfc.nasa.gov/ssc/dev/current_documents/Science_DP_FFD_RevA.pdf

Examples:

/glast/Data/Flight/Reprocess/P200/recon/r0239557414_v120_recon.root
/glast/Data/Flight/Reprocess/P200/cal/r0239557414_v120_cal.root
/glast/Data/Flight/Reprocess/P200/gcr/r0239557414_v120_gcr.root
/glast/Data/Flight/Reprocess/P200/merit/r0239557414_v120_merit.root
/glast/Data/Flight/Reprocess/P200/filteredmerit/r0239557414_v120_filteredmerit.root
/glast/Data/Flight/Reprocess/P200/electronmerit/r0239557414_v120_electronmerit.root
/glast/Data/Flight/Reprocess/P200/extendedft1/gll_xp_p120_r0239559565_v120.fit
/glast/Data/Flight/Reprocess/P200/ft1/gll_ph_p120_r0239559565_v120.fit
/glast/Data/Flight/Reprocess/P200/electronft1/gll_el_p120_r0239559565_v120.fit
/glast/Data/Flight/Reprocess/P200/extendedls1/gll_xe_p120_r0239559565_v120.fit
/glast/Data/Flight/Reprocess/P200/ls1/gll_ev_p120_r0239559565_v120.fit
DataCatalog location and naming

Logical directory and group template:

Data/Flight/Reprocess/<reprocessName>:<dataType>

Note that the <dataType> field (following the colon) is a DataCatalog 'group' name, and file names are of the form r<run#>.

Naming examples:

Data/Flight/Reprocess/P200:RECON r0239557414
Data/Flight/Reprocess/P200:CAL r0239557414
Data/Flight/Reprocess/P200:GCR r0239557414
Data/Flight/Reprocess/P200:MERIT r0239557414
Data/Flight/Reprocess/P200:FILTEREDMERIT r0239557414
Data/Flight/Reprocess/P200:EXTENDEDFT1 r0239557414
Data/Flight/Reprocess/P200:FT1 r0239557414
Data/Flight/Reprocess/P200:ELECTRONFT1 r0239557414
Data/Flight/Reprocess/P200:EXTENDEDLS1 r0239557414
Data/Flight/Reprocess/P200:LS1 r0239557414

Data Sample

The currently defined data sample for P200 reprocessing includes:

First run

239557414 (MET), 2008-08-04 15:43:34 (UTC)

 

Last run

329923889 (MET), 2011-06-16 13:31:27 (UTC)

 

Total runs

15,763

 

Total RECON events

 

 

Total CAL events

 

 

Total GCR events

 

 

Total MERIT events

34,424,918,649

all "events"

Total EXTENDEDFT1/LS1 events)

4,815,930,868

all photon event classes

Total LS1 (FSSC selection) events

1,037,006,195

event classes (bits) 0,2,3,4 (transient, source, clean, ultraclean)

Total FT1 (FSSC selection) events

134,738,978

event classes (bits) 2,3,4 (source, clean, ultraclean)

Total disk space used

N/A

NOTE: One run, 242429468, of type TrigTest was declared 'good for science' but long after this task got started, so it has been intentionally omitted.

[to be continued...]

Bookkeeping

  1. (This page): Define ingredients of reprocessing (processing code/configuration changes)
  2. Processing History database: http://glast-ground.slac.stanford.edu/HistoryProcessing/HProcessingRuns.jsp?processingname=P200
    1. List of all reprocessings
    2. List of all data runs reprocessed
    3. Pointers to all input data files (-> dataCatalog)
    4. Pointers to associated task processes (-> Pipeline II status)
  3. Data Catalog database: http://glast-ground.slac.stanford.edu/DataCatalog/folder.jsp
    1. Lists of and pointers to all output data files
    2. Meta data associated with each output data product

P200-MERIT

Status chronology

  • 7/20/2011 - begin trials with tentative configuration

Configuration

*UNDER CONSTRUCTION*

Task Location

/nfs/farm/g/glast/u38/Reprocess-tasks/P200-MERIT

Task Status

http://glast-ground.slac.stanford.edu/Pipeline-II/index.jsp

GlastRelease

v17r35p23 (CMT)

Input Data Selection

"standard" from

https://confluence.slac.stanford.edu/display/SCIGRPS/LAT+Dataset+Definitions

along with "&& (RunQuality != "Bad" || is_null ( RunQuality )"

s/c data

"standard" (FT2 from P105 (runs 239557414 - 271844560), then from current Level 1 production)

Input Run List

ftp://ftp-glast.slac.stanford.edu/glast.u38/Reprocess-tasks/P200-MERIT/config/runFile.txt

photonFilter

CTBParticleType==0 && CTBClassLevel>0

electronFilter

CTBParticleType==1

jobOpts

ftp://ftp-glast.slac.stanford.edu/glast.u38/Reprocess-tasks/P200-MERIT/config/doRecon.txt

Output Data Products

MERIT, FILTEREDMERIT, ELECTRONMERIT

Timing and Scaling

Load balancing

trickleStream parameters:


P200-FT1

This task generates all desired FITS data products.

Status chronology

Configuration

      • NOT UPDATED!! ***

Task Location

/nfs/farm/g/glast/u38/Reprocess-tasks/P200-FT1

Task Status

http://glast-ground.slac.stanford.edu/Pipeline-II/task.jsp?task=63390236

Input Data

MERIT (from P200-MERIT)

spacecraft data

FT2 from P105 (runs 239557414 - 271844560), then from current Level 1 production

Input Run List

ftp://ftp-glast.slac.stanford.edu/glast.u38/Reprocess-tasks/P200-FT1/config/runFile.txt

Reprocessing Mode

reFT1

meritFilter

FT1EventClass!=0

evtClassDefs

00-19-01

eventClassMap

EvtClassDefs_P7V6.xml

ScienceTools

09-24-00

Code Variants

redhat5-i686-32bit-gcc41 (Optimized)

Diffuse Model

based on contents of /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/diffuseModels/v2r0
(see

https://confluence.slac.stanford.edu/display/SCIGRPS/Quick+Start+with+Pass+7

)

Diffuse Response

'source' using P7SOURCE_V6 IRF
'clean' using P7CLEAN_V6 IRF

IRFs

P6V7, contained within ScienceTools release

Output Data Products

FT1, LS1, EXTENDEDFT1, EXTENDEDLS1, ELECTRONFT1

Processing chain for FITS data products

Data Product

selection

makeFT1

gtdiffrsp

gtmktime

gtltcube

FT1

'source' and above
EVENT_CLASS bits 2,3,4

true

true

true

false

LS1

'transient' and above
EVENT_CLASS bits 0,2,3,4

true

true

true

false

FT1EXTENDED

FT1EventClass!=0

true

true

true

false

LS1EXTENDED

FT1EventClass!=0

true

true

true

false

ELECTRONFT1

CTBParticleType==1

true

false

true

false

Note that diffuse response is calculated for 'source' and 'clean' event classes only.

Note on 'Code Variant': The SLAC batch farm contains a mixture of architectures , both hardware (Intel/AMD 64-bit) and software (RHEL5-64, gcc v4.1, etc.).

Timing

  • No labels