![]() |
![]() |
#include <LaserAlignment.h>
Public Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual void | endRunProduce (edm::Run &, const edm::EventSetup &) override |
LaserAlignment (edm::ParameterSet const &theConf) | |
virtual void | produce (edm::Event &, edm::EventSetup const &) override |
void | testRoutine (void) |
for debugging & testing only, will disappear.. More... | |
~LaserAlignment () | |
![]() | |
EDProducer ()=default | |
![]() | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
![]() | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | ApplyATMaskingCorrections (LASGlobalData< LASCoordinateSet > &, LASGlobalData< LASCoordinateSet > &, LASBarrelAlignmentParameterSet &) |
same for alignment tube modules More... | |
void | ApplyEndcapMaskingCorrections (LASGlobalData< LASCoordinateSet > &, LASGlobalData< LASCoordinateSet > &, LASEndcapAlignmentParameterSet &) |
apply endcap correction to masked modules in TEC More... | |
void | CalculateNominalCoordinates (void) |
fills a LASGlobalData<LASCoordinateSet> with nominal module positions More... | |
double | ConvertAngle (double) |
convert an angle in the [-pi,pi] range to the [0,2*pi] range More... | |
void | DumpHitmaps (LASGlobalData< int > &) |
for debugging only, will disappear More... | |
void | DumpPosFileSet (LASGlobalData< LASCoordinateSet > &) |
for debugging only, will disappear More... | |
void | DumpStripFileSet (LASGlobalData< std::pair< float, float > > &) |
for debugging only, will disappear More... | |
void | fillDataProfiles (edm::Event const &, edm::EventSetup const &) |
fill profiles from SiStrip(Raw)Digi container More... | |
void | fillDetectorId (void) |
fill hard coded detIds More... | |
void | fillPedestalProfiles (edm::ESHandle< SiStripPedestals > &) |
fill pedestals from dbase More... | |
double | getTEC2TECNominalBeamOffset (unsigned int, unsigned int, unsigned int) |
returns the nominal beam position (strips) in TEC (AT) for the profileJudge More... | |
double | getTIBTOBNominalBeamOffset (unsigned int, unsigned int, unsigned int) |
returns the nominal beam position (strips) in TOB for the profileJudge More... | |
bool | isATBeam (void) |
bool | isTECBeam (void) |
decide whether TEC or AT beams have fired More... | |
Additional Inherited Members | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Main reconstruction module for the Laser Alignment System
Definition at line 83 of file LaserAlignment.h.
|
explicit |
Definition at line 19 of file LaserAlignment.cc.
LaserAlignment::~LaserAlignment | ( | ) |
Definition at line 111 of file LaserAlignment.cc.
|
private |
same for alignment tube modules
loop the list of alignment tube modules to be masked and apply the corrections from the "barrelParameters" to them
Definition at line 1644 of file LaserAlignment.cc.
|
private |
apply endcap correction to masked modules in TEC
loop the list of endcap modules to be masked and apply the corrections from the "endcapParameters" to them
Definition at line 1600 of file LaserAlignment.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 126 of file LaserAlignment.cc.
|
private |
fills a LASGlobalData<LASCoordinateSet> with nominal module positions
Definition at line 1359 of file LaserAlignment.cc.
|
private |
convert an angle in the [-pi,pi] range to the [0,2*pi] range
convert an angle in the [-pi,pi] range to the [0,2*pi] range
Definition at line 1446 of file LaserAlignment.cc.
|
private |
for debugging only, will disappear
Definition at line 1540 of file LaserAlignment.cc.
|
private |
for debugging only, will disappear
debug only, will disappear
Definition at line 1464 of file LaserAlignment.cc.
|
private |
for debugging only, will disappear
Definition at line 1500 of file LaserAlignment.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 967 of file LaserAlignment.cc.
|
overridevirtual |
laser hit section for trackbased interface
due to the peculiar order of beams in TkLasBeamCollection, we cannot use the LASGlobalLoop object here
Definition at line 469 of file LaserAlignment.cc.
|
private |
fill profiles from SiStrip(Raw)Digi container
fills the module profiles (LASGlobalLoop<LASModuleProfile> currentDataProfiles) from the event digi containers, distinguishing between SiStripDigi or SiStripRawDigi.
Definition at line 978 of file LaserAlignment.cc.
|
private |
fill hard coded detIds
all the detector ids for the LAS modules hard-coded
Definition at line 8 of file LaserAlignmentFillDetId.cc.
|
private |
fill pedestals from dbase
This function fills the pedestal profiles (LASGlobalData<LASModuleProfiles> pedestalProfiles) from the ESHandle (from file or DB)
Argument: readily connected SiStripPedestals object (get() alredy called) The functionality inside the loops is basically taken from: CommonTools/SiStripZeroSuppression/src/SiStripPedestalsSubtractor.cc
Definition at line 1194 of file LaserAlignment.cc.
|
private |
returns the nominal beam position (strips) in TEC (AT) for the profileJudge
not all TEC-AT modules are hit in the center; this func returns the nominal beam offset locally on a module (in strips) for the ProfileJudge and the LASPeakFinder in strips. (offset = middle of module - nominal position)
the hard coded numbers will later be supplied by a special geometry class..
Definition at line 1339 of file LaserAlignment.cc.
|
private |
returns the nominal beam position (strips) in TOB for the profileJudge
not all TIB & TOB modules are hit in the center; this func returns the nominal beam offset locally on a module (in strips) for the ProfileJudge and the LASPeakFinder in strips. (offset = middle of module - nominal position)
the hard coded numbers will later be supplied by a special geometry class..
Definition at line 1304 of file LaserAlignment.cc.
|
private |
count useable profiles in TIBTOB, operates on LASGlobalData<bool> LaserAlignment::isAcceptedProfile to allow for more elaborate patterns in the future
Definition at line 1275 of file LaserAlignment.cc.
|
private |
decide whether TEC or AT beams have fired
count useable profiles in TEC, operates on LASGlobalData<int> LaserAlignment::isAcceptedProfile to allow for more elaborate patterns in the future
Definition at line 1244 of file LaserAlignment.cc.
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 263 of file LaserAlignment.cc.
Referenced by JSONExport.JsonExport::export().
void LaserAlignment::testRoutine | ( | void | ) |
for debugging & testing only, will disappear..
this function is for debugging and testing only and will disappear..
Definition at line 1713 of file LaserAlignment.cc.
|
private |
Definition at line 209 of file LaserAlignment.h.
|
private |
data profiles for the current event
Definition at line 206 of file LaserAlignment.h.
|
private |
Definition at line 197 of file LaserAlignment.h.
|
private |
config switch
Definition at line 156 of file LaserAlignment.h.
|
private |
Definition at line 246 of file LaserAlignment.h.
|
private |
tracker geometry;
Definition at line 237 of file LaserAlignment.h.
|
private |
Definition at line 219 of file LaserAlignment.h.
|
private |
Definition at line 191 of file LaserAlignment.h.
|
private |
config parameters for the LASProfileJudge
Definition at line 159 of file LaserAlignment.h.
|
private |
config switch
Definition at line 165 of file LaserAlignment.h.
|
private |
Definition at line 230 of file LaserAlignment.h.
|
private |
Definition at line 226 of file LaserAlignment.h.
|
private |
Definition at line 215 of file LaserAlignment.h.
|
private |
config parameter
Definition at line 153 of file LaserAlignment.h.
|
private |
Definition at line 203 of file LaserAlignment.h.
|
private |
Definition at line 234 of file LaserAlignment.h.
|
private |
Definition at line 223 of file LaserAlignment.h.
|
private |
Definition at line 200 of file LaserAlignment.h.
|
private |
Definition at line 242 of file LaserAlignment.h.
|
private |
Definition at line 244 of file LaserAlignment.h.
|
private |
config switch
Definition at line 150 of file LaserAlignment.h.
|
private |
config parameter (histograms file compression level)
Definition at line 177 of file LaserAlignment.h.
|
private |
Definition at line 171 of file LaserAlignment.h.
|
private |
config switch
Definition at line 144 of file LaserAlignment.h.
|
private |
Definition at line 244 of file LaserAlignment.h.
|
private |
counter for the total number of events processed
Definition at line 141 of file LaserAlignment.h.
|
private |
Tree stuff.
Definition at line 233 of file LaserAlignment.h.
|
private |
config parameter (histograms file output name)
Definition at line 180 of file LaserAlignment.h.
|
private |
Definition at line 239 of file LaserAlignment.h.
|
private |
Definition at line 194 of file LaserAlignment.h.
|
private |
Definition at line 184 of file LaserAlignment.h.
|
private |
config parameters
Definition at line 183 of file LaserAlignment.h.
|
private |
Definition at line 212 of file LaserAlignment.h.
|
private |
config switch
Definition at line 174 of file LaserAlignment.h.
|
private |
config switch
Definition at line 187 of file LaserAlignment.h.
|
private |
config switch
Definition at line 168 of file LaserAlignment.h.
|
private |
Definition at line 238 of file LaserAlignment.h.
|
private |
config switch
Definition at line 147 of file LaserAlignment.h.
|
private |
config switch
Definition at line 162 of file LaserAlignment.h.