Skip to content

Register Modules

I. Use LocalDB viewer(Recommended method)

The functions to register modules in the production DB is supported in LocalDB viewer from ldbtoolv_1.5.
We can register modules and download the module after the registration.
If you don't have an account for the production DB. Please sign up following the link below.
Tutorial page for ITk production DB(https://gitlab.cern.ch/jpearkes/itkpd_tutorial/blob/master/README.md)

Please go to the top page in LocalDB and follow the instruction below. Register_Module


You can check the registered module list in the page of the production DB below. You can go to the page by the following link.
https://itkpd-test.unicorncollege.cz/myComponents
You can find the registered module list in the page of the LocalDB. You can start QC test.


→ Back to the page

* This is a manual version for the module registration. Please register module using LocalDB viewer as much as possible The functions to register modules in the production DB is supported in LocalDB viewer. This is the old version for the module registration.
So we need to register modules manually in the current situation.
If you don't have an account for the production DB. Please sign up following the link below.
Tutorial page for ITk production DB(https://gitlab.cern.ch/jpearkes/itkpd_tutorial/blob/master/README.md)

Please execute the following commands in your shell.

(i) Install the python scripts and Move the working directory

1
2
3
$ cd <YOUR_WORK DIRECTRY>
$ git clone https://gitlab.cern.ch/atlas-itk/sw/db/pixels/module-scaffolding-implementation.git
$ cd module-scaffolding-implementation/registerComponent/

(ii) Log in the ITk PD
1
2
3
4
$ source authenticate.sh
Input Access Code 1 for ITkPD:
Input Access Code 2 for ITkPD:
You have signed in as Hiroki  Okuyama. Your token expires in 7198s.


(iii) Edit the file named module_registerCfg.json as below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{
  "project":"P",
  "subproject":"PG",
  "institution":"TITECH",
  "componentType":"MODULE",
  "type":"OUTER_SYSTEM_QUAD_MODULE",
  "properties":{
    "FECHIP_VERSION":"0",
    "ORIENTATION": true
  },
  "serialNumber":"20UPGM20000003",
  "child":{
    "BARE_MODULE":"20UPGB40500004",
    "PCB":"20UPGPQ0100003"
  }
}

The parameters in the file should be set according to the serial numbering scheme. The document is here. Link
Details for each parameter are following.
- "project": Input "P". "P" means "Pixel". You can always use it.
- "subproject": Input a subproject according to the document.
- "institution":Input your institution registered in the production DB.
- "componentType": Input "module" when you register modules.
- "type": Input a type of module you are registering in capital letter.
- "properties": Input properties of the module according to the document.
- "serialNumber": Input a serial number for the module according to the document.
- "child": Input the PCB's and Bare module's serial number assembled in the module to link the id in the DB.


(iv) Run the script to register the module in the production DB.

1
$ python3 registerModule.py


You can check the registered module list in the page of the production DB below. You can go to the page by the following link.
https://itkpd-test.unicorncollege.cz/myComponents


→ Back to the page