-
First, delet all the useless things: For Lc, we do not need "Dfinder::TkCombinationResFast" (https://github.com/taweiXcms/Bfinder/blob/Dfinder/Bfinder/src/Dfinder.cc), and we do not need resonance particles, so we delet all of these things. This will help you speed up a little.
-
The first biggest change is "TkCombinationPermutation_Lc_v3" (this is changed from "TkCombinationPermutation" in the above github link.) In this part, we change "mass cut" to "mass square cut" (line 1622). Also we change the pT cut, rapidity cut (line 1617, 1624). In additon doing some transformations of the cut variables, we also defind "TrackXYZP2" before this part. Here we record the charge of tracks to match the permutation of reconstruction Lc. We use 4(q1+1)+2(q2+1)+(q3+1). For each specific particle, this needs to be changed. [NOTE: THIS PART IS ONLY WORKS FOR Lc]
-
This second biggest change is from line 1741-1758. (here have to match the permutation with the track mass.)
-
Since we change the way of permutation (step2 and step 3), We have to change this part: line 985, we do not need to loop all the permutations, so we comment line 985.
-
Combine step 2,3 and 4 will help speeding up a lot. (The reason is that: we loop all the permutaions previously, and now we go through once and find this is whether Lc permutation or not.)
new_only_forlc_dfinder's Introduction
new_only_forlc_dfinder's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.