![]() | Back to TrigSimCert Home |
|---|
The TrigSimCert principal RCP is found in the trigsimcert package under trigsimcert/rcp/CertAnalyze.rcp. Modifying the rcp allows the user to
The most important feature is that last one, the chunk selector. By default, since t04.05.00/p17, the chunk selector is in auto mode. Then, for data, trigsimcert uses the online chunk for both L1L2 and L3. For MC, it uses the offline (or simulated) chunk. It also runs all three certification levels and outputs a file named trigsimcert.root.
If you want to produce trigsimcert root trees with properties that differ from the default ones, you need to get the rcp directory of trigsimcert from CVS (the steps marked by * need only be done the first time around).
*setup d0cvs
*cvs co trigsimcert/rcp appropriate_version
Then, the rcps can be modified and when running from the area where the trigsimcert/rcp package is using
runTrigSimCert -filelist=your_filelist -localrcp -locafwkrcp
and the other usual options (-defname, -DST, -localbuild, etc) will ensure your local version of the rcps is used.
The format of CertAnalyze.rcp is the following:
string PackageName = "CertAnalyze"
// turn on/off three levels of certification plots
bool certL1 = true
bool certL2 = true
bool certL3 = true
string outputFile = "trigsimcert.root"
int compressionLevel = 1
int autosave = 0 // 0: no autosave. n: save root tree every n events
string L3ChunkChoice = "auto" // auto, online or offline
string L1L2ChunkChoice = "auto" // auto, "" (for pre-p17 data), online, offline or anything you used
To turn off a certification plot level, for example level 2, transform to
bool certL2 = false
To access any offline chunk for data transform to
string L3ChunkChoice = "offline"
string L1L2ChunkChoice = "offline"
To allow the tree to be readable regularly while processing, for example in online monitoring, modify the autosave property. When the changes to the rcp file are done, save and run TrigSimCert as shown above for those changes to take effect.