#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os.path as osp
import os, logging
from time import strftime

#____________________________________________________________________
# Global scope

from .logger import setup_logger, setup_subprocess_logger, set_log_file
logger = setup_logger()
subprocess_logger = setup_subprocess_logger()

SVJ_TOP_DIR = osp.abspath(osp.dirname(__file__))

# Default seed used for lhe generation and fullsim train
SVJ_SEED = 1001

# Input files directory for this package
SVJ_INPUT_DIR = osp.join(SVJ_TOP_DIR, 'input')

# Directory where the CMSSW genproductions package is installed
MG_GENPROD_DIR = None

# Paths to store temporary files
MG_MODEL_DIR = '/tmp/svj/models'
MG_INPUT_DIR = '/tmp/svj/inputs'
RUN_GRIDPACK_DIR = '/tmp/svj/rungridpack'
RUN_FULLSIM_DIR = '/tmp/svj/runfullsim'
SVJ_OUTPUT_DIR = '/tmp/svj/output'

# Assume running locally by default
# This variable will be set to True if using the svjgenprod-batch script
BATCH_MODE = False

# Convenience global variable. Will be set by svjgenprod-batch if a tarball
# preprocessing directive is given
SVJ_TARBALL = None

# Overwrite global vars based on environment variables
import environment
environment.read_environment()


#____________________________________________________________________
# Package imports

import utils
from .config import Config
from semanager import SEManager
from .gridpackgenerator import GridpackGenerator
from .lhemaker import LHEMaker
import calc_dark_params as cdp

from .gensimfragment import GenSimFragment
from .fullsimbase import FullSimRunnerBase
import fullsimrunners

import condor.jdlfile
import condor.shfile


#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os.path as osp
import os, logging
from time import strftime

#____________________________________________________________________
# Global scope

from .logger import setup_logger, setup_subprocess_logger, set_log_file
logger = setup_logger()
subprocess_logger = setup_subprocess_logger()

SVJ_TOP_DIR = osp.abspath(osp.dirname(__file__))

# Default seed used for lhe generation and fullsim train
SVJ_SEED = 1001

# Input files directory for this package
SVJ_INPUT_DIR = osp.join(SVJ_TOP_DIR, 'input')

# Directory where the CMSSW genproductions package is installed
MG_GENPROD_DIR = None

# Paths to store temporary files
MG_MODEL_DIR = '/tmp/svj/models'
MG_INPUT_DIR = '/tmp/svj/inputs'
RUN_GRIDPACK_DIR = '/tmp/svj/rungridpack'
RUN_FULLSIM_DIR = '/tmp/svj/runfullsim'
SVJ_OUTPUT_DIR = '/tmp/svj/output'

# Assume running locally by default
# This variable will be set to True if using the svjgenprod-batch script
BATCH_MODE = False

# Convenience global variable. Will be set by svjgenprod-batch if a tarball
# preprocessing directive is given
SVJ_TARBALL = None

# Overwrite global vars based on environment variables
import environment
environment.read_environment()


#____________________________________________________________________
# Package imports

import utils
from .config import Config
from semanager import SEManager
from .gridpackgenerator import GridpackGenerator
from .lhemaker import LHEMaker
import calc_dark_params as cdp

from .gensimfragment import GenSimFragment
from .fullsimbase import FullSimRunnerBase
import fullsimrunners

import condor.jdlfile
import condor.shfile


#!/usr/bin/env python # -*- coding: utf-8 -*- #____________________________________________________________________ # Global scope # Default seed used for lhe generation and fullsim train # Input files directory for this package # Directory where the CMSSW genproductions package is installed # Paths to store temporary files # Assume running locally by default # This variable will be set to True if using the svjgenprod-batch script # Convenience global variable. Will be set by svjgenprod-batch if a tarball # preprocessing directive is given # Overwrite global vars based on environment variables #____________________________________________________________________ # Package imports