~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to bin/Global/datacard_200MeV_pi_plus_PDF.py

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
Datacard to use when creating PDF using simulated 200MeV/c pions
 
3
"""
 
4
# pylint: disable=C0103, W0611
 
5
 
 
6
import os
 
7
import datetime
 
8
 
 
9
# Use the current time and date as a unique identifier when creating files to
 
10
# contain PDFs. A unique_identifier is required by the reducer, and PDF 
 
11
# production will fail without one.
 
12
now = datetime.datetime.now()
 
13
unique_identifier = now.strftime("%Y_%m_%dT%H_%M_%S_%f")
 
14
 
 
15
# A json document containing global tracks from MC data
 
16
input_json_file_name = "200MeV_pi_plus_hypothesis_Global_Recon.json"
 
17
input_json_file_type = "text"
 
18
 
 
19
# The particle hypothesis that the PDF is being created for. A 
 
20
# global_pid_hypothesis is required by the reducer, and PDF production will
 
21
# fail without one.
 
22
global_pid_hypothesis = "200MeV_pi_plus"