Implementation: The alignment objects are filled with fixed alignments.
Definition at line 55 of file FakeCaloAlignmentEP.cc.
typedef boost::shared_ptr<Alignments> FakeCaloAlignmentEP::ReturnAli |
Definition at line 59 of file FakeCaloAlignmentEP.cc.
typedef boost::shared_ptr<AlignmentErrors> FakeCaloAlignmentEP::ReturnAliErr |
Definition at line 60 of file FakeCaloAlignmentEP.cc.
Definition at line 63 of file FakeCaloAlignmentEP.cc.
Definition at line 62 of file FakeCaloAlignmentEP.cc.
FakeCaloAlignmentEP::FakeCaloAlignmentEP | ( | const edm::ParameterSet & | ) | [inline] |
Definition at line 65 of file FakeCaloAlignmentEP.cc.
References produceEBAli(), produceEBAliErr(), produceEEAli(), produceEEAliErr(), produceESAli(), produceESAliErr(), produceHBAli(), produceHBAliErr(), produceHEAli(), produceHEAliErr(), produceHFAli(), produceHFAliErr(), produceHOAli(), produceHOAliErr(), and edm::ESProducer::setWhatProduced().
00066 { 00067 setWhatProduced( this, &FakeCaloAlignmentEP::produceEBAli ) ; 00068 setWhatProduced( this, &FakeCaloAlignmentEP::produceEBAliErr ) ; 00069 setWhatProduced( this, &FakeCaloAlignmentEP::produceEEAli ) ; 00070 setWhatProduced( this, &FakeCaloAlignmentEP::produceEEAliErr ) ; 00071 setWhatProduced( this, &FakeCaloAlignmentEP::produceESAli ) ; 00072 setWhatProduced( this, &FakeCaloAlignmentEP::produceESAliErr ) ; 00073 setWhatProduced( this, &FakeCaloAlignmentEP::produceHBAli ) ; 00074 setWhatProduced( this, &FakeCaloAlignmentEP::produceHBAliErr ) ; 00075 setWhatProduced( this, &FakeCaloAlignmentEP::produceHEAli ) ; 00076 setWhatProduced( this, &FakeCaloAlignmentEP::produceHEAliErr ) ; 00077 setWhatProduced( this, &FakeCaloAlignmentEP::produceHOAli ) ; 00078 setWhatProduced( this, &FakeCaloAlignmentEP::produceHOAliErr ) ; 00079 setWhatProduced( this, &FakeCaloAlignmentEP::produceHFAli ) ; 00080 setWhatProduced( this, &FakeCaloAlignmentEP::produceHFAliErr ) ; 00081 }
FakeCaloAlignmentEP::~FakeCaloAlignmentEP | ( | ) | [inline] |
ReturnAli FakeCaloAlignmentEP::produceEBAli | ( | const EBAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 87 of file FakeCaloAlignmentEP.cc.
References i, id, EcalBarrelGeometry::numberOfAlignments(), and EBDetId::SMCRYSTALMODE.
Referenced by FakeCaloAlignmentEP().
00088 { 00089 ReturnAli ali ( new Alignments ) ; 00090 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00091 const unsigned int nA ( EcalBarrelGeometry::numberOfAlignments() ) ; 00092 vtr.reserve( nA ) ; 00093 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00094 { 00095 const EBDetId id ( i+1, 1, EBDetId::SMCRYSTALMODE ) ; // numbered by SM 00096 vtr.push_back( AlignTransform( ( 1==id.ism() ? Trl( 0, 0, 0 ) : //-0.3 ) : 00097 Trl(0,0,0) ) , 00098 Rot(), 00099 id ) ) ; 00100 } 00101 return ali ; 00102 }
ReturnAliErr FakeCaloAlignmentEP::produceEBAliErr | ( | const EBAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 104 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00105 { 00106 ReturnAliErr aliErr ( new AlignmentErrors ); 00107 return aliErr ; 00108 }
ReturnAli FakeCaloAlignmentEP::produceEEAli | ( | const EEAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 111 of file FakeCaloAlignmentEP.cc.
References i, id, and EcalEndcapGeometry::numberOfAlignments().
Referenced by FakeCaloAlignmentEP().
00112 { 00113 ReturnAli ali ( new Alignments ) ; 00114 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00115 const unsigned int nA ( EcalEndcapGeometry::numberOfAlignments() ) ; 00116 vtr.reserve( nA ) ; 00117 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00118 { 00119 const EEDetId id ( (i%2)==0 ? 1 : 100, 50, (i<2?-1:1) ) ; // numbered by Dee 00120 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00121 Rot(), 00122 id ) ) ; 00123 } 00124 return ali ; 00125 }
ReturnAliErr FakeCaloAlignmentEP::produceEEAliErr | ( | const EEAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 127 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00128 { 00129 ReturnAliErr aliErr ( new AlignmentErrors ); 00130 return aliErr ; 00131 }
ReturnAli FakeCaloAlignmentEP::produceESAli | ( | const ESAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 134 of file FakeCaloAlignmentEP.cc.
References i, id, and EcalPreshowerGeometry::numberOfAlignments().
Referenced by FakeCaloAlignmentEP().
00135 { 00136 ReturnAli ali ( new Alignments ) ; 00137 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00138 const unsigned int nA ( EcalPreshowerGeometry::numberOfAlignments() ) ; 00139 vtr.reserve( nA ) ; 00140 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00141 { 00142 const ESDetId id ; 00143 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00144 Rot(), 00145 id ) ) ; 00146 } 00147 return ali ; 00148 }
ReturnAliErr FakeCaloAlignmentEP::produceESAliErr | ( | const ESAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 150 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00151 { 00152 ReturnAliErr aliErr ( new AlignmentErrors ); 00153 return aliErr ; 00154 }
ReturnAli FakeCaloAlignmentEP::produceHBAli | ( | const HBAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 157 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00158 { 00159 ReturnAli ali ( new Alignments ) ; 00160 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00161 const unsigned int nA ( 10 ) ; 00162 vtr.reserve( nA ) ; 00163 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00164 { 00165 const HcalDetId id ; 00166 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00167 Rot(), 00168 id ) ) ; 00169 } 00170 return ali ; 00171 }
ReturnAliErr FakeCaloAlignmentEP::produceHBAliErr | ( | const HBAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 173 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00174 { 00175 ReturnAliErr aliErr ( new AlignmentErrors ); 00176 return aliErr ; 00177 }
ReturnAli FakeCaloAlignmentEP::produceHEAli | ( | const HEAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 180 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00181 { 00182 ReturnAli ali ( new Alignments ) ; 00183 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00184 const unsigned int nA ( 10 ) ; 00185 vtr.reserve( nA ) ; 00186 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00187 { 00188 const HcalDetId id ; 00189 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00190 Rot(), 00191 id ) ) ; 00192 } 00193 return ali ; 00194 }
ReturnAliErr FakeCaloAlignmentEP::produceHEAliErr | ( | const HEAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 196 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00197 { 00198 ReturnAliErr aliErr ( new AlignmentErrors ); 00199 return aliErr ; 00200 }
ReturnAli FakeCaloAlignmentEP::produceHFAli | ( | const HFAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 226 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00227 { 00228 ReturnAli ali ( new Alignments ) ; 00229 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00230 const unsigned int nA ( 10 ) ; 00231 vtr.reserve( nA ) ; 00232 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00233 { 00234 const HcalDetId id ; 00235 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00236 Rot(), 00237 id ) ) ; 00238 } 00239 return ali ; 00240 }
ReturnAliErr FakeCaloAlignmentEP::produceHFAliErr | ( | const HFAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 242 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00243 { 00244 ReturnAliErr aliErr ( new AlignmentErrors ); 00245 return aliErr ; 00246 }
ReturnAli FakeCaloAlignmentEP::produceHOAli | ( | const HOAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 203 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00204 { 00205 ReturnAli ali ( new Alignments ) ; 00206 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00207 const unsigned int nA ( 10 ) ; 00208 vtr.reserve( nA ) ; 00209 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00210 { 00211 const HcalDetId id ; 00212 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00213 Rot(), 00214 id ) ) ; 00215 } 00216 return ali ; 00217 }
ReturnAliErr FakeCaloAlignmentEP::produceHOAliErr | ( | const HOAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 219 of file FakeCaloAlignmentEP.cc.
Referenced by FakeCaloAlignmentEP().
00220 { 00221 ReturnAliErr aliErr ( new AlignmentErrors ); 00222 return aliErr ; 00223 }
ReturnAli FakeCaloAlignmentEP::produceZDCAli | ( | const ZDCAlignmentRcd & | iRecord | ) | [inline] |
Definition at line 249 of file FakeCaloAlignmentEP.cc.
00250 { 00251 ReturnAli ali ( new Alignments ) ; 00252 std::vector<AlignTransform>& vtr ( ali->m_align ) ; 00253 const unsigned int nA ( 10 ) ; 00254 vtr.reserve( nA ) ; 00255 for( unsigned int i ( 0 ) ; i != nA ; ++i ) 00256 { 00257 const HcalZDCDetId id ; 00258 vtr.push_back( AlignTransform( Trl( 0, 0, 0 ), 00259 Rot(), 00260 id ) ) ; 00261 } 00262 return ali ; 00263 }
ReturnAliErr FakeCaloAlignmentEP::produceZDCAliErr | ( | const ZDCAlignmentErrorRcd & | iRecord | ) | [inline] |
Definition at line 265 of file FakeCaloAlignmentEP.cc.
00266 { 00267 ReturnAliErr aliErr ( new AlignmentErrors ); 00268 return aliErr ; 00269 }