forked from iLCSoft/iLCInstall
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdigitizer.py
30 lines (22 loc) · 921 Bytes
/
digitizer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##################################################
#
# Digitizer module
#
# Author: P. Andreetto, INFN
# Date: Apr, 2023
#
##################################################
from .baseilc import BaseILC
from .marlinpkg import MarlinPKG
class MuonCVXDDigitiser(MarlinPKG):
""" Responsible for the MuonCVXDDigitiser installation process. """
def __init__(self, userInput):
MarlinPKG.__init__(self, "MuonCVXDDigitiser", userInput )
self.hasCMakeFindSupport = True
# required modules
self.reqmodules = [ "Marlin", "MarlinUtil", "DD4hep", "RAIDA" ]
def postCheckDeps(self):
BaseILC.postCheckDeps(self)
# fill MARLIN_DLL
self.parent.module('Marlin').envpath["MARLIN_DLL"].append(self.installPath + "/lib/libMuonCVXDDigitiser.so")
self.parent.module('Marlin').envpath["MARLIN_DLL"].append(self.installPath + "/lib/libMuonCVXDRealDigitiser.so")