forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
221 changed files
with
21,740 additions
and
21,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 6 additions & 13 deletions
19
Alignment/APEEstimation/interface/ReducedTrackerTreeVariables.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
#ifndef ReducedTrackerTreeVariables_h | ||
#define ReducedTrackerTreeVariables_h | ||
|
||
|
||
// For ROOT types with '_t': | ||
#include <Rtypes.h> | ||
|
||
|
||
|
||
// container to hold those static module parameters needed for correct xPrime-Residual calculation (and others), determined with ideal geometry | ||
struct ReducedTrackerTreeVariables{ | ||
|
||
ReducedTrackerTreeVariables(){this->clear();} | ||
|
||
void clear(){ | ||
struct ReducedTrackerTreeVariables { | ||
ReducedTrackerTreeVariables() { this->clear(); } | ||
|
||
void clear() { | ||
subdetId = 0; | ||
nStrips = 0; | ||
uDirection = vDirection = wDirection = 0; | ||
} | ||
|
||
UInt_t subdetId, | ||
nStrips; | ||
|
||
UInt_t subdetId, nStrips; | ||
Int_t uDirection, vDirection, wDirection; | ||
}; | ||
|
||
|
||
|
||
#endif |
106 changes: 60 additions & 46 deletions
106
Alignment/APEEstimation/interface/TrackerDetectorStruct.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,71 @@ | ||
#ifndef Alignment_APEEstimation_TrackerDetectorStruct_h | ||
#define Alignment_APEEstimation_TrackerDetectorStruct_h | ||
|
||
|
||
#include "TH1.h" | ||
#include "TH2.h" | ||
#include "TProfile.h" | ||
|
||
struct TrackerDetectorStruct{ | ||
|
||
TrackerDetectorStruct(): TrkSize(nullptr), TrkSizeGood(nullptr), | ||
HitsSize(nullptr), HitsValid(nullptr), HitsInvalid(nullptr), Hits2D(nullptr), | ||
HitsGood(nullptr), LayersMissed(nullptr), | ||
HitsPixel(nullptr), HitsStrip(nullptr), | ||
Charge(nullptr), | ||
Chi2(nullptr), Ndof(nullptr), NorChi2(nullptr), Prob(nullptr), | ||
Eta(nullptr), EtaErr(nullptr), EtaSig(nullptr), Theta(nullptr), | ||
Phi(nullptr), PhiErr(nullptr), PhiSig(nullptr), | ||
D0Beamspot(nullptr), D0BeamspotErr(nullptr), D0BeamspotSig(nullptr), | ||
Dz(nullptr), DzErr(nullptr), DzSig(nullptr), | ||
P(nullptr), Pt(nullptr), PtErr(nullptr), PtSig(nullptr), | ||
MeanAngle(nullptr), | ||
HitsGoodVsHitsValid(nullptr), MeanAngleVsHits(nullptr), | ||
HitsPixelVsEta(nullptr), HitsPixelVsTheta(nullptr), | ||
HitsStripVsEta(nullptr), HitsStripVsTheta(nullptr), | ||
PtVsEta(nullptr), PtVsTheta(nullptr), | ||
PHitsGoodVsHitsValid(nullptr), PMeanAngleVsHits(nullptr), | ||
PHitsPixelVsEta(nullptr), PHitsPixelVsTheta(nullptr), | ||
PHitsStripVsEta(nullptr), PHitsStripVsTheta(nullptr), | ||
PPtVsEta(nullptr), PPtVsTheta(nullptr){} | ||
|
||
TH1 *TrkSize, *TrkSizeGood, | ||
*HitsSize, *HitsValid, *HitsInvalid, *Hits2D, | ||
*HitsGood, *LayersMissed, | ||
*HitsPixel, *HitsStrip, | ||
*Charge, | ||
*Chi2, *Ndof, *NorChi2, *Prob, | ||
*Eta, *EtaErr, *EtaSig, *Theta, | ||
*Phi,*PhiErr, *PhiSig, | ||
*D0Beamspot, *D0BeamspotErr, *D0BeamspotSig, | ||
*Dz, *DzErr, *DzSig, | ||
*P, *Pt, *PtErr, *PtSig, | ||
*MeanAngle; | ||
|
||
TH2 *HitsGoodVsHitsValid, *MeanAngleVsHits, | ||
*HitsPixelVsEta, *HitsPixelVsTheta, | ||
*HitsStripVsEta, *HitsStripVsTheta, | ||
struct TrackerDetectorStruct { | ||
TrackerDetectorStruct() | ||
: TrkSize(nullptr), | ||
TrkSizeGood(nullptr), | ||
HitsSize(nullptr), | ||
HitsValid(nullptr), | ||
HitsInvalid(nullptr), | ||
Hits2D(nullptr), | ||
HitsGood(nullptr), | ||
LayersMissed(nullptr), | ||
HitsPixel(nullptr), | ||
HitsStrip(nullptr), | ||
Charge(nullptr), | ||
Chi2(nullptr), | ||
Ndof(nullptr), | ||
NorChi2(nullptr), | ||
Prob(nullptr), | ||
Eta(nullptr), | ||
EtaErr(nullptr), | ||
EtaSig(nullptr), | ||
Theta(nullptr), | ||
Phi(nullptr), | ||
PhiErr(nullptr), | ||
PhiSig(nullptr), | ||
D0Beamspot(nullptr), | ||
D0BeamspotErr(nullptr), | ||
D0BeamspotSig(nullptr), | ||
Dz(nullptr), | ||
DzErr(nullptr), | ||
DzSig(nullptr), | ||
P(nullptr), | ||
Pt(nullptr), | ||
PtErr(nullptr), | ||
PtSig(nullptr), | ||
MeanAngle(nullptr), | ||
HitsGoodVsHitsValid(nullptr), | ||
MeanAngleVsHits(nullptr), | ||
HitsPixelVsEta(nullptr), | ||
HitsPixelVsTheta(nullptr), | ||
HitsStripVsEta(nullptr), | ||
HitsStripVsTheta(nullptr), | ||
PtVsEta(nullptr), | ||
PtVsTheta(nullptr), | ||
PHitsGoodVsHitsValid(nullptr), | ||
PMeanAngleVsHits(nullptr), | ||
PHitsPixelVsEta(nullptr), | ||
PHitsPixelVsTheta(nullptr), | ||
PHitsStripVsEta(nullptr), | ||
PHitsStripVsTheta(nullptr), | ||
PPtVsEta(nullptr), | ||
PPtVsTheta(nullptr) {} | ||
|
||
TH1 *TrkSize, *TrkSizeGood, *HitsSize, *HitsValid, *HitsInvalid, *Hits2D, *HitsGood, *LayersMissed, *HitsPixel, | ||
*HitsStrip, *Charge, *Chi2, *Ndof, *NorChi2, *Prob, *Eta, *EtaErr, *EtaSig, *Theta, *Phi, *PhiErr, *PhiSig, | ||
*D0Beamspot, *D0BeamspotErr, *D0BeamspotSig, *Dz, *DzErr, *DzSig, *P, *Pt, *PtErr, *PtSig, *MeanAngle; | ||
|
||
TH2 *HitsGoodVsHitsValid, *MeanAngleVsHits, *HitsPixelVsEta, *HitsPixelVsTheta, *HitsStripVsEta, *HitsStripVsTheta, | ||
*PtVsEta, *PtVsTheta; | ||
|
||
TProfile *PHitsGoodVsHitsValid, *PMeanAngleVsHits, | ||
*PHitsPixelVsEta, *PHitsPixelVsTheta, | ||
*PHitsStripVsEta, *PHitsStripVsTheta, | ||
*PPtVsEta, *PPtVsTheta; | ||
|
||
|
||
TProfile *PHitsGoodVsHitsValid, *PMeanAngleVsHits, *PHitsPixelVsEta, *PHitsPixelVsTheta, *PHitsStripVsEta, | ||
*PHitsStripVsTheta, *PPtVsEta, *PPtVsTheta; | ||
}; | ||
|
||
#endif |
Oops, something went wrong.