Go to the source code of this file.
Definition at line 86 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.
88 std::vector<int>
tmp (192,0);
89 std::vector<std::vector<int>> rank (4,
tmp), layer(4,
tmp),straightness(4,
tmp),bxgroup(4,
tmp);
90 std::vector<ConvertedHit> Hits;
96 for(
int zone=0;zone<4;zone++){
97 for(
int strip=0;strip<192;strip++){
99 if(Pout[
i].detected.rank[zone][strip] > rank[zone][strip]){
101 rank[zone][strip] = Pout[
i].detected.rank[zone][strip];
102 layer[zone][strip] = Pout[
i].detected.layer[zone][strip];
103 straightness[zone][strip] = Pout[
i].detected.straightness[zone][strip];
104 bxgroup[zone][strip] =
i+1;
112 std::vector<ConvertedHit>
test = Pout[
i].hits;
114 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 17 of file BXAnalyzer.h.
References begin, hitfit::clear(), mps_update::diff, i, convertSQLitetoXML_cfg::output, colinearityKinematic::Phi, findQualityFiles::size, and tmp.
Referenced by L1TMuonEndCapTrackProducer::produce().
19 std::vector<ConvertedHit>
tmp;
20 std::vector<std::vector<ConvertedHit>>
output (3,tmp);
22 const int CentralBX = 6;
24 for(std::vector<ConvertedHit>::iterator
i = ConvHits.begin();
i != ConvHits.end();
i++){
26 int diff =
i->BX() - CentralBX;
28 if((diff > -3) && (diff < 1))
31 if((diff < 3) && (diff > -1))
38 for (
int i = 1;
i < 3;
i++) {
39 unsigned int HasAllInNext = 0;
40 for (
unsigned int it = 0; it !=
output[
i-1].size(); it++) {
42 for (
unsigned int it2 = 0; it2 !=
output[
i].size(); it2++) {
56 if (InNext) HasAllInNext++;
64 for(std::vector<ConvertedHit>::iterator it2 = it;it2 !=
output[
i].end();it2++){
66 if(it == it2)
continue;
69 if(it->Station() == it2->Station() && it->Id() == it2->Id() && it->IsNeighbor() == it2->IsNeighbor()){
71 it->SetTheta2(it2->Theta());
72 it2->SetTheta2(it->Theta());
74 it->AddTheta(it2->Theta());
75 it2->AddTheta(it->Theta());
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
std::vector< std::vector< double > > tmp
tuple size
Write out results.