Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix in SiStripHotStripAlgorithmFromClusterOccupancy and update on README #8697

Merged
merged 1 commit into from Apr 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions CalibTracker/SiStripQuality/README.md
@@ -1,3 +1,9 @@
## Code description
There are three algorithms available in this package which are used to find Bad APVs and strips for the SiStrip Tracker.
* `SiStripBadAPVAlgorithmFromClusterOccupancy` : as the name suggests it looks for the Bad APVs in individual layers/discs of the tracker. It first finds the mean and RMS of all the APV medians in a given layer/disc using a few iterations excluding 3 sigma outliers. Then these APV medians are individually required to be within N(configurable) times the calculated RMS. Otherwise the APV is marked bad.
* `SiStripHotStripAlgorithmFromClusterOccupancy` : it identifies bad strips using Poisson probability using a few iterations till no new bad strips are detected. At the starting point of each iteration average entries per strip is calculated excluding bad strips and then Poissonian is estimated using this average. If the estimated Poissonian is greater than the predefined (configurable) probablity the strip is marked hot.
* `SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy` : it's a combination of above two algorithms to identify Bad APVs and Hot Strips in one go. This is used in the official Prompt Calibration Loop.

## Useful Tools
### Configurations
The following configuration files are examples of how to use the EDAnalyzer `SiStripQualityStastistics`. They can be used as they are, profiting of the fact that parameters can be passed in the command line, or edited for more complicated cases.
Expand Down
Expand Up @@ -178,6 +178,7 @@ void SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(SiStripQuali

phisto._th1f->SetEntries(NumberEntriesPerAPV);
phisto._NEntries=(int)phisto._th1f->GetEntries();
phisto._NEmptyBins=0;

LogTrace("SiStripHotStrip") << "Number of clusters in APV " << apv << ": " << NumberEntriesPerAPV << std::endl;

Expand Down