Update 'Selection code'
parent
4cde516983
commit
da53288f84
@ -60,7 +60,7 @@ WeightAll(true,2,true); ReweightReferenceMC(true,2,true); ReweightPHSPMC(true,2,
|
|||||||
|
|
||||||
Check the MVA variables are agreeing after weighting them with sWeights [[compareVariables.cc|compareVariables.cc]]. (Yes, there is a [[dedicated tool|Comparison-tool]], but this was intially working, and working well, so it was kept for checking the variables used in the MVA training.) **TODO**
|
Check the MVA variables are agreeing after weighting them with sWeights [[compareVariables.cc|compareVariables.cc]]. (Yes, there is a [[dedicated tool|Comparison-tool]], but this was intially working, and working well, so it was kept for checking the variables used in the MVA training.) **TODO**
|
||||||
```
|
```
|
||||||
.L CodeForTests/compareVariables.cc+
|
.L Scripts/compareVariables.cc+
|
||||||
compareAll(1); compareAll(2);
|
compareAll(1); compareAll(2);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ WeightAll(true,2,true); ReweightReferenceMC(true,2,true); ReweightPHSPMC(true,2,
|
|||||||
|
|
||||||
Check the variables again
|
Check the variables again
|
||||||
```
|
```
|
||||||
.L CodeForTests/compareVariables.cc+
|
.L Scripts/compareVariables.cc+
|
||||||
compareAll(1); compareAll(2);
|
compareAll(1); compareAll(2);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ python RemoveMultipleCandidates.py -all
|
|||||||
|
|
||||||
[[Add variables|AddVariable.cpp]] to the MC samples
|
[[Add variables|AddVariable.cpp]] to the MC samples
|
||||||
```
|
```
|
||||||
.L CodeForTests/AddVariable.cpp+
|
.L AddVariable.cpp+
|
||||||
addAllVariablesAllMCSamples(1); addAllVariablesAllMCSamples(2);
|
addAllVariablesAllMCSamples(1); addAllVariablesAllMCSamples(2);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ TruthMatchAllBkg(true,1,false,false,true); TruthMatchAllBkg(true,2,false,false,t
|
|||||||
|
|
||||||
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!
|
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+
|
.L AddVariable.cpp+
|
||||||
addAllXMuMuMass(true,true,1,true,true,false); addAllXMuMuMass(false,true,1,true,true,false); applyAllVetoKplusMuMuMass(1,true,true,false);
|
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);
|
addAllXMuMuMass(true,true,2,true,true,false); addAllXMuMuMass(false,true,2,true,true,false); applyAllVetoKplusMuMuMass(2,true,true,false);
|
||||||
```
|
```
|
||||||
@ -182,7 +182,7 @@ python RemoveMultipleCandidates.py -all
|
|||||||
```
|
```
|
||||||
Lastly, make the truth-matching plots using [[InclusiveCheck.cpp||InclusiveCheck.cpp]].
|
Lastly, make the truth-matching plots using [[InclusiveCheck.cpp||InclusiveCheck.cpp]].
|
||||||
```
|
```
|
||||||
.L CodeForTests/InclusiveCheck.cpp+
|
.L Scripts/InclusiveCheck.cpp+
|
||||||
plotTM(1,true); plotTM(2,true)
|
plotTM(1,true); plotTM(2,true)
|
||||||
plotTM(1,false); plotTM(2,false)
|
plotTM(1,false); plotTM(2,false)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user