Difference: RestrippingMDST (3 vs. 4)

Revision 42018-02-22 - NiklasStefanNolte

Line: 1 to 1
 
META TOPICPARENT name="StrippingFAQ"
Changed:
<
<
UNFINISHED - As long as this site is unfinished, you can find instructions in the attached talk
>
>
UNFINISHED - As long as this site is unfinished, you can find instructions in the attached talk
 

LHCb Stripping FAQ - Re-Stripping of MC in MicroDST format

Line: 16 to 16
 All calculation requiring information of more than the candidate only, like Isolation variables in RelatedInfoTools, cannot be performed during MicroDST Re-stripping and must be left out.

How To

Deleted:
<
<
<!-- SyntaxHighlightingPlugin -->

<!-- end SyntaxHighlightingPlugin -->
 
Changed:
<
<
Firstly, one has to check whether that algorithm ran during the production. Therefore, look at the Option files of your production (can be found in the bookkeeping) and check whether the "isMC" flag is set to true in stripMicroDSTElements and in stripMicroDSTStreamConf in the SelDSTWriter algorithm. In most cases the Writer is defined in
 "$APPCONFIGOPTS/DaVinci/DV-Stripping-MC-muDST.py" 
.
>
>
Firstly, one has to check whether that algorithm ran during the production. Therefore, look at the Option files of your production (can be found in the bookkeeping) and check whether the "isMC" flag is set to true in stripMicroDSTElements and in stripMicroDSTStreamConf in the SelDSTWriter algorithm. In most cases the Writer is defined in "$APPCONFIGOPTS/DaVinci/DV-Stripping-MC-muDST.py".
 

Check out Packages

Changed:
<
<
To make the necessary changes to your stripping line (remove RelatedInfoTools and such, changing cuts), check out DaVinci and your desired stripping package (StrippingSelections or StrippingArchive):
>
>
To make the necessary changes to your stripping line (remove RelatedInfoTools and such, changing cuts), check out the right DaVinci and your desired stripping package (StrippingSelections or StrippingArchive). My example will use StrippingSelections, which should be equivalent to StrippingArchive if you checkout the right version of stripping (see release notes of your DaVinci version).
 lb-dev DaVinci/vXXrXpX 
 cd ./DaVinciDev_vXXrXpX 
 git lb-use Stripping 
 git lb-checkout Stripping/vXXrXXpX Phys/StrippingSelections

Next up, you also need to checkout CommonParticles (CommonParticlesArchive):

 
Changed:
<
<
 lb-dev DaVinci/vXXrXpX 
 cd ./DaVinciDev_vXXrXpX 
 git lb-use Stripping 
 git lb-checkout Stripping/vXXrXpX Phys/StrippingSelections (or Phys/StrippingArchive) 
>
>
 git lb-use Phys 
 git lb-checkout Phys/vXXrXXpX Phys/CommonParticles

Making the necessary changes

<!-- SyntaxHighlightingPlugin -->
self.phi2MuMuControlLine = StrippingLine(PhimumuControl_name+'Line',
                                           prescale = config['Phi2MuMuControlPrescale'],
                                           postscale = config['Postscale'],
                                           RelatedInfoTools = config['RelatedInfoTools_Phi2MuMuControl'],
                                           MDSTFlag = False,
                                           #RequiredRawEvents = ['Velo', 'Muon', 'Calo'],
                                           algos = [ self.selPhi2MuMuControl ]
                                           )
<!-- end SyntaxHighlightingPlugin -->
 
Deleted:
<
<
Next up, you also need to checkout CommonParticles/CommonParticlesArchive:
 

-- NiklasStefanNolte - 2018-02-20

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback