Go to the documentation of this file.
2 #ifndef LaserAlignment_LaserAlignment_H
3 #define LaserAlignment_LaserAlignment_H
LASGlobalData< LASModuleProfile > pedestalProfiles
void CalculateNominalCoordinates(void)
fills a LASGlobalData<LASCoordinateSet> with nominal module positions
bool theUseMinuitAlgorithm
config switch
bool theSaveHistograms
config switch
void ApplyATMaskingCorrections(LASGlobalData< LASCoordinateSet > &, LASGlobalData< LASCoordinateSet > &, LASBarrelAlignmentParameterSet &)
same for alignment tube modules
TFile * theFile
Tree stuff.
bool isTECBeam(void)
decide whether TEC or AT beams have fired
LaserAlignment(edm::ParameterSet const &theConf)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
edm::ESHandle< GeometricDet > gD
tracker geometry;
std::string theFileName
config parameter (histograms file output name)
LASGlobalData< TH1D * > summedHistograms
LASGlobalData< int > isAcceptedProfile
std::vector< unsigned int > theMaskTecModules
config parameters
void endRunProduce(edm::Run &, const edm::EventSetup &) override
LASGlobalData< std::string > theProfileNames
AlignableTracker * theAlignableTracker
~LaserAlignment() override
bool theApplyBeamKinkCorrections
config switch
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
LASGlobalData< int > numberOfAcceptedProfiles
TDirectory * singleModulesDir
std::string theAlignRecordName
bool enableJudgeZeroFilter
config switch
void DumpStripFileSet(LASGlobalData< std::pair< float, float > > &)
for debugging only, will disappear
void fillDetectorId(void)
fill hard coded detIds
void produce(edm::Event &, edm::EventSetup const &) override
const edm::ESGetToken< Alignments, GlobalPositionRcd > gprToken_
bool theSetNominalStrips
config switch
int theCompression
config parameter (histograms file compression level)
bool misalignedByRefGeometry
config switch
double getTIBTOBNominalBeamOffset(unsigned int, unsigned int, unsigned int)
returns the nominal beam position (strips) in TOB for the profileJudge
bool theStoreToDB
config switch
void testRoutine(void)
for debugging & testing only, will disappear..
void ApplyEndcapMaskingCorrections(LASGlobalData< LASCoordinateSet > &, LASGlobalData< LASCoordinateSet > &, LASEndcapAlignmentParameterSet &)
apply endcap correction to masked modules in TEC
bool updateFromInputGeometry
config switch
double peakFinderThreshold
config parameter
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > ptitpToken_
unsigned int judgeOverdriveThreshold
config parameters for the LASProfileJudge
LASGlobalData< unsigned int > detectorId
LASGlobalData< LASModuleProfile > currentDataProfiles
data profiles for the current event
void DumpHitmaps(LASGlobalData< int > &)
for debugging only, will disappear
bool theDoPedestalSubtraction
config switch
edm::ESHandle< Alignments > theGlobalPositionRcd
void DumpPosFileSet(LASGlobalData< LASCoordinateSet > &)
for debugging only, will disappear
void fillDataProfiles(edm::Event const &, edm::EventSetup const &)
fill profiles from SiStrip(Raw)Digi container
int theEvents
counter for the total number of events processed
double getTEC2TECNominalBeamOffset(unsigned int, unsigned int, unsigned int)
returns the nominal beam position (strips) in TEC (AT) for the profileJudge
const edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > stripPedestalsToken_
edm::ESHandle< TrackerGeometry > theTrackerGeometry
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
Tokens for ESconsumes.
std::vector< unsigned int > tecDoubleHitDetId
LASGlobalData< LASCoordinateSet > nominalCoordinates
std::string theErrorRecordName
void fillPedestalProfiles(edm::ESHandle< SiStripPedestals > &)
fill pedestals from dbase
double ConvertAngle(double)
convert an angle in the [-pi,pi] range to the [0,2*pi] range
std::vector< unsigned int > theMaskAtModules
std::vector< edm::ParameterSet > theDigiProducersList
LASGlobalData< LASModuleProfile > collectedDataProfiles
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > ptpToken_
LASConstants theLasConstants