Go to the source code of this file.
Definition at line 82 of file BXAnalyzer.h.
References QualityOutput::bxgroup, PatternOutput::detected, PatternOutput::hits, i, QualityOutput::layer, convertSQLitetoXML_cfg::output, QualityOutput::rank, QualityOutput::straightness, ctpps_dqm_sourceclient-live_cfg::test, and tmp.
84 std::vector<int>
tmp (192,0);
85 std::vector<std::vector<int>> rank (4,
tmp), layer(4,
tmp),straightness(4,
tmp),bxgroup(4,
tmp);
86 std::vector<ConvertedHit> Hits;
92 for(
int zone=0;zone<4;zone++){
93 for(
int strip=0;strip<192;strip++){
95 if(Pout[
i].detected.rank[zone][strip] > rank[zone][strip]){
97 rank[zone][strip] = Pout[
i].detected.rank[zone][strip];
98 layer[zone][strip] = Pout[
i].detected.layer[zone][strip];
99 straightness[zone][strip] = Pout[
i].detected.straightness[zone][strip];
100 bxgroup[zone][strip] =
i+1;
108 std::vector<ConvertedHit>
test = Pout[
i].hits;
110 for(std::vector<ConvertedHit>::iterator it = test.begin();it != test.end();it++){
std::vector< std::vector< double > > tmp
std::vector< ConvertedHit > hits
Definition at line 13 of file BXAnalyzer.h.
References funct::abs(), begin, hitfit::clear(), mps_update::diff, i, convertSQLitetoXML_cfg::output, colinearityKinematic::Phi, findQualityFiles::size, and tmp.
Referenced by L1TMuonEndCapTrackProducer::produce().
15 std::vector<ConvertedHit>
tmp;
16 std::vector<std::vector<ConvertedHit>>
output (3,tmp);
18 const int CentralBX = 6;
20 for(std::vector<ConvertedHit>::iterator
i = ConvHits.begin();
i != ConvHits.end();
i++){
22 int diff =
i->BX() - CentralBX;
24 if((diff > -3) && (diff < 1))
27 if((diff < 3) && (diff > -1))
34 for (
int i = 1;
i < 3;
i++) {
35 unsigned int HasAllInNext = 0;
36 for (
unsigned int it = 0; it !=
output[
i-1].size(); it++) {
38 for (
unsigned int it2 = 0; it2 !=
output[
i].size(); it2++) {
52 if (InNext) HasAllInNext++;
60 for(std::vector<ConvertedHit>::iterator it2 = it;it2 !=
output[
i].end();it2++){
62 if(it == it2)
continue;
65 if(it->Station() == it2->Station() && it->Id() == it2->Id() && it->IsNeighbor() == it2->IsNeighbor()){
67 it->SetTheta2(it2->Theta());
68 it2->SetTheta2(it->Theta());
70 it->AddTheta(it2->Theta());
71 it2->AddTheta(it->Theta());
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Abs< T >::type abs(const T &t)
std::vector< std::vector< double > > tmp
tuple size
Write out results.