Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:41

0001 #include "RecoParticleFlow/PFTracking/interface/PFGeometry.h"
0002 #include "DataFormats/GeometrySurface/interface/BoundCylinder.h"
0003 #include "DataFormats/GeometrySurface/interface/BoundDisk.h"
0004 #include "DataFormats/GeometrySurface/interface/SimpleCylinderBounds.h"
0005 #include "DataFormats/GeometrySurface/interface/SimpleDiskBounds.h"
0006 
0007 PFGeometry::PFGeometry() {
0008   if (innerRadius_.empty()) {
0009     // All distances are in cm
0010     // BeamPipe
0011     innerRadius_.push_back(2.5);
0012     outerRadius_.push_back(2.5);
0013     innerZ_.push_back(0.);
0014     outerZ_.push_back(500.);
0015     // PS1
0016     innerRadius_.push_back(45.0);
0017     outerRadius_.push_back(125.0);
0018     innerZ_.push_back(303.16);
0019     outerZ_.push_back(303.16);
0020     // PS2
0021     innerRadius_.push_back(45.0);
0022     outerRadius_.push_back(125.0);
0023     innerZ_.push_back(307.13);
0024     outerZ_.push_back(307.13);
0025     // ECALBarrel
0026     innerRadius_.push_back(129.0);
0027     outerRadius_.push_back(175.0);
0028     innerZ_.push_back(0.);
0029     outerZ_.push_back(304.5);
0030     // ECALEndcap
0031     innerRadius_.push_back(31.6);
0032     outerRadius_.push_back(171.1);
0033     innerZ_.push_back(317.0);
0034     outerZ_.push_back(388.0);
0035     // HCALBarrel
0036     innerRadius_.push_back(183.0);
0037     outerRadius_.push_back(285.0);
0038     innerZ_.push_back(0.);
0039     outerZ_.push_back(433.2);
0040     // HCALEndcap
0041     innerRadius_.push_back(31.6);   // !!! Do not use : Probably wrong !!!
0042     outerRadius_.push_back(285.0);  // !!! Do not use : Probably wrong !!!
0043     innerZ_.push_back(388.0);
0044     outerZ_.push_back(560.0);
0045 
0046     // HO Barrel
0047     innerRadius_.push_back(387.6);
0048     outerRadius_.push_back(410.2);
0049     innerZ_.push_back(0.);
0050     outerZ_.push_back(700.25);
0051 
0052     // Define reference surfaces
0053     tanTh_.push_back(innerRadius_[BeamPipe] / outerZ_[BeamPipe]);
0054     tanTh_.push_back(outerRadius_[PS1] / outerZ_[PS1]);
0055     tanTh_.push_back(outerRadius_[PS2] / outerZ_[PS2]);
0056     tanTh_.push_back(innerRadius_[ECALBarrel] / innerZ_[ECALEndcap]);
0057     tanTh_.push_back(innerRadius_[HCALBarrel] / innerZ_[HCALEndcap]);
0058     tanTh_.push_back(outerRadius_[HCALBarrel] / outerZ_[HCALEndcap]);
0059   }
0060 }