Update 'Selection code'
parent
3db793afcc
commit
9c9203749d
@ -42,7 +42,7 @@ Next step is to compile and perform the MC Truth-Matching, saved in [[MCtruthma
|
||||
TruthMatchAllAll(1); TruthMatchAllAll(2);
|
||||
```
|
||||
|
||||
Then, we need to add the XMuMu mass variable and apply the KplusMuMu veto ([[AddVariable.cpp|AddVariable]])
|
||||
Then, we need to add the XMuMu mass variable and apply the KplusMuMu veto ([[AddVariable.cpp|AddVariable.cpp]])
|
||||
```
|
||||
.L AddVariable.cpp+
|
||||
addAllXMuMuMass(true,true,1); addAllXMuMuMass(false,true,1); applyAllVetoKplusMuMuMass(1);
|
||||
@ -161,26 +161,26 @@ yieldComparison(2,getTMVAcut(2));
|
||||
TruthMatchAllBkg(true,1,false,false,true); TruthMatchAllBkg(true,2,false,false,true);
|
||||
```
|
||||
|
||||
Then, we need to add the variables to the inclusive sample. This HAS TO BE SET BY HAND in [[AddVariable.cpp|AddVariable.cpp]] before compilation!
|
||||
```
|
||||
.L CodeForTests/AddVariable.cpp+ (CAREFUL, NEEDS TO BE SET BY HAND)
|
||||
.L CodeForTests/AddVariable.cpp+
|
||||
addAllXMuMuMass(true,true,1,true,true,false); addAllXMuMuMass(false,true,1,true,true,false); applyAllVetoKplusMuMuMass(1,true,true,false);
|
||||
addAllXMuMuMass(true,true,2,true,true,false); addAllXMuMuMass(false,true,2,true,true,false); applyAllVetoKplusMuMuMass(2,true,true,false);
|
||||
```
|
||||
Similarly, before applying the MacGyver DTF, the paths in [[Rescale_pi0momentum.py|Rescale_pi0momentum.py]] have to be set by hand!
|
||||
```
|
||||
lb-conda default python Rescale_pi0momentum.py (CAREFUL, NEEDS TO BE SET BY HAND)
|
||||
lb-conda default python Rescale_pi0momentum.py
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
.L TMVAClassApp.cpp+
|
||||
TMVAClassAppInc(1); TMVAClassAppInc(2);
|
||||
```
|
||||
|
||||
Also the paths in [[RemoveMultipleCandidates.py|RemoveMultipleCandidates.py]] have to be set by hand!
|
||||
```
|
||||
python RemoveMultipleCandidates.py -all (CAREFUL, NEEDS TO BE SET BY HAND)
|
||||
python RemoveMultipleCandidates.py -all
|
||||
```
|
||||
|
||||
[[InclusiveCheck.cpp||InclusiveCheck.cpp]]
|
||||
Lastly, make the truth-matching plots using [[InclusiveCheck.cpp||InclusiveCheck.cpp]].
|
||||
```
|
||||
.L CodeForTests/InclusiveCheck.cpp+
|
||||
plotTM(1,true); plotTM(2,true)
|
||||
|
Loading…
Reference in New Issue
Block a user