CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
SiStripRecHitsValid Class Reference

#include <SiStripRecHitsValid.h>

Inheritance diagram for SiStripRecHitsValid:
edm::EDAnalyzer

Public Member Functions

 SiStripRecHitsValid (const edm::ParameterSet &conf)
 
 ~SiStripRecHitsValid ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void beginJob ()
 
void endJob ()
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Private Member Functions

std::pair< LocalPoint,
LocalVector
projectHit (const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
 

Private Attributes

float chi2matched [MAXHIT]
 
float chi2rphi [MAXHIT]
 
float chi2sas [MAXHIT]
 
float cluchgrphi [MAXHIT]
 
float cluchgsas [MAXHIT]
 
int clusizrphi [MAXHIT]
 
int clusizsas [MAXHIT]
 
edm::ParameterSet conf_
 
DQMStoredbe_
 
std::vector< PSimHitmatched
 
edm::InputTag matchedRecHits_
 
MonitorElementmeAdcRphiTEC [7]
 
MonitorElementmeAdcRphiTIB [4]
 
MonitorElementmeAdcRphiTID [3]
 
MonitorElementmeAdcRphiTOB [6]
 
MonitorElementmeAdcSasTEC [5]
 
MonitorElementmeAdcSasTIB [4]
 
MonitorElementmeAdcSasTID [2]
 
MonitorElementmeAdcSasTOB [2]
 
MonitorElementmeChi2MatchedTEC [5]
 
MonitorElementmeChi2MatchedTIB [2]
 
MonitorElementmeChi2MatchedTID [2]
 
MonitorElementmeChi2MatchedTOB [2]
 
MonitorElementmeChi2RphiTEC [7]
 
MonitorElementmeChi2RphiTIB [4]
 
MonitorElementmeChi2RphiTID [3]
 
MonitorElementmeChi2RphiTOB [6]
 
MonitorElementmeChi2SasTEC [5]
 
MonitorElementmeChi2SasTIB [4]
 
MonitorElementmeChi2SasTID [2]
 
MonitorElementmeChi2SasTOB [2]
 
MonitorElementmeErrxMatchedTEC [5]
 
MonitorElementmeErrxMatchedTIB [2]
 
MonitorElementmeErrxMatchedTID [2]
 
MonitorElementmeErrxMatchedTOB [2]
 
MonitorElementmeErrxRphiTEC [7]
 
MonitorElementmeErrxRphiTIB [4]
 
MonitorElementmeErrxRphiTID [3]
 
MonitorElementmeErrxRphiTOB [6]
 
MonitorElementmeErrxSasTEC [5]
 
MonitorElementmeErrxSasTIB [4]
 
MonitorElementmeErrxSasTID [2]
 
MonitorElementmeErrxSasTOB [2]
 
MonitorElementmeErryMatchedTEC [5]
 
MonitorElementmeErryMatchedTIB [2]
 
MonitorElementmeErryMatchedTID [2]
 
MonitorElementmeErryMatchedTOB [2]
 
MonitorElementmeNstpRphiTEC [7]
 
MonitorElementmeNstpRphiTIB [4]
 
MonitorElementmeNstpRphiTID [3]
 
MonitorElementmeNstpRphiTOB [6]
 
MonitorElementmeNstpSasTEC [5]
 
MonitorElementmeNstpSasTIB [4]
 
MonitorElementmeNstpSasTID [2]
 
MonitorElementmeNstpSasTOB [2]
 
MonitorElementmeNumMatchedTEC
 
MonitorElementmeNumMatchedTIB
 
MonitorElementmeNumMatchedTID
 
MonitorElementmeNumMatchedTOB
 
MonitorElementmeNumRphiTEC
 
MonitorElementmeNumRphiTIB
 
MonitorElementmeNumRphiTID
 
MonitorElementmeNumRphiTOB
 
MonitorElementmeNumSasTEC
 
MonitorElementmeNumSasTIB
 
MonitorElementmeNumSasTID
 
MonitorElementmeNumSasTOB
 
MonitorElementmeNumTotMatched
 
MonitorElementmeNumTotRphi
 
MonitorElementmeNumTotSas
 
MonitorElementmePosxMatchedTEC [5]
 
MonitorElementmePosxMatchedTIB [2]
 
MonitorElementmePosxMatchedTID [2]
 
MonitorElementmePosxMatchedTOB [2]
 
MonitorElementmePosxRphiTEC [7]
 
MonitorElementmePosxRphiTIB [4]
 
MonitorElementmePosxRphiTID [3]
 
MonitorElementmePosxRphiTOB [6]
 
MonitorElementmePosxSasTEC [5]
 
MonitorElementmePosxSasTIB [4]
 
MonitorElementmePosxSasTID [2]
 
MonitorElementmePosxSasTOB [2]
 
MonitorElementmePosyMatchedTEC [5]
 
MonitorElementmePosyMatchedTIB [2]
 
MonitorElementmePosyMatchedTID [2]
 
MonitorElementmePosyMatchedTOB [2]
 
MonitorElementmePullLFRphiTEC [7]
 
MonitorElementmePullLFRphiTIB [4]
 
MonitorElementmePullLFRphiTID [3]
 
MonitorElementmePullLFRphiTOB [6]
 
MonitorElementmePullLFSasTEC [5]
 
MonitorElementmePullLFSasTIB [4]
 
MonitorElementmePullLFSasTID [2]
 
MonitorElementmePullLFSasTOB [2]
 
MonitorElementmePullMFRphiTEC [7]
 
MonitorElementmePullMFRphiTIB [4]
 
MonitorElementmePullMFRphiTID [3]
 
MonitorElementmePullMFRphiTOB [6]
 
MonitorElementmePullMFSasTEC [5]
 
MonitorElementmePullMFSasTIB [4]
 
MonitorElementmePullMFSasTID [2]
 
MonitorElementmePullMFSasTOB [2]
 
MonitorElementmeResRphiTEC [7]
 
MonitorElementmeResRphiTIB [4]
 
MonitorElementmeResRphiTID [3]
 
MonitorElementmeResRphiTOB [6]
 
MonitorElementmeResSasTEC [5]
 
MonitorElementmeResSasTIB [4]
 
MonitorElementmeResSasTID [2]
 
MonitorElementmeResSasTOB [2]
 
MonitorElementmeResxMatchedTEC [5]
 
MonitorElementmeResxMatchedTIB [2]
 
MonitorElementmeResxMatchedTID [2]
 
MonitorElementmeResxMatchedTOB [2]
 
MonitorElementmeResyMatchedTEC [5]
 
MonitorElementmeResyMatchedTIB [2]
 
MonitorElementmeResyMatchedTID [2]
 
MonitorElementmeResyMatchedTOB [2]
 
std::string outputFile_
 
float rechitmatchedchi2 [MAXHIT]
 
float rechitmatchederrxx [MAXHIT]
 
float rechitmatchederrxy [MAXHIT]
 
float rechitmatchederryy [MAXHIT]
 
float rechitmatchedphi [MAXHIT]
 
float rechitmatchedresx [MAXHIT]
 
float rechitmatchedresy [MAXHIT]
 
float rechitmatchedx [MAXHIT]
 
float rechitmatchedy [MAXHIT]
 
float rechitmatchedz [MAXHIT]
 
float rechitrphierrx [MAXHIT]
 
float rechitrphiphi [MAXHIT]
 
float rechitrphipullMF [MAXHIT]
 
float rechitrphires [MAXHIT]
 
float rechitrphix [MAXHIT]
 
float rechitrphiy [MAXHIT]
 
float rechitrphiz [MAXHIT]
 
float rechitsaserrx [MAXHIT]
 
float rechitsasphi [MAXHIT]
 
float rechitsaspullMF [MAXHIT]
 
float rechitsasres [MAXHIT]
 
float rechitsasx [MAXHIT]
 
float rechitsasy [MAXHIT]
 
float rechitsasz [MAXHIT]
 
edm::InputTag rphiRecHits_
 
edm::InputTag stereoRecHits_
 

Static Private Attributes

static const int MAXHIT = 1000
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 51 of file SiStripRecHitsValid.h.

Constructor & Destructor Documentation

SiStripRecHitsValid::SiStripRecHitsValid ( const edm::ParameterSet conf)

Definition at line 52 of file SiStripRecHitsValid.cc.

References dbe_, edm::ParameterSet::getUntrackedParameter(), trackerHits::histo, i, meAdcRphiTEC, meAdcRphiTIB, meAdcRphiTID, meAdcRphiTOB, meAdcSasTEC, meAdcSasTIB, meAdcSasTID, meAdcSasTOB, meChi2MatchedTEC, meChi2MatchedTIB, meChi2MatchedTID, meChi2MatchedTOB, meChi2RphiTEC, meChi2RphiTIB, meChi2RphiTID, meChi2RphiTOB, meChi2SasTEC, meChi2SasTIB, meChi2SasTID, meChi2SasTOB, meErrxMatchedTEC, meErrxMatchedTIB, meErrxMatchedTID, meErrxMatchedTOB, meErrxRphiTEC, meErrxRphiTIB, meErrxRphiTID, meErrxRphiTOB, meErrxSasTEC, meErrxSasTIB, meErrxSasTID, meErrxSasTOB, meErryMatchedTEC, meErryMatchedTIB, meErryMatchedTID, meErryMatchedTOB, meNstpRphiTEC, meNstpRphiTIB, meNstpRphiTID, meNstpRphiTOB, meNstpSasTEC, meNstpSasTIB, meNstpSasTID, meNstpSasTOB, meNumMatchedTEC, meNumMatchedTIB, meNumMatchedTID, meNumMatchedTOB, meNumRphiTEC, meNumRphiTIB, meNumRphiTID, meNumRphiTOB, meNumSasTEC, meNumSasTIB, meNumSasTID, meNumSasTOB, meNumTotMatched, meNumTotRphi, meNumTotSas, mePosxMatchedTEC, mePosxMatchedTIB, mePosxMatchedTID, mePosxMatchedTOB, mePosxRphiTEC, mePosxRphiTIB, mePosxRphiTID, mePosxRphiTOB, mePosxSasTEC, mePosxSasTIB, mePosxSasTID, mePosxSasTOB, mePosyMatchedTEC, mePosyMatchedTIB, mePosyMatchedTID, mePosyMatchedTOB, mePullLFRphiTEC, mePullLFRphiTIB, mePullLFRphiTID, mePullLFRphiTOB, mePullLFSasTEC, mePullLFSasTIB, mePullLFSasTID, mePullLFSasTOB, mePullMFRphiTEC, mePullMFRphiTIB, mePullMFRphiTID, mePullMFRphiTOB, mePullMFSasTEC, mePullMFSasTIB, mePullMFSasTID, mePullMFSasTOB, meResRphiTEC, meResRphiTIB, meResRphiTID, meResRphiTOB, meResSasTEC, meResSasTIB, meResSasTID, meResSasTOB, meResxMatchedTEC, meResxMatchedTIB, meResxMatchedTID, meResxMatchedTOB, meResyMatchedTEC, meResyMatchedTIB, meResyMatchedTID, meResyMatchedTOB, cmsCodeRules.cppFunctionSkipper::operator, and outputFile_.

52  :
53  dbe_(0),
54  conf_(ps),
55  matchedRecHits_( ps.getParameter<edm::InputTag>("matchedRecHits") ),
56  rphiRecHits_( ps.getParameter<edm::InputTag>("rphiRecHits") ),
57  stereoRecHits_( ps.getParameter<edm::InputTag>("stereoRecHits") ) {
58 
59  outputFile_ = ps.getUntrackedParameter<string>("outputFile", "sistriprechitshisto.root");
61  //dbe_->showDirStructure();
62  dbe_->setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Strip/SISTRIP");
63 
64  meNumTotRphi = dbe_->book1D("NumTotRphi","Num of RecHits rphi",100, 0, 10000);
65  meNumTotSas = dbe_->book1D("NumTotSas","Num of RecHits sas",100, 0, 10000);
66  meNumTotMatched = dbe_->book1D("NumTotMatched","Num of RecHits rmatched",100, 0, 10000);
67 
68  dbe_->setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Strip/TIB");
69  meNumRphiTIB = dbe_->book1D("NumRphiTIB","Num of RecHits rphi", 100, 0, 1000.);
70  meNumSasTIB = dbe_->book1D("NumSasTIB","Num of RecHits sas", 100, 0, 1000.);
71  meNumMatchedTIB = dbe_->book1D("NumMatchedTIB","Num of RecHits matched", 100, 0, 1000.);
72 
73  //one histo per Layer rphi hits
74  for(int i = 0 ;i<4 ; i++) {
75  Char_t histo[200];
76  sprintf(histo,"Nstp_rphi_layer%dtib",i+1);
77  meNstpRphiTIB[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
78  sprintf(histo,"Adc_rphi_layer%dtib",i+1);
79  meAdcRphiTIB[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
80  sprintf(histo,"Posx_rphi_layer%dtib",i+1);
81  mePosxRphiTIB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
82  sprintf(histo,"Errx_rphi_layer%dtib",i+1);
83  meErrxRphiTIB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0,0.01); //<error>~20micron
84  sprintf(histo,"Res_rphi_layer%dtib",i+1);
85  meResRphiTIB[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.02,+0.02);
86  sprintf(histo,"Pull_LF_rphi_layer%dtib",i+1);
87  mePullLFRphiTIB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
88  sprintf(histo,"Pull_MF_rphi_layer%dtib",i+1);
89  mePullMFRphiTIB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
90  sprintf(histo,"Chi2_rphi_layer%dtib",i+1);
91  meChi2RphiTIB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
92  }
93 
94  //one histo per Layer stereo and matched hits
95  for(int i = 0 ;i<2 ; i++) {
96  Char_t histo[200];
97  sprintf(histo,"Nstp_sas_layer%dtib",i+1);
98  meNstpSasTIB[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
99  sprintf(histo,"Adc_sas_layer%dtib",i+1);
100  meAdcSasTIB[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
101  sprintf(histo,"Posx_sas_layer%dtib",i+1);
102  mePosxSasTIB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
103  sprintf(histo,"Errx_sas_layer%dtib",i+1);
104  meErrxSasTIB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0.,0.01);
105  sprintf(histo,"Res_sas_layer%dtib",i+1);
106  meResSasTIB[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.02,+0.02);
107  sprintf(histo,"Pull_LF_sas_layer%dtib",i+1);
108  mePullLFSasTIB[i] = dbe_->book1D(histo,"Pull",100,-4.,4.);
109  sprintf(histo,"Pull_MF_sas_layer%dtib",i+1);
110  mePullMFSasTIB[i] = dbe_->book1D(histo,"Pull",100,-4.,4.);
111  sprintf(histo,"Chi2_sas_layer%dtib",i+1);
112  meChi2SasTIB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
113 
114  sprintf(histo,"Posx_matched_layer%dtib",i+1);
115  mePosxMatchedTIB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0, +6.0);
116  sprintf(histo,"Posy_matched_layer%dtib",i+1);
117  mePosyMatchedTIB[i] = dbe_->book1D(histo,"RecHit y coord.",100,-6.0, +6.0);
118  sprintf(histo,"Errx_matched_layer%dtib",i+1);
119  meErrxMatchedTIB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0., 0.01);
120  sprintf(histo,"Erry_matched_layer%dtib",i+1);
121  meErryMatchedTIB[i] = dbe_->book1D(histo,"RecHit err(y) coord.",100,0., 0.05);
122  sprintf(histo,"Resx_matched_layer%dtib",i+1);
123  meResxMatchedTIB[i] = dbe_->book1D(histo,"RecHit Res(x) coord.",100,-0.02, +0.02);
124  sprintf(histo,"Resy_matched_layer%dtib",i+1);
125  meResyMatchedTIB[i] = dbe_->book1D(histo,"RecHit Res(y) coord.",100,-1., +1.);
126  sprintf(histo,"Chi2_matched_layer%dtib",i+1);
127  meChi2MatchedTIB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
128  }
129 
130  dbe_->setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Strip/TOB");
131  meNumRphiTOB = dbe_->book1D("NumRphiTOB","Num of RecHits rphi", 100, 0, 1000.);
132  meNumSasTOB = dbe_->book1D("NumSasTOB","Num of RecHits sas", 100, 0, 1000.);
133  meNumMatchedTOB = dbe_->book1D("NumMatchedTOB","Num of RecHits matched", 100, 0, 1000.);
134  //one histo per Layer rphi hits
135  for(int i = 0 ;i<6 ; i++) {
136  Char_t histo[200];
137  sprintf(histo,"Nstp_rphi_layer%dtob",i+1);
138  meNstpRphiTOB[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
139  sprintf(histo,"Adc_rphi_layer%dtob",i+1);
140  meAdcRphiTOB[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
141  sprintf(histo,"Posx_rphi_layer%dtob",i+1);
142  mePosxRphiTOB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
143  sprintf(histo,"Errx_rphi_layer%dtob",i+1);
144  meErrxRphiTOB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0,0.01);
145  sprintf(histo,"Res_rphi_layer%dtob",i+1);
146  meResRphiTOB[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.02,+0.02);
147  sprintf(histo,"Pull_LF_rphi_layer%dtob",i+1);
148  mePullLFRphiTOB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
149  sprintf(histo,"Pull_MF_rphi_layer%dtob",i+1);
150  mePullMFRphiTOB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
151  sprintf(histo,"Chi2_rphi_layer%dtob",i+1);
152  meChi2RphiTOB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
153  }
154 
155  //one histo per Layer stereo and matched hits
156  for(int i = 0 ;i<2 ; i++) {
157  Char_t histo[200];
158  sprintf(histo,"Nstp_sas_layer%dtob",i+1);
159  meNstpSasTOB[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
160  sprintf(histo,"Adc_sas_layer%dtob",i+1);
161  meAdcSasTOB[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
162  sprintf(histo,"Posx_sas_layer%dtob",i+1);
163  mePosxSasTOB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
164  sprintf(histo,"Errx_sas_layer%dtob",i+1);
165  meErrxSasTOB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0.,0.01);
166  sprintf(histo,"Res_sas_layer%dtob",i+1);
167  meResSasTOB[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.02,+0.02);
168  sprintf(histo,"Pull_LF_sas_layer%dtob",i+1);
169  mePullLFSasTOB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
170  sprintf(histo,"Pull_MF_sas_layer%dtob",i+1);
171  mePullMFSasTOB[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
172  sprintf(histo,"Chi2_sas_layer%dtob",i+1);
173  meChi2SasTOB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
174 
175  sprintf(histo,"Posx_matched_layer%dtob",i+1);
176  mePosxMatchedTOB[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0, +6.0);
177  sprintf(histo,"Posy_matched_layer%dtob",i+1);
178  mePosyMatchedTOB[i] = dbe_->book1D(histo,"RecHit y coord.",100,-10.0, +10.0);
179  sprintf(histo,"Errx_matched_layer%dtob",i+1);
180  meErrxMatchedTOB[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0., 0.01);
181  sprintf(histo,"Erry_matched_layer%dtob",i+1);
182  meErryMatchedTOB[i] = dbe_->book1D(histo,"RecHit err(y) coord.",100,0., 0.1);
183  sprintf(histo,"Resx_matched_layer%dtob",i+1);
184  meResxMatchedTOB[i] = dbe_->book1D(histo,"RecHit Res(x) coord.",100,-0.02, +0.02);
185  sprintf(histo,"Resy_matched_layer%dtob",i+1);
186  meResyMatchedTOB[i] = dbe_->book1D(histo,"RecHit Res(y) coord.",100,-1., +1.);
187  sprintf(histo,"Chi2_matched_layer%dtob",i+1);
188  meChi2MatchedTOB[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
189  }
190 
191  dbe_->setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Strip/TID");
192  meNumRphiTID = dbe_->book1D("NumRphiTID","Num of RecHits rphi", 100, 0, 1000.);
193  meNumSasTID = dbe_->book1D("NumSasTID","Num of RecHits sas", 100, 0, 1000.);
194  meNumMatchedTID = dbe_->book1D("NumMatchedTID","Num of RecHits matched", 100, 0, 1000.);
195 
196  //one histo per Ring rphi hits: 3 rings, 6 disks, 2 inner rings are glued
197  for(int i = 0 ;i<3 ; i++) {
198  Char_t histo[200];
199  sprintf(histo,"Nstp_rphi_layer%dtid",i+1);
200  meNstpRphiTID[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
201  sprintf(histo,"Adc_rphi_layer%dtid",i+1);
202  meAdcRphiTID[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
203  sprintf(histo,"Posx_rphi_layer%dtid",i+1);
204  mePosxRphiTID[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
205  sprintf(histo,"Errx_rphi_layer%dtid",i+1);
206  meErrxRphiTID[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0,0.5);
207  sprintf(histo,"Res_rphi_layer%dtid",i+1);
208  meResRphiTID[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.5,+0.5);
209  sprintf(histo,"Pull_LF_rphi_layer%dtid",i+1);
210  mePullLFRphiTID[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
211  sprintf(histo,"Pull_MF_rphi_layer%dtid",i+1);
212  mePullMFRphiTID[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
213  sprintf(histo,"Chi2_rphi_layer%dtid",i+1);
214  meChi2RphiTID[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
215  }
216 
217  //one histo per Ring stereo and matched hits
218  for(int i = 0 ;i<2 ; i++) {
219  Char_t histo[200];
220  sprintf(histo,"Nstp_sas_layer%dtid",i+1);
221  meNstpSasTID[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
222  sprintf(histo,"Adc_sas_layer%dtid",i+1);
223  meAdcSasTID[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
224  sprintf(histo,"Posx_sas_layer%dtid",i+1);
225  mePosxSasTID[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
226  sprintf(histo,"Errx_sas_layer%dtid",i+1);
227  meErrxSasTID[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0.,0.5);
228  sprintf(histo,"Res_sas_layer%dtid",i+1);
229  meResSasTID[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.5,+0.5);
230  sprintf(histo,"Pull_LF_sas_layer%dtid",i+1);
231  mePullLFSasTID[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
232  sprintf(histo,"Pull_MF_sas_layer%dtid",i+1);
233  mePullMFSasTID[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
234  sprintf(histo,"Chi2_sas_layer%dtid",i+1);
235  meChi2SasTID[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
236 
237  sprintf(histo,"Posx_matched_layer%dtid",i+1);
238  mePosxMatchedTID[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0, +6.0);
239  sprintf(histo,"Posy_matched_layer%dtid",i+1);
240  mePosyMatchedTID[i] = dbe_->book1D(histo,"RecHit y coord.",100,-6.0, +6.0);
241  sprintf(histo,"Errx_matched_layer%dtid",i+1);
242  meErrxMatchedTID[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0., 0.05);
243  sprintf(histo,"Erry_matched_layer%dtid",i+1);
244  meErryMatchedTID[i] = dbe_->book1D(histo,"RecHit err(y) coord.",100,0., 0.1);
245  sprintf(histo,"Resx_matched_layer%dtid",i+1);
246  meResxMatchedTID[i] = dbe_->book1D(histo,"RecHit Res(x) coord.",100,-0.2, +0.2);
247  sprintf(histo,"Resy_matched_layer%dtid",i+1);
248  meResyMatchedTID[i] = dbe_->book1D(histo,"RecHit Res(y) coord.",100,-1., +1.);
249  sprintf(histo,"Chi2_matched_layer%dtid",i+1);
250  meChi2MatchedTID[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
251  }
252 
253  dbe_->setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Strip/TEC");
254  meNumRphiTEC = dbe_->book1D("NumRphiTEC","Num of RecHits rphi", 100, 0, 1000.);
255  meNumSasTEC = dbe_->book1D("NumSasTEC","Num of RecHits sas", 100, 0, 1000.);
256  meNumMatchedTEC = dbe_->book1D("NumMatchedTEC","Num of RecHits matched", 100, 0, 1000.);
257 
258  //one histo per Ring rphi hits: 7 rings, 18 disks. Innermost 3 rings are same as TID above.
259  for(int i = 0 ;i<7 ; i++) {
260  Char_t histo[200];
261  sprintf(histo,"Nstp_rphi_layer%dtec",i+1);
262  meNstpRphiTEC[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
263  sprintf(histo,"Adc_rphi_layer%dtec",i+1);
264  meAdcRphiTEC[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
265  sprintf(histo,"Posx_rphi_layer%dtec",i+1);
266  mePosxRphiTEC[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
267  sprintf(histo,"Errx_rphi_layer%dtec",i+1);
268  meErrxRphiTEC[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0,0.5);
269  sprintf(histo,"Res_rphi_layer%dtec",i+1);
270  meResRphiTEC[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.5,+0.5);
271  sprintf(histo,"Pull_LF_rphi_layer%dtec",i+1);
272  mePullLFRphiTEC[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
273  sprintf(histo,"Pull_MF_rphi_layer%dtec",i+1);
274  mePullMFRphiTEC[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
275  sprintf(histo,"Chi2_rphi_layer%dtec",i+1);
276  meChi2RphiTEC[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
277  }
278 
279  //one histo per Layer stereo and matched hits: rings 1,2,5 are double sided
280  for(int i = 0 ;i<5 ; i++) {
281  if(i == 0 || i == 1 || i == 4) {
282  Char_t histo[200];
283  sprintf(histo,"Nstp_sas_layer%dtec",i+1);
284  meNstpSasTEC[i] = dbe_->book1D(histo,"RecHit Cluster Size",10,0.5,10.5);
285  sprintf(histo,"Adc_sas_layer%dtec",i+1);
286  meAdcSasTEC[i] = dbe_->book1D(histo,"RecHit Cluster Charge",100,0.,300.);
287  sprintf(histo,"Posx_sas_layer%dtec",i+1);
288  mePosxSasTEC[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0,+6.0);
289  sprintf(histo,"Errx_sas_layer%dtec",i+1);
290  meErrxSasTEC[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0.,0.5);
291  sprintf(histo,"Res_sas_layer%dtec",i+1);
292  meResSasTEC[i] = dbe_->book1D(histo,"RecHit Residual",100,-0.5,+0.5);
293  sprintf(histo,"Pull_LF_sas_layer%dtec",i+1);
294  mePullLFSasTEC[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
295  sprintf(histo,"Pull_MF_sas_layer%dtec",i+1);
296  mePullMFSasTEC[i] = dbe_->book1D(histo,"Pull",100,-5.,5.);
297  sprintf(histo,"Chi2_sas_layer%dtec",i+1);
298  meChi2SasTEC[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
299 
300  sprintf(histo,"Posx_matched_layer%dtec",i+1);
301  mePosxMatchedTEC[i] = dbe_->book1D(histo,"RecHit x coord.",100,-6.0, +6.0);
302  sprintf(histo,"Posy_matched_layer%dtec",i+1);
303  mePosyMatchedTEC[i] = dbe_->book1D(histo,"RecHit y coord.",100,-8.0, +8.0);
304  sprintf(histo,"Errx_matched_layer%dtec",i+1);
305  meErrxMatchedTEC[i] = dbe_->book1D(histo,"RecHit err(x) coord.",100,0., 0.05);
306  sprintf(histo,"Erry_matched_layer%dtec",i+1);
307  meErryMatchedTEC[i] = dbe_->book1D(histo,"RecHit err(y) coord.",100,0., 0.1);
308  sprintf(histo,"Resx_matched_layer%dtec",i+1);
309  meResxMatchedTEC[i] = dbe_->book1D(histo,"RecHit Res(x) coord.",100,-0.2, +0.2);
310  sprintf(histo,"Resy_matched_layer%dtec",i+1);
311  meResyMatchedTEC[i] = dbe_->book1D(histo,"RecHit Res(y) coord.",100,-1., +1.);
312  sprintf(histo,"Chi2_matched_layer%dtec",i+1);
313  meChi2MatchedTEC[i] = dbe_->book1D(histo,"RecHit Chi2 test",100,0., 50);
314  }
315  }
316 }
MonitorElement * meNstpRphiTEC[7]
MonitorElement * meNumTotRphi
MonitorElement * meNstpSasTEC[5]
MonitorElement * meResRphiTEC[7]
MonitorElement * meChi2RphiTID[3]
int i
Definition: DBlmapReader.cc:9
MonitorElement * mePullLFSasTIB[4]
MonitorElement * meErrxSasTEC[5]
MonitorElement * meAdcRphiTIB[4]
MonitorElement * meErrxMatchedTIB[2]
MonitorElement * mePullLFRphiTID[3]
MonitorElement * meChi2RphiTEC[7]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:519
MonitorElement * mePosyMatchedTEC[5]
MonitorElement * meNumRphiTIB
MonitorElement * meErrxMatchedTOB[2]
MonitorElement * mePosxRphiTID[3]
MonitorElement * meChi2MatchedTID[2]
MonitorElement * meErryMatchedTID[2]
MonitorElement * meNstpRphiTIB[4]
MonitorElement * meResyMatchedTID[2]
MonitorElement * meNumMatchedTOB
MonitorElement * meNumSasTOB
MonitorElement * meErrxRphiTIB[4]
MonitorElement * meResxMatchedTEC[5]
MonitorElement * meNstpSasTOB[2]
MonitorElement * mePullLFSasTEC[5]
MonitorElement * meResSasTID[2]
MonitorElement * meNumMatchedTID
MonitorElement * mePullMFRphiTOB[6]
MonitorElement * meAdcRphiTEC[7]
MonitorElement * meChi2MatchedTIB[2]
MonitorElement * meNumSasTIB
tuple histo
Definition: trackerHits.py:12
MonitorElement * meResxMatchedTID[2]
MonitorElement * meNstpRphiTID[3]
MonitorElement * mePosxRphiTOB[6]
MonitorElement * mePullLFRphiTIB[4]
MonitorElement * meNumRphiTID
MonitorElement * meErrxRphiTEC[7]
MonitorElement * meChi2RphiTOB[6]
edm::InputTag matchedRecHits_
MonitorElement * meResSasTOB[2]
MonitorElement * mePullMFRphiTID[3]
MonitorElement * mePosxRphiTEC[7]
MonitorElement * meResRphiTOB[6]
MonitorElement * mePosxSasTID[2]
MonitorElement * meNumMatchedTIB
MonitorElement * meNumTotMatched
MonitorElement * meErryMatchedTEC[5]
MonitorElement * mePullMFSasTID[2]
MonitorElement * meResyMatchedTOB[2]
MonitorElement * mePullMFRphiTEC[7]
MonitorElement * meErrxSasTIB[4]
MonitorElement * meChi2SasTOB[2]
MonitorElement * meAdcRphiTOB[6]
MonitorElement * meChi2SasTEC[5]
MonitorElement * meErrxSasTOB[2]
MonitorElement * mePosxMatchedTOB[2]
MonitorElement * mePosyMatchedTIB[2]
MonitorElement * meResRphiTIB[4]
MonitorElement * meChi2RphiTIB[4]
MonitorElement * meErrxMatchedTEC[5]
MonitorElement * meChi2SasTIB[4]
MonitorElement * mePosyMatchedTID[2]
MonitorElement * mePullLFRphiTEC[7]
MonitorElement * meAdcSasTIB[4]
MonitorElement * mePosxSasTIB[4]
MonitorElement * meChi2MatchedTOB[2]
MonitorElement * meResSasTEC[5]
MonitorElement * mePosxRphiTIB[4]
MonitorElement * meNstpSasTIB[4]
MonitorElement * mePullLFSasTOB[2]
MonitorElement * meErrxRphiTOB[6]
MonitorElement * meResyMatchedTEC[5]
MonitorElement * meErrxRphiTID[3]
MonitorElement * meAdcSasTID[2]
MonitorElement * meResxMatchedTIB[2]
MonitorElement * meErryMatchedTIB[2]
MonitorElement * meNumRphiTEC
MonitorElement * mePosxSasTOB[2]
MonitorElement * meNstpSasTID[2]
MonitorElement * mePullLFSasTID[2]
MonitorElement * meAdcSasTEC[5]
MonitorElement * mePullLFRphiTOB[6]
MonitorElement * mePullMFSasTEC[5]
MonitorElement * meNumTotSas
MonitorElement * meNumSasTEC
MonitorElement * meErryMatchedTOB[2]
MonitorElement * meChi2MatchedTEC[5]
MonitorElement * mePosxMatchedTEC[5]
MonitorElement * mePosxSasTEC[5]
edm::ParameterSet conf_
edm::InputTag stereoRecHits_
MonitorElement * mePullMFSasTOB[2]
MonitorElement * mePullMFRphiTIB[4]
MonitorElement * mePosxMatchedTID[2]
MonitorElement * meResxMatchedTOB[2]
MonitorElement * meResSasTIB[4]
MonitorElement * mePullMFSasTIB[4]
MonitorElement * meErrxMatchedTID[2]
MonitorElement * meNumSasTID
MonitorElement * meResyMatchedTIB[2]
MonitorElement * meAdcRphiTID[3]
MonitorElement * meNumRphiTOB
MonitorElement * meChi2SasTID[2]
MonitorElement * meNumMatchedTEC
MonitorElement * meErrxSasTID[2]
MonitorElement * mePosxMatchedTIB[2]
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:237
MonitorElement * meResRphiTID[3]
MonitorElement * meNstpRphiTOB[6]
MonitorElement * mePosyMatchedTOB[2]
MonitorElement * meAdcSasTOB[2]
SiStripRecHitsValid::~SiStripRecHitsValid ( )

Definition at line 319 of file SiStripRecHitsValid.cc.

319  {
320  //if ( outputFile_.size() != 0 && dbe_ ) dbe_->save(outputFile_);
321 }

Member Function Documentation

void SiStripRecHitsValid::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::EDAnalyzer.

Definition at line 332 of file SiStripRecHitsValid.cc.

References TrackerHitAssociator::associateHit(), chi2matched, chi2rphi, chi2sas, cluchgrphi, cluchgsas, clusizrphi, clusizsas, SiStripRecHit2D::cluster(), conf_, cond::rpcobgas::detid, error, edm::EventID::event(), MonitorElement::Fill(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByLabel(), helper::getRange(), i, edm::EventBase::id(), TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), j, gen::k, prof2calltree::l, TOBDetId::layer(), TIBDetId::layer(), BaseSiTrackerRecHit2DLocalPos::localPosition(), PSimHit::localPosition(), BaseSiTrackerRecHit2DLocalPos::localPositionError(), m, matched, matchedRecHits_, MAXHIT, meAdcRphiTEC, meAdcRphiTIB, meAdcRphiTID, meAdcRphiTOB, meAdcSasTEC, meAdcSasTIB, meAdcSasTID, meAdcSasTOB, Topology::measurementError(), Topology::measurementPosition(), meChi2MatchedTEC, meChi2MatchedTIB, meChi2MatchedTID, meChi2MatchedTOB, meChi2RphiTEC, meChi2RphiTIB, meChi2RphiTID, meChi2RphiTOB, meChi2SasTEC, meChi2SasTIB, meChi2SasTID, meChi2SasTOB, meErrxMatchedTEC, meErrxMatchedTIB, meErrxMatchedTID, meErrxMatchedTOB, meErrxRphiTEC, meErrxRphiTIB, meErrxRphiTID, meErrxRphiTOB, meErrxSasTEC, meErrxSasTIB, meErrxSasTID, meErrxSasTOB, meErryMatchedTEC, meErryMatchedTIB, meErryMatchedTID, meErryMatchedTOB, meNstpRphiTEC, meNstpRphiTIB, meNstpRphiTID, meNstpRphiTOB, meNstpSasTEC, meNstpSasTIB, meNstpSasTID, meNstpSasTOB, meNumMatchedTEC, meNumMatchedTIB, meNumMatchedTID, meNumMatchedTOB, meNumRphiTEC, meNumRphiTIB, meNumRphiTID, meNumRphiTOB, meNumSasTEC, meNumSasTIB, meNumSasTID, meNumSasTOB, meNumTotMatched, meNumTotRphi, meNumTotSas, mePosxMatchedTEC, mePosxMatchedTIB, mePosxMatchedTID, mePosxMatchedTOB, mePosxRphiTEC, mePosxRphiTIB, mePosxRphiTID, mePosxRphiTOB, mePosxSasTEC, mePosxSasTIB, mePosxSasTID, mePosxSasTOB, mePosyMatchedTEC, mePosyMatchedTIB, mePosyMatchedTID, mePosyMatchedTOB, mePullLFRphiTEC, mePullLFRphiTIB, mePullLFRphiTID, mePullLFRphiTOB, mePullLFSasTEC, mePullLFSasTIB, mePullLFSasTID, mePullLFSasTOB, mePullMFRphiTEC, mePullMFRphiTIB, mePullMFRphiTID, mePullMFRphiTOB, mePullMFSasTEC, mePullMFSasTIB, mePullMFSasTID, mePullMFSasTOB, meResRphiTEC, meResRphiTIB, meResRphiTID, meResRphiTOB, meResSasTEC, meResSasTIB, meResSasTID, meResSasTOB, meResxMatchedTEC, meResxMatchedTIB, meResxMatchedTID, meResxMatchedTOB, meResyMatchedTEC, meResyMatchedTIB, meResyMatchedTID, meResyMatchedTOB, RecHit2DLocalPos::parameters(), RecHit2DLocalPos::parametersError(), position, projectHit(), csvReporter::r, dttmaxenums::R, rechitmatchederrxx, rechitmatchederrxy, rechitmatchederryy, rechitmatchedresx, rechitmatchedresy, rechitmatchedx, rechitmatchedy, rechitmatchedz, rechitrphierrx, rechitrphipullMF, rechitrphires, rechitrphix, rechitrphiy, rechitrphiz, rechitsaserrx, rechitsaspullMF, rechitsasres, rechitsasx, rechitsasy, rechitsasz, TIDDetId::ring(), TECDetId::ring(), rphiRecHits_, edm::EventID::run(), mathSSE::sqrt(), SiStripDetId::stereo(), GluedGeomDet::stereoDet(), stereoRecHits_, DetId::subdetId(), GeomDet::surface(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, StripGeomDetUnit::topology(), patCandidatesForDimuonsSequences_cff::tracker, MeasurementError::uu(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().

332  {
333 
334  LogInfo("EventInfo") << " Run = " << e.id().run() << " Event = " << e.id().event();
335  //cout << " Run = " << e.id().run() << " Event = " << e.id().event() << endl;
336 
337  //--- get RecHits
338 
339  std::string rechitProducer = "SiStripRecHits2D";
340 
341  // Step A: Get Inputs
345  e.getByLabel(matchedRecHits_, rechitsmatched);
346  e.getByLabel(rphiRecHits_, rechitsrphi);
347  e.getByLabel(stereoRecHits_, rechitsstereo);
348 
349  int numrechitrphi =0;
350  int numrechitsas =0;
351  int numrechitmatched=0;
352 
353  int totTibnumrechitrphi=0;
354  int totTibnumrechitsas=0;
355  int totTibnumrechitmatched=0;
356  int totTobnumrechitrphi=0;
357  int totTobnumrechitsas=0;
358  int totTobnumrechitmatched=0;
359  int totTidnumrechitrphi=0;
360  int totTidnumrechitsas=0;
361  int totTidnumrechitmatched=0;
362  int totTecnumrechitrphi=0;
363  int totTecnumrechitsas=0;
364  int totTecnumrechitmatched=0;
365  int totrechitrphi =0;
366  int totrechitsas =0;
367  int totrechitmatched =0;
368 
369  TrackerHitAssociator associate(e, conf_);
370 
372  es.get<TrackerDigiGeometryRecord> ().get (pDD);
373  const TrackerGeometry &tracker(*pDD);
374  // FIXME: this using of vector<DetId> is suboptimal, but I don't want to re-write the full class now
375  std::vector<DetId> IDs;
376  IDs.reserve(rechitsrphi->size() + rechitsmatched->size() + rechitsstereo->size());
377  std::transform(rechitsrphi->begin(), rechitsrphi->end(), std::back_inserter(IDs), helper::GetDetId() );
378  std::transform(rechitsstereo->begin(), rechitsstereo->end(), std::back_inserter(IDs), helper::GetDetId() );
379  std::transform(rechitsmatched->begin(), rechitsmatched->end(), std::back_inserter(IDs), helper::GetDetId() );
380  // loop over detunits
381  // for(TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++){
382  for(std::vector<DetId>::const_iterator it = IDs.begin(); it != IDs.end(); ++it ){//loop on rphi detector with hits
383  uint32_t myid=((*it).rawId());
384  DetId detid = ((*it));
385 
386  // initialize here
387  for(int i=0; i<MAXHIT; i++){
388  rechitrphix[i] =0;
389  rechitrphierrx[i] =0;
390  rechitrphiy[i] =0;
391  rechitrphiz[i] =0;
392  rechitsasx[i] =0;
393  rechitsaserrx[i] =0;
394  rechitsasy[i] =0;
395  rechitsasz[i] =0;
396  clusizrphi[i] =0;
397  clusizsas[i] =0;
398  cluchgrphi[i] =0;
399  cluchgsas[i] =0;
400  rechitrphires[i]=-999.;
401  rechitsasres[i]=-999.;
402  rechitrphipullMF[i]=-999.;
403  rechitsaspullMF[i]=-999.;
404  chi2rphi[i] =0;
405  chi2sas[i]=0;
406  rechitmatchedx[i] =0;
407  rechitmatchedy[i] =0;
408  rechitmatchedz[i] =0;
409  rechitmatchederrxx[i] =0;
410  rechitmatchederrxy[i] =0;
411  rechitmatchederryy[i] =0;
412  rechitmatchedresx[i]=-999;
413  rechitmatchedresy[i]=-999;
414  chi2matched[i]=0;
415  }
416 
417  numrechitrphi =0;
418  //loop over rechits-rphi in the same subdetector
419  std::pair<SiStripRecHit2DCollection::DetSet::const_iterator,SiStripRecHit2DCollection::DetSet::const_iterator> rechitrphiRange = helper::getRange(*rechitsrphi, detid);
420  SiStripRecHit2DCollection::DetSet::const_iterator rechitrphiRangeIteratorBegin = rechitrphiRange.first;
421  SiStripRecHit2DCollection::DetSet::const_iterator rechitrphiRangeIteratorEnd = rechitrphiRange.second;
422  SiStripRecHit2DCollection::DetSet::const_iterator iterrphi=rechitrphiRangeIteratorBegin;
423 
424  numrechitrphi = rechitrphiRangeIteratorEnd - rechitrphiRangeIteratorBegin;
425 
426 
427  int i=0;
428  int i2=0;
429 
430  if(numrechitrphi > 0 ){
431  totrechitrphi+=numrechitrphi;
432  for(iterrphi=rechitrphiRangeIteratorBegin; iterrphi!=rechitrphiRangeIteratorEnd;++iterrphi){
433  const GeomDetUnit * det = tracker.idToDetUnit(detid);
434  const StripGeomDetUnit * stripdet=(const StripGeomDetUnit*)(det);
435  const StripTopology &topol=(StripTopology&)stripdet->topology();
436  SiStripRecHit2D const rechit=*iterrphi;
439  MeasurementPoint Mposition;
440  MeasurementError Merror;
441  Mposition = topol.measurementPosition(position);
442  Merror = topol.measurementError(position,error);
443  SiStripRecHit2D::ClusterRef clust=rechit.cluster();
444  int clusiz=0;
445  int totcharge=0;
446  clusiz = clust->amplitudes().size();
447  const std::vector<uint8_t> amplitudes=clust->amplitudes();
448  for(size_t ia=0; ia<amplitudes.size();ia++){
449  totcharge+=amplitudes[ia];
450  }
451  rechitrphix[i] = position.x();
452  rechitrphiy[i] = position.y();
453  rechitrphiz[i] = position.z();
454  rechitrphierrx[i] = error.xx();
455  clusizrphi[i] = clusiz;
456  cluchgrphi[i] = totcharge;
457 
458  matched.clear();
459  matched = associate.associateHit(rechit);
460  float mindist = 999999;
461  float dist = 999999;
462  PSimHit closest;
463  if(!matched.empty()){
464  for(vector<PSimHit>::const_iterator m=matched.begin(); m<matched.end(); m++){
465  dist = fabs(rechitrphix[i] - (*m).localPosition().x());
466  if(dist<mindist){
467  mindist = dist;
468  closest = (*m);
469  }
470  rechitrphires[i] = rechitrphix[i] - closest.localPosition().x();
471  }
472  rechitrphipullMF[i] = (Mposition.x() - (topol.measurementPosition(closest.localPosition())).x())/sqrt(Merror.uu());
473 
474  //chi2test compare rechit errors with the simhit position ( using null matrix for the simhit).
475  //Can spot problems in the geometry better than a simple residual. (thanks to BorisM)
476  AlgebraicVector rhparameters = rechit.parameters();
477  AlgebraicVector shparameters(2);
478  shparameters[0] = closest.localPosition().x();
479  shparameters[1] = closest.localPosition().y();
480  AlgebraicVector r(rhparameters - shparameters);
482  int ierr;
483  R.invert(ierr); // if (ierr != 0) throw exception;
484  double est = R.similarity(r);
485  // std::cout << " ====== Chi2 test rphi hits ====== " << std::endl;
486  // std::cout << "RecHit param. = " << rhparameters << std::endl;
487  // std::cout << "RecHit errors = " << R << std::endl;
488  // std::cout << "SimHit param. = " << shparameters << std::endl;
489  // std::cout << " chi2 = " << est << std::endl;
490  // std::cout << "DEBUG BORIS,filling chi2rphi[i],i: " << i << std::endl;
491  chi2rphi[i2] = est;
492  i2++;
493  }
494  i++;
495  }
496  }
497 
498  //loop over rechits-sas in the same subdetector
499  int j=0;
500  int j2=0;
501  numrechitsas=0;
502  std::pair<SiStripRecHit2DCollection::DetSet::const_iterator,SiStripRecHit2DCollection::DetSet::const_iterator> rechitsasRange = helper::getRange(*rechitsstereo, detid);
503  SiStripRecHit2DCollection::DetSet::const_iterator rechitsasRangeIteratorBegin = rechitsasRange.first;
504  SiStripRecHit2DCollection::DetSet::const_iterator rechitsasRangeIteratorEnd = rechitsasRange.second;
505  SiStripRecHit2DCollection::DetSet::const_iterator itersas=rechitsasRangeIteratorBegin;
506  numrechitsas = rechitsasRangeIteratorEnd - rechitsasRangeIteratorBegin;
507  if(numrechitsas > 0){
508  totrechitsas+=numrechitsas;
509  for(itersas=rechitsasRangeIteratorBegin; itersas!=rechitsasRangeIteratorEnd;++itersas){
510  const GeomDetUnit * det = tracker.idToDetUnit(detid);
511  const StripGeomDetUnit * stripdet=(const StripGeomDetUnit*)(det);
512  const StripTopology &topol=(StripTopology&)stripdet->topology();
513  SiStripRecHit2D const rechit=*itersas;
514  LocalPoint position=rechit.localPosition();
515  LocalError error=rechit.localPositionError();
516  MeasurementPoint Mposition;
517  MeasurementError Merror;
518  Mposition = topol.measurementPosition(position);
519  Merror = topol.measurementError(position,error);
520  SiStripRecHit2D::ClusterRef clust=rechit.cluster(); int clusiz=0;
521  int totcharge=0;
522  clusiz = clust->amplitudes().size();
523  const std::vector<uint8_t> amplitudes=clust->amplitudes();
524  for(size_t ia=0; ia<amplitudes.size();ia++){
525  totcharge+=amplitudes[ia];
526  }
527 
528  rechitsasx[j] = position.x();
529  rechitsasy[j] = position.y();
530  rechitsasz[j] = position.z();
531  rechitsaserrx[j] = error.xx();
532  clusizsas[j] = clusiz;
533  cluchgsas[j] = totcharge;
534 
535  float mindist = 999999;
536  float dist = 999999;
537  PSimHit closest;
538  matched.clear();
539  matched = associate.associateHit(rechit);
540  if(!matched.empty()){
541  for(vector<PSimHit>::const_iterator m=matched.begin(); m<matched.end(); m++){
542  dist = fabs(rechitsasx[j] - (*m).localPosition().x());
543  if(dist<mindist){
544  mindist = dist;
545  closest = (*m);
546  }
547  rechitsasres[j] = rechitsasx[j] - closest.localPosition().x();
548  }
549  rechitsaspullMF[j] = (Mposition.x() - (topol.measurementPosition(closest.localPosition())).x())/sqrt(Merror.uu());
550  //chi2test compare rechit errors with the simhit position ( using null matrix for the simhit).
551  //Can spot problems in the geometry better than a simple residual. (thanks to BorisM)
552  AlgebraicVector rhparameters = rechit.parameters();
553  AlgebraicVector shparameters(2);
554  shparameters[0] = closest.localPosition().x();
555  shparameters[1] = closest.localPosition().y();
556  AlgebraicVector r(rhparameters - shparameters);
557  AlgebraicSymMatrix R = rechit.parametersError();
558  int ierr;
559  R.invert(ierr); // if (ierr != 0) throw exception;
560  double est = R.similarity(r);
561  // std::cout << " ====== Chi2 test sas hits ====== " << std::endl;
562  // std::cout << "RecHit param. = " << rhparameters << std::endl;
563  // std::cout << "RecHit errors = " << R << std::endl;
564  // std::cout << "SimHit param. = " << shparameters << std::endl;
565  // std::cout << " chi2 = " << est << std::endl;
566  // std::cout << "DEBUG BORIS,filling chi2sas[j],j: " << i << std::endl;
567  chi2sas[j2] = est;
568  j2++;
569  }
570  j++;
571  }
572  }
573 
574  //now matched hits
575 
576  int k=0;
577  int k2=0;
578 
579  //loop over rechits-matched in the same subdetector
580  numrechitmatched=0;
581  std::pair<SiStripMatchedRecHit2DCollection::DetSet::const_iterator,SiStripMatchedRecHit2DCollection::DetSet::const_iterator> rechitmatchedRange = helper::getRange(*rechitsmatched, detid);
582  SiStripMatchedRecHit2DCollection::DetSet::const_iterator rechitmatchedRangeIteratorBegin = rechitmatchedRange.first;
583  SiStripMatchedRecHit2DCollection::DetSet::const_iterator rechitmatchedRangeIteratorEnd = rechitmatchedRange.second;
584  SiStripMatchedRecHit2DCollection::DetSet::const_iterator itermatched=rechitmatchedRangeIteratorBegin;
585  numrechitmatched = rechitmatchedRangeIteratorEnd - rechitmatchedRangeIteratorBegin;
586  if(numrechitmatched > 0){
587  totrechitmatched +=numrechitmatched;
588 
589  for(itermatched=rechitmatchedRangeIteratorBegin; itermatched!=rechitmatchedRangeIteratorEnd;++itermatched){
590  SiStripMatchedRecHit2D const rechit=*itermatched;
591  LocalPoint position=rechit.localPosition();
592  LocalError error=rechit.localPositionError();
593 
594  float mindist = 999999;
595  float distx = 999999;
596  float disty = 999999;
597  float dist = 999999;
598  std::pair<LocalPoint,LocalVector> closestPair;
599  matched.clear();
600  // const SiStripRecHit2D *mono = rechit.monoHit();
601  // const SiStripRecHit2D *st = rechit.stereoHit();
602  // LocalPoint monopos = mono->localPosition();
603  // LocalPoint stpos = st->localPosition();
604 
605  rechitmatchedx[k] = position.x();
606  rechitmatchedy[k] = position.y();
607  rechitmatchedz[k] = position.z();
608  rechitmatchederrxx[k] = error.xx();
609  rechitmatchederrxy[k] = error.xy();
610  rechitmatchederryy[k] = error.yy();
611 
612  // std::cout << " before association " << std::endl;
613  matched = associate.associateHit(rechit);
614  //std::cout << " after association size = " << matched.size() << std::endl;
615 
616  if(!matched.empty()){
617  //project simhit;
618  const GluedGeomDet* gluedDet = (const GluedGeomDet*)tracker.idToDet(rechit.geographicalId());
619  const StripGeomDetUnit* partnerstripdet =(StripGeomDetUnit*) gluedDet->stereoDet();
620  std::pair<LocalPoint,LocalVector> hitPair;
621 
622  //std::cout << " RECHIT position = " << position << std::endl;
623 
624  for(vector<PSimHit>::const_iterator m=matched.begin(); m<matched.end(); m++){
625  //project simhit;
626  hitPair= projectHit((*m),partnerstripdet,gluedDet->surface());
627  distx = fabs(rechitmatchedx[k] - hitPair.first.x());
628  disty = fabs(rechitmatchedy[k] - hitPair.first.y());
629  dist = sqrt(distx*distx+disty*disty);
630  // std::cout << " Simhit position x = " << hitPair.first.x()
631  // << " y = " << hitPair.first.y() << " dist = " << dist << std::endl;
632  if(dist<mindist){
633  mindist = dist;
634  closestPair = hitPair;
635  }
636  }
637  //std::cout << " Closest position x = " << closestPair.first.x()
638  // << " y = " << closestPair.first.y() << " dist = " << dist << std::endl;
639  rechitmatchedresx[k] = rechitmatchedx[k] - closestPair.first.x();
640  rechitmatchedresy[k] = rechitmatchedy[k] - closestPair.first.y();
641 
642  //chi2test compare rechit errors with the simhit position ( using null matrix for the simhit).
643  //Can spot problems in the geometry better than a simple residual. (thanks to BorisM)
644 
645  AlgebraicVector rhparameters = rechit.parameters();
646  LocalPoint sh = closestPair.first;
647  AlgebraicVector shparameters(2);
648  shparameters[0] = sh.x();
649  shparameters[1] = sh.y();
650  AlgebraicVector r(rhparameters - shparameters);
651  AlgebraicSymMatrix R = rechit.parametersError();
652  int ierr;
653  R.invert(ierr); // if (ierr != 0) throw exception;
654  double est = R.similarity(r);
655  // std::cout << " ====== Chi2 test matched ====== " << std::endl;
656  // std::cout << "RecHit param. = " << rhparameters << std::endl;
657  // std::cout << "RecHit errors = " << R << std::endl;
658  // std::cout << "SimHit param. = " << shparameters << std::endl;
659  // std::cout << " chi2 = " << est << std::endl;
660  chi2matched[k2] = est;
661  k2++;
662  }
663 
664  k++;
665  }
666  }
667 
668  //for each detid
669  if(numrechitrphi>0 || numrechitsas>0 || numrechitmatched){
670  if (detid.subdetId() == int(StripSubdetector::TIB)){
671  TIBDetId tibid(myid);
672  int Tibnumrechitrphi = numrechitrphi;
673  int Tibnumrechitsas = numrechitsas;
674  int Tibnumrechitmatched = numrechitmatched;
675 
676  int Tibnumrechitrphi2 = i2;
677  int Tibnumrechitsas2 = j2;
678  int Tibnumrechitmatched2 = k2;
679 
680  totTibnumrechitrphi +=numrechitrphi;
681  totTibnumrechitsas +=numrechitsas;
682  totTibnumrechitmatched +=numrechitmatched;
683 
684  int ilay = tibid.layer() - 1; //for histogram filling
685 
686  if(tibid.stereo()==0){
687  for(int k = 0; k<Tibnumrechitrphi; k++){
688  meNstpRphiTIB[ilay]->Fill(clusizrphi[k]);
689  meAdcRphiTIB[ilay]->Fill(cluchgrphi[k]);
690  mePosxRphiTIB[ilay]->Fill(rechitrphix[k]);
692  meResRphiTIB[ilay]->Fill(rechitrphires[k]);
695 
696  }
697 
698  for(int k = 0; k<Tibnumrechitrphi2; k++){
699  meChi2RphiTIB[ilay]->Fill(chi2rphi[k]);
700  }
701 
702  } else if(tibid.stereo()==1){
703  for(int kk = 0; kk < Tibnumrechitsas; kk++)
704  {
705  meNstpSasTIB[ilay]->Fill(clusizsas[kk]);
706  meAdcSasTIB[ilay]->Fill(cluchgsas[kk]);
707  mePosxSasTIB[ilay]->Fill(rechitsasx[kk]);
708  meErrxSasTIB[ilay]->Fill(sqrt(rechitsaserrx[kk]));
709  meResSasTIB[ilay]->Fill(rechitsasres[kk]);
711  mePullMFSasTIB[ilay]->Fill(rechitsaspullMF[kk]);
712  }
713  for(int l = 0; l<Tibnumrechitsas2; l++){
714  meChi2SasTIB[ilay]->Fill(chi2sas[l]);
715  }
716 
717  }
718  if(Tibnumrechitmatched>0){
719  for(int kkk = 0; kkk<Tibnumrechitmatched; kkk++)
720  {
721  mePosxMatchedTIB[ilay]->Fill(rechitmatchedx[kkk]);
722  mePosyMatchedTIB[ilay]->Fill(rechitmatchedy[kkk]);
727  }
728  for(int l = 0; l<Tibnumrechitmatched2; l++){
730  }
731 
732  }
733  }
734 
735 
736  if (detid.subdetId() == int(StripSubdetector::TOB)){
737  TOBDetId tobid(myid);
738  int Tobnumrechitrphi = numrechitrphi;
739  int Tobnumrechitsas = numrechitsas;
740  int Tobnumrechitmatched = numrechitmatched;
741  totTobnumrechitrphi +=numrechitrphi;
742  totTobnumrechitsas +=numrechitsas;
743  totTobnumrechitmatched +=numrechitmatched;
744 
745  int Tobnumrechitrphi2 = i2;
746  int Tobnumrechitsas2 = j2;
747  int Tobnumrechitmatched2 = k2;
748 
749  int ilay = tobid.layer() - 1; //for histogram filling
750 
751  if(tobid.stereo()==0){
752  for(int k = 0; k<Tobnumrechitrphi; k++){
753  meNstpRphiTOB[ilay]->Fill(clusizrphi[k]);
754  meAdcRphiTOB[ilay]->Fill(cluchgrphi[k]);
755  mePosxRphiTOB[ilay]->Fill(rechitrphix[k]);
757  meResRphiTOB[ilay]->Fill(rechitrphires[k]);
760  }
761  for(int l = 0; l<Tobnumrechitrphi2; l++){
762  meChi2RphiTOB[ilay]->Fill(chi2rphi[l]);
763  }
764  } else if(tobid.stereo()==1){
765  for(int kk = 0; kk < Tobnumrechitsas; kk++)
766  {
767  meNstpSasTOB[ilay]->Fill(clusizsas[kk]);
768  meAdcSasTOB[ilay]->Fill(cluchgsas[kk]);
769  mePosxSasTOB[ilay]->Fill(rechitsasx[kk]);
770  meErrxSasTOB[ilay]->Fill(sqrt(rechitsaserrx[kk]));
771  meResSasTOB[ilay]->Fill(rechitsasres[kk]);
773  mePullMFSasTOB[ilay]->Fill(rechitsaspullMF[kk]);
774  }
775  for(int l = 0; l<Tobnumrechitsas2; l++){
776  meChi2SasTOB[ilay]->Fill(chi2sas[l]);
777  }
778 
779  }
780  if(Tobnumrechitmatched>0){
781  for(int kkk = 0; kkk<Tobnumrechitmatched; kkk++)
782  {
783  mePosxMatchedTOB[ilay]->Fill(rechitmatchedx[kkk]);
784  mePosyMatchedTOB[ilay]->Fill(rechitmatchedy[kkk]);
789  }
790  for(int l = 0; l<Tobnumrechitmatched2; l++){
792  }
793 
794  }
795  }
796  if (detid.subdetId() == int(StripSubdetector::TID)){
797  TIDDetId tidid(myid);
798  int Tidnumrechitrphi = numrechitrphi;
799  int Tidnumrechitsas = numrechitsas;
800  int Tidnumrechitmatched = numrechitmatched;
801  totTidnumrechitrphi +=numrechitrphi;
802  totTidnumrechitsas +=numrechitsas;
803  totTidnumrechitmatched +=numrechitmatched;
804 
805  int Tidnumrechitrphi2 = i2;
806  int Tidnumrechitsas2 = j2;
807  int Tidnumrechitmatched2 = k2;
808 
809  int ilay = tidid.ring() - 1; //for histogram filling
810 
811  if(tidid.stereo()==0){
812  for(int k = 0; k<Tidnumrechitrphi; k++){
813  meNstpRphiTID[ilay]->Fill(clusizrphi[k]);
814  meAdcRphiTID[ilay]->Fill(cluchgrphi[k]);
815  mePosxRphiTID[ilay]->Fill(rechitrphix[k]);
817  meResRphiTID[ilay]->Fill(rechitrphires[k]);
820  }
821  for(int l = 0; l<Tidnumrechitrphi2; l++){
822  meChi2RphiTID[ilay]->Fill(chi2rphi[l]);
823  }
824 
825  } else if(tidid.stereo()==1){
826  for(int kk = 0; kk < Tidnumrechitsas; kk++)
827  {
828  meNstpSasTID[ilay]->Fill(clusizsas[kk]);
829  meAdcSasTID[ilay]->Fill(cluchgsas[kk]);
830  mePosxSasTID[ilay]->Fill(rechitsasx[kk]);
831  meErrxSasTID[ilay]->Fill(sqrt(rechitsaserrx[kk]));
832  meResSasTID[ilay]->Fill(rechitsasres[kk]);
834  mePullMFSasTID[ilay]->Fill(rechitsaspullMF[kk]);
835  }
836  for(int l = 0; l<Tidnumrechitsas2; l++){
837  meChi2SasTID[ilay]->Fill(chi2sas[l]);
838  }
839 
840  }
841  if(Tidnumrechitmatched>0){
842  for(int kkk = 0; kkk<Tidnumrechitmatched; kkk++)
843  {
844  mePosxMatchedTID[ilay]->Fill(rechitmatchedx[kkk]);
845  mePosyMatchedTID[ilay]->Fill(rechitmatchedy[kkk]);
850  }
851  for(int l = 0; l<Tidnumrechitmatched2; l++){
853  }
854 
855  }
856  }
857  if (detid.subdetId() == int(StripSubdetector::TEC)){
858  TECDetId tecid(myid);
859  int Tecnumrechitrphi = numrechitrphi;
860  int Tecnumrechitsas = numrechitsas;
861  int Tecnumrechitmatched = numrechitmatched;
862  totTecnumrechitrphi +=numrechitrphi;
863  totTecnumrechitsas +=numrechitsas;
864  totTecnumrechitmatched +=numrechitmatched;
865 
866  int Tecnumrechitrphi2 = i2;
867  int Tecnumrechitsas2 = j2;
868  int Tecnumrechitmatched2 = k2;
869 
870  int ilay = tecid.ring() - 1; //for histogram filling
871 
872  if(tecid.stereo()==0){
873  for(int k = 0; k<Tecnumrechitrphi; k++){
874  meNstpRphiTEC[ilay]->Fill(clusizrphi[k]);
875  meAdcRphiTEC[ilay]->Fill(cluchgrphi[k]);
876  mePosxRphiTEC[ilay]->Fill(rechitrphix[k]);
878  meResRphiTEC[ilay]->Fill(rechitrphires[k]);
881  }
882  for(int l = 0; l<Tecnumrechitrphi2; l++){
883  meChi2RphiTEC[ilay]->Fill(chi2rphi[l]);
884  }
885 
886  } else if(tecid.stereo()==1){
887  for(int kk = 0; kk < Tecnumrechitsas; kk++)
888  {
889  meNstpSasTEC[ilay]->Fill(clusizsas[kk]);
890  meAdcSasTEC[ilay]->Fill(cluchgsas[kk]);
891  mePosxSasTEC[ilay]->Fill(rechitsasx[kk]);
892  meErrxSasTEC[ilay]->Fill(sqrt(rechitsaserrx[kk]));
893  meResSasTEC[ilay]->Fill(rechitsasres[kk]);
895  mePullMFSasTEC[ilay]->Fill(rechitsaspullMF[kk]);
896  }
897  for(int l = 0; l<Tecnumrechitsas2; l++){
898  meChi2SasTEC[ilay]->Fill(chi2sas[l]);
899  }
900 
901  }
902  if(Tecnumrechitmatched>0){
903  for(int kkk = 0; kkk<Tecnumrechitmatched; kkk++)
904  {
905  mePosxMatchedTEC[ilay]->Fill(rechitmatchedx[kkk]);
906  mePosyMatchedTEC[ilay]->Fill(rechitmatchedy[kkk]);
911  }
912  for(int l = 0; l<Tecnumrechitmatched2; l++){
914  }
915 
916  }
917  }
918 
919  }
920  }
921 
922  //now fill the cumulative histograms of the hits
923 
924  meNumRphiTIB->Fill(totTibnumrechitrphi);
925  meNumSasTIB->Fill(totTibnumrechitsas);
926  meNumMatchedTIB->Fill(totTibnumrechitmatched);
927  meNumRphiTOB->Fill(totTobnumrechitrphi);
928  meNumSasTOB->Fill(totTobnumrechitsas);
929  meNumMatchedTOB->Fill(totTobnumrechitmatched);
930  meNumRphiTID->Fill(totTidnumrechitrphi);
931  meNumSasTID->Fill(totTidnumrechitsas);
932  meNumMatchedTID->Fill(totTidnumrechitmatched);
933  meNumRphiTEC->Fill(totTecnumrechitrphi);
934  meNumSasTEC->Fill(totTecnumrechitsas);
935  meNumMatchedTEC->Fill(totTecnumrechitmatched);
936 
937  meNumTotRphi->Fill(totrechitrphi);
938  meNumTotSas->Fill(totrechitsas);
939  meNumTotMatched->Fill(totrechitmatched);
940 
941 
942 }
MonitorElement * meNstpRphiTEC[7]
RunNumber_t run() const
Definition: EventID.h:42
MonitorElement * meNumTotRphi
virtual AlgebraicSymMatrix parametersError() const
MonitorElement * meNstpSasTEC[5]
MonitorElement * meResRphiTEC[7]
EventNumber_t event() const
Definition: EventID.h:44
MonitorElement * meChi2RphiTID[3]
int i
Definition: DBlmapReader.cc:9
float xx() const
Definition: LocalError.h:19
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
MonitorElement * mePullLFSasTIB[4]
MonitorElement * meErrxSasTEC[5]
virtual LocalError localPositionError() const
MonitorElement * meAdcRphiTIB[4]
MonitorElement * meErrxMatchedTIB[2]
MonitorElement * mePullLFRphiTID[3]
MonitorElement * meChi2RphiTEC[7]
float rechitmatchedresy[MAXHIT]
MonitorElement * mePosyMatchedTEC[5]
MonitorElement * meNumRphiTIB
MonitorElement * meErrxMatchedTOB[2]
MonitorElement * mePosxRphiTID[3]
MonitorElement * meChi2MatchedTID[2]
MonitorElement * meErryMatchedTID[2]
std::vector< PSimHit > matched
MonitorElement * meNstpRphiTIB[4]
MonitorElement * meResyMatchedTID[2]
MonitorElement * meNumMatchedTOB
float rechitmatchedresx[MAXHIT]
MonitorElement * meNumSasTOB
MonitorElement * meErrxRphiTIB[4]
float rechitmatchederrxx[MAXHIT]
T y() const
Definition: PV3DBase.h:57
MonitorElement * meResxMatchedTEC[5]
MonitorElement * meNstpSasTOB[2]
MonitorElement * mePullLFSasTEC[5]
MonitorElement * meResSasTID[2]
MonitorElement * meNumMatchedTID
MonitorElement * mePullMFRphiTOB[6]
MonitorElement * meAdcRphiTEC[7]
MonitorElement * meChi2MatchedTIB[2]
MonitorElement * meNumSasTIB
MonitorElement * meResxMatchedTID[2]
MonitorElement * meNstpRphiTID[3]
MonitorElement * mePosxRphiTOB[6]
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
virtual LocalPoint localPosition() const
MonitorElement * mePullLFRphiTIB[4]
MonitorElement * meNumRphiTID
void Fill(long long x)
float rechitmatchederryy[MAXHIT]
MonitorElement * meErrxRphiTEC[7]
float rechitmatchederrxy[MAXHIT]
MonitorElement * meChi2RphiTOB[6]
edm::InputTag matchedRecHits_
float xy() const
Definition: LocalError.h:20
MonitorElement * meResSasTOB[2]
MonitorElement * mePullMFRphiTID[3]
MonitorElement * mePosxRphiTEC[7]
MonitorElement * meResRphiTOB[6]
MonitorElement * mePosxSasTID[2]
MonitorElement * meNumMatchedTIB
float rechitsaspullMF[MAXHIT]
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
float yy() const
Definition: LocalError.h:21
Local3DPoint localPosition() const
Definition: PSimHit.h:44
MonitorElement * meNumTotMatched
MonitorElement * meErryMatchedTEC[5]
MonitorElement * mePullMFSasTID[2]
MonitorElement * meResyMatchedTOB[2]
MonitorElement * mePullMFRphiTEC[7]
T sqrt(T t)
Definition: SSEVec.h:28
T z() const
Definition: PV3DBase.h:58
MonitorElement * meErrxSasTIB[4]
virtual const Topology & topology() const
Returns a reference to the strip proxy topology.
MonitorElement * meChi2SasTOB[2]
MonitorElement * meAdcRphiTOB[6]
float uu() const
MonitorElement * meChi2SasTEC[5]
int j
Definition: DBlmapReader.cc:9
MonitorElement * meErrxSasTOB[2]
MonitorElement * mePosxMatchedTOB[2]
MonitorElement * mePosyMatchedTIB[2]
float rechitmatchedz[MAXHIT]
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
MonitorElement * meResRphiTIB[4]
float rechitmatchedx[MAXHIT]
MonitorElement * meChi2RphiTIB[4]
MonitorElement * meErrxMatchedTEC[5]
MonitorElement * meChi2SasTIB[4]
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
MonitorElement * mePosyMatchedTID[2]
MonitorElement * mePullLFRphiTEC[7]
std::pair< typename T::DetSet::const_iterator, typename T::DetSet::const_iterator > getRange(const T &detset, const DetId &id)
MonitorElement * meAdcSasTIB[4]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:359
MonitorElement * mePosxSasTIB[4]
MonitorElement * meChi2MatchedTOB[2]
int k[5][pyjets_maxn]
MonitorElement * meResSasTEC[5]
MonitorElement * mePosxRphiTIB[4]
static const int MAXHIT
MonitorElement * meNstpSasTIB[4]
MonitorElement * mePullLFSasTOB[2]
Definition: DetId.h:20
CLHEP::HepVector AlgebraicVector
MonitorElement * meErrxRphiTOB[6]
MonitorElement * meResyMatchedTEC[5]
MonitorElement * meErrxRphiTID[3]
MonitorElement * meAdcSasTID[2]
MonitorElement * meResxMatchedTIB[2]
MonitorElement * meErryMatchedTIB[2]
MonitorElement * meNumRphiTEC
MonitorElement * mePosxSasTOB[2]
MonitorElement * meNstpSasTID[2]
virtual AlgebraicVector parameters() const
MonitorElement * mePullLFSasTID[2]
MonitorElement * meAdcSasTEC[5]
MonitorElement * mePullLFRphiTOB[6]
ClusterRef const & cluster() const
MonitorElement * mePullMFSasTEC[5]
MonitorElement * meNumTotSas
MonitorElement * meNumSasTEC
float rechitrphipullMF[MAXHIT]
std::pair< LocalPoint, LocalVector > projectHit(const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
float rechitrphierrx[MAXHIT]
MonitorElement * meErryMatchedTOB[2]
MonitorElement * meChi2MatchedTEC[5]
MonitorElement * mePosxMatchedTEC[5]
MonitorElement * mePosxSasTEC[5]
float rechitmatchedy[MAXHIT]
edm::ParameterSet conf_
edm::EventID id() const
Definition: EventBase.h:56
edm::InputTag stereoRecHits_
MonitorElement * mePullMFSasTOB[2]
MonitorElement * mePullMFRphiTIB[4]
MonitorElement * mePosxMatchedTID[2]
CLHEP::HepSymMatrix AlgebraicSymMatrix
MonitorElement * meResxMatchedTOB[2]
MonitorElement * meResSasTIB[4]
MonitorElement * mePullMFSasTIB[4]
MonitorElement * meErrxMatchedTID[2]
DetId geographicalId() const
MonitorElement * meNumSasTID
MonitorElement * meResyMatchedTIB[2]
MonitorElement * meAdcRphiTID[3]
MonitorElement * meNumRphiTOB
T x() const
Definition: PV2DBase.h:39
MonitorElement * meChi2SasTID[2]
T x() const
Definition: PV3DBase.h:56
MonitorElement * meNumMatchedTEC
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
MonitorElement * meErrxSasTID[2]
MonitorElement * mePosxMatchedTIB[2]
const GeomDetUnit * stereoDet() const
Definition: GluedGeomDet.h:21
MonitorElement * meResRphiTID[3]
MonitorElement * meNstpRphiTOB[6]
MonitorElement * mePosyMatchedTOB[2]
MonitorElement * meAdcSasTOB[2]
void SiStripRecHitsValid::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 323 of file SiStripRecHitsValid.cc.

323  {
324 
325 }
void SiStripRecHitsValid::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 327 of file SiStripRecHitsValid.cc.

References dbe_, outputFile_, and DQMStore::save().

327  {
328  if ( outputFile_.size() != 0 && dbe_ ) dbe_->save(outputFile_);
329 }
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:1883
std::pair< LocalPoint, LocalVector > SiStripRecHitsValid::projectHit ( const PSimHit hit,
const StripGeomDetUnit stripDet,
const BoundPlane plane 
)
private

Definition at line 946 of file SiStripRecHitsValid.cc.

References funct::cos(), dir, PSimHit::localDirection(), PSimHit::localPosition(), funct::sin(), StripGeomDetUnit::specificTopology(), StripTopology::strip(), StripTopology::stripAngle(), GeomDet::surface(), Surface::toGlobal(), GloballyPositioned< T >::toLocal(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by analyze().

948 {
949  // const StripGeomDetUnit* stripDet = dynamic_cast<const StripGeomDetUnit*>(hit.det());
950  //if (stripDet == 0) throw MeasurementDetException("HitMatcher hit is not on StripGeomDetUnit");
951 
952  const StripTopology& topol = stripDet->specificTopology();
953  GlobalPoint globalpos= stripDet->surface().toGlobal(hit.localPosition());
954  LocalPoint localHit = plane.toLocal(globalpos);
955  //track direction
956  LocalVector locdir=hit.localDirection();
957  //rotate track in new frame
958 
959  GlobalVector globaldir= stripDet->surface().toGlobal(locdir);
960  LocalVector dir=plane.toLocal(globaldir);
961  float scale = -localHit.z() / dir.z();
962 
963  LocalPoint projectedPos = localHit + scale*dir;
964 
965  // std::cout << "projectedPos " << projectedPos << std::endl;
966 
967  float selfAngle = topol.stripAngle( topol.strip( hit.localPosition()));
968 
969  LocalVector stripDir( sin(selfAngle), cos(selfAngle), 0); // vector along strip in hit frame
970 
971  LocalVector localStripDir( plane.toLocal(stripDet->surface().toGlobal( stripDir)));
972 
973  return std::pair<LocalPoint,LocalVector>( projectedPos, localStripDir);
974 }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
virtual float stripAngle(float strip) const =0
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
virtual float strip(const LocalPoint &) const =0
Local3DPoint localPosition() const
Definition: PSimHit.h:44
LocalPoint toLocal(const GlobalPoint &gp) const
T z() const
Definition: PV3DBase.h:58
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
LocalVector localDirection() const
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility.
Definition: PSimHit.h:52
dbl *** dir
Definition: mlp_gen.cc:35
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37

Member Data Documentation

float SiStripRecHitsValid::chi2matched[MAXHIT]
private

Definition at line 210 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::chi2rphi[MAXHIT]
private

Definition at line 208 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::chi2sas[MAXHIT]
private

Definition at line 209 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::cluchgrphi[MAXHIT]
private

Definition at line 198 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::cluchgsas[MAXHIT]
private

Definition at line 207 of file SiStripRecHitsValid.h.

Referenced by analyze().

int SiStripRecHitsValid::clusizrphi[MAXHIT]
private

Definition at line 197 of file SiStripRecHitsValid.h.

Referenced by analyze().

int SiStripRecHitsValid::clusizsas[MAXHIT]
private

Definition at line 206 of file SiStripRecHitsValid.h.

Referenced by analyze().

edm::ParameterSet SiStripRecHitsValid::conf_
private

Definition at line 186 of file SiStripRecHitsValid.h.

Referenced by analyze().

DQMStore* SiStripRecHitsValid::dbe_
private

Definition at line 67 of file SiStripRecHitsValid.h.

Referenced by endJob(), and SiStripRecHitsValid().

std::vector<PSimHit> SiStripRecHitsValid::matched
private

Definition at line 183 of file SiStripRecHitsValid.h.

Referenced by analyze().

edm::InputTag SiStripRecHitsValid::matchedRecHits_
private

Definition at line 223 of file SiStripRecHitsValid.h.

Referenced by analyze().

const int SiStripRecHitsValid::MAXHIT = 1000
staticprivate

Definition at line 189 of file SiStripRecHitsValid.h.

Referenced by analyze().

MonitorElement* SiStripRecHitsValid::meAdcRphiTEC[7]
private

Definition at line 160 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcRphiTIB[4]
private

Definition at line 87 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcRphiTID[3]
private

Definition at line 135 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcRphiTOB[6]
private

Definition at line 111 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcSasTEC[5]
private

Definition at line 168 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcSasTIB[4]
private

Definition at line 95 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcSasTID[2]
private

Definition at line 143 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meAdcSasTOB[2]
private

Definition at line 119 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2MatchedTEC[5]
private

Definition at line 181 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2MatchedTIB[2]
private

Definition at line 108 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2MatchedTID[2]
private

Definition at line 157 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2MatchedTOB[2]
private

Definition at line 132 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2RphiTEC[7]
private

Definition at line 166 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2RphiTIB[4]
private

Definition at line 93 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2RphiTID[3]
private

Definition at line 141 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2RphiTOB[6]
private

Definition at line 117 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2SasTEC[5]
private

Definition at line 174 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2SasTIB[4]
private

Definition at line 101 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2SasTID[2]
private

Definition at line 149 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meChi2SasTOB[2]
private

Definition at line 125 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxMatchedTEC[5]
private

Definition at line 177 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxMatchedTIB[2]
private

Definition at line 104 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxMatchedTID[2]
private

Definition at line 153 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxMatchedTOB[2]
private

Definition at line 128 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxRphiTEC[7]
private

Definition at line 162 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxRphiTIB[4]
private

Definition at line 89 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxRphiTID[3]
private

Definition at line 137 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxRphiTOB[6]
private

Definition at line 113 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxSasTEC[5]
private

Definition at line 170 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxSasTIB[4]
private

Definition at line 97 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxSasTID[2]
private

Definition at line 145 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErrxSasTOB[2]
private

Definition at line 121 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErryMatchedTEC[5]
private

Definition at line 178 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErryMatchedTIB[2]
private

Definition at line 105 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErryMatchedTID[2]
private

Definition at line 154 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meErryMatchedTOB[2]
private

Definition at line 129 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpRphiTEC[7]
private

Definition at line 159 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpRphiTIB[4]
private

Definition at line 86 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpRphiTID[3]
private

Definition at line 134 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpRphiTOB[6]
private

Definition at line 110 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpSasTEC[5]
private

Definition at line 167 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpSasTIB[4]
private

Definition at line 94 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpSasTID[2]
private

Definition at line 142 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNstpSasTOB[2]
private

Definition at line 118 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumMatchedTEC
private

Definition at line 83 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumMatchedTIB
private

Definition at line 74 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumMatchedTID
private

Definition at line 80 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumMatchedTOB
private

Definition at line 77 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumRphiTEC
private

Definition at line 81 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumRphiTIB
private

Definition at line 72 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumRphiTID
private

Definition at line 78 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumRphiTOB
private

Definition at line 75 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumSasTEC
private

Definition at line 82 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumSasTIB
private

Definition at line 73 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumSasTID
private

Definition at line 79 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumSasTOB
private

Definition at line 76 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumTotMatched
private

Definition at line 71 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumTotRphi
private

Definition at line 69 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meNumTotSas
private

Definition at line 70 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxMatchedTEC[5]
private

Definition at line 175 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxMatchedTIB[2]
private

Definition at line 102 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxMatchedTID[2]
private

Definition at line 151 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxMatchedTOB[2]
private

Definition at line 126 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxRphiTEC[7]
private

Definition at line 161 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxRphiTIB[4]
private

Definition at line 88 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxRphiTID[3]
private

Definition at line 136 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxRphiTOB[6]
private

Definition at line 112 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxSasTEC[5]
private

Definition at line 169 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxSasTIB[4]
private

Definition at line 96 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxSasTID[2]
private

Definition at line 144 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosxSasTOB[2]
private

Definition at line 120 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosyMatchedTEC[5]
private

Definition at line 176 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosyMatchedTIB[2]
private

Definition at line 103 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosyMatchedTID[2]
private

Definition at line 152 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePosyMatchedTOB[2]
private

Definition at line 127 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFRphiTEC[7]
private

Definition at line 164 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFRphiTIB[4]
private

Definition at line 91 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFRphiTID[3]
private

Definition at line 139 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFRphiTOB[6]
private

Definition at line 115 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFSasTEC[5]
private

Definition at line 172 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFSasTIB[4]
private

Definition at line 99 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFSasTID[2]
private

Definition at line 147 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullLFSasTOB[2]
private

Definition at line 123 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFRphiTEC[7]
private

Definition at line 165 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFRphiTIB[4]
private

Definition at line 92 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFRphiTID[3]
private

Definition at line 140 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFRphiTOB[6]
private

Definition at line 116 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFSasTEC[5]
private

Definition at line 173 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFSasTIB[4]
private

Definition at line 100 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFSasTID[2]
private

Definition at line 148 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::mePullMFSasTOB[2]
private

Definition at line 124 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResRphiTEC[7]
private

Definition at line 163 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResRphiTIB[4]
private

Definition at line 90 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResRphiTID[3]
private

Definition at line 138 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResRphiTOB[6]
private

Definition at line 114 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResSasTEC[5]
private

Definition at line 171 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResSasTIB[4]
private

Definition at line 98 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResSasTID[2]
private

Definition at line 146 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResSasTOB[2]
private

Definition at line 122 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResxMatchedTEC[5]
private

Definition at line 179 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResxMatchedTIB[2]
private

Definition at line 106 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResxMatchedTID[2]
private

Definition at line 155 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResxMatchedTOB[2]
private

Definition at line 130 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResyMatchedTEC[5]
private

Definition at line 180 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResyMatchedTIB[2]
private

Definition at line 107 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResyMatchedTID[2]
private

Definition at line 156 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

MonitorElement* SiStripRecHitsValid::meResyMatchedTOB[2]
private

Definition at line 131 of file SiStripRecHitsValid.h.

Referenced by analyze(), and SiStripRecHitsValid().

std::string SiStripRecHitsValid::outputFile_
private

Definition at line 68 of file SiStripRecHitsValid.h.

Referenced by endJob(), and SiStripRecHitsValid().

float SiStripRecHitsValid::rechitmatchedchi2[MAXHIT]
private

Definition at line 220 of file SiStripRecHitsValid.h.

float SiStripRecHitsValid::rechitmatchederrxx[MAXHIT]
private

Definition at line 214 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchederrxy[MAXHIT]
private

Definition at line 215 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchederryy[MAXHIT]
private

Definition at line 216 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchedphi[MAXHIT]
private

Definition at line 217 of file SiStripRecHitsValid.h.

float SiStripRecHitsValid::rechitmatchedresx[MAXHIT]
private

Definition at line 218 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchedresy[MAXHIT]
private

Definition at line 219 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchedx[MAXHIT]
private

Definition at line 211 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchedy[MAXHIT]
private

Definition at line 212 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitmatchedz[MAXHIT]
private

Definition at line 213 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphierrx[MAXHIT]
private

Definition at line 191 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphiphi[MAXHIT]
private

Definition at line 194 of file SiStripRecHitsValid.h.

float SiStripRecHitsValid::rechitrphipullMF[MAXHIT]
private

Definition at line 196 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphires[MAXHIT]
private

Definition at line 195 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphix[MAXHIT]
private

Definition at line 190 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphiy[MAXHIT]
private

Definition at line 192 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitrphiz[MAXHIT]
private

Definition at line 193 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsaserrx[MAXHIT]
private

Definition at line 200 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsasphi[MAXHIT]
private

Definition at line 203 of file SiStripRecHitsValid.h.

float SiStripRecHitsValid::rechitsaspullMF[MAXHIT]
private

Definition at line 205 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsasres[MAXHIT]
private

Definition at line 204 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsasx[MAXHIT]
private

Definition at line 199 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsasy[MAXHIT]
private

Definition at line 201 of file SiStripRecHitsValid.h.

Referenced by analyze().

float SiStripRecHitsValid::rechitsasz[MAXHIT]
private

Definition at line 202 of file SiStripRecHitsValid.h.

Referenced by analyze().

edm::InputTag SiStripRecHitsValid::rphiRecHits_
private

Definition at line 223 of file SiStripRecHitsValid.h.

Referenced by analyze().

edm::InputTag SiStripRecHitsValid::stereoRecHits_
private

Definition at line 223 of file SiStripRecHitsValid.h.

Referenced by analyze().