forked from iLCSoft/iLCInstall
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92f02f9
commit 7b3742f
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
################################################## | ||
# | ||
# Digitizer module | ||
# | ||
# Author: P. Andreetto, INFN | ||
# Date: Apr, 2023 | ||
# | ||
################################################## | ||
|
||
from .baseilc import BaseILC | ||
from .marlinpkg import MarlinPKG | ||
|
||
class Digitizer(MarlinPKG): | ||
""" Responsible for the Digitizer installation process. """ | ||
|
||
def __init__(self, userInput): | ||
MarlinPKG.__init__(self, "Digitizer", userInput ) | ||
|
||
self.hasCMakeFindSupport = True | ||
|
||
# required modules | ||
self.reqmodules = [ "Marlin", "MarlinUtil", "GSL", "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") | ||
|