Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTPPS: directory rename Totem -> CTPPS (back-port of #15311) #15317

Merged
merged 11 commits into from Aug 9, 2016
Expand Up @@ -7,10 +7,10 @@
*
****************************************************************************/

#ifndef CondFormats_TotemReadoutObjects_TotemAnalysisMask
#define CondFormats_TotemReadoutObjects_TotemAnalysisMask
#ifndef CondFormats_CTPPSReadoutObjects_TotemAnalysisMask
#define CondFormats_CTPPSReadoutObjects_TotemAnalysisMask

#include "CondFormats/TotemReadoutObjects/interface/TotemSymbId.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemSymbId.h"

#include <set>
#include <map>
Expand Down
Expand Up @@ -7,12 +7,12 @@
*
****************************************************************************/

#ifndef CondFormats_TotemReadoutObjects_TotemDAQMapping
#define CondFormats_TotemReadoutObjects_TotemDAQMapping
#ifndef CondFormats_CTPPSReadoutObjects_TotemDAQMapping
#define CondFormats_CTPPSReadoutObjects_TotemDAQMapping

#include "CondFormats/TotemReadoutObjects/interface/TotemFramePosition.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemFramePosition.h"

#include "CondFormats/TotemReadoutObjects/interface/TotemSymbId.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemSymbId.h"

#include <map>

Expand Down
Expand Up @@ -6,8 +6,8 @@
*
****************************************************************************/

#ifndef CondFormats_TotemReadoutObjects_TotemFramePosition
#define CondFormats_TotemReadoutObjects_TotemFramePosition
#ifndef CondFormats_CTPPSReadoutObjects_TotemFramePosition
#define CondFormats_CTPPSReadoutObjects_TotemFramePosition

#include <iostream>
#include <string>
Expand Down
Expand Up @@ -6,8 +6,8 @@
*
****************************************************************************/

#ifndef CondFormats_TotemReadoutObjects_TotemSymbId
#define CondFormats_TotemReadoutObjects_TotemSymbId
#ifndef CondFormats_CTPPSReadoutObjects_TotemSymbId
#define CondFormats_CTPPSReadoutObjects_TotemSymbId

#include <iostream>

Expand Down
@@ -1,7 +1,7 @@
<library name="CondFormatsTotemReadoutObjectsPlugins" file="*.cc">
<library name="CondFormatsCTPPSReadoutObjectsPlugins" file="*.cc">
<flags EDM_PLUGIN="1"/>
<use name="FWCore/Framework"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/TotemReadoutObjects"/>
<use name="CondFormats/CTPPSReadoutObjects"/>
<use name="xerces-c"/>
</library>
Expand Up @@ -14,8 +14,8 @@
#include "FWCore/Framework/interface/ESHandle.h"

#include "CondFormats/DataRecord/interface/TotemReadoutRcd.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemAnalysisMask.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemAnalysisMask.h"

//----------------------------------------------------------------------------------------------------

Expand Down
Expand Up @@ -20,9 +20,9 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "CondFormats/DataRecord/interface/TotemReadoutRcd.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemAnalysisMask.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemFramePosition.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemAnalysisMask.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemFramePosition.h"

#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOM.hpp>
Expand Down
Expand Up @@ -9,7 +9,7 @@

#include "FWCore/Utilities/interface/typelookup.h"

#include "CondFormats/TotemReadoutObjects/interface/TotemAnalysisMask.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemAnalysisMask.h"

//----------------------------------------------------------------------------------------------------

Expand Down
Expand Up @@ -8,7 +8,7 @@

#include "FWCore/Utilities/interface/typelookup.h"

#include "CondFormats/TotemReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemDAQMapping.h"

using namespace std;

Expand Down
Expand Up @@ -6,7 +6,7 @@
*
****************************************************************************/

#include "CondFormats/TotemReadoutObjects/interface/TotemFramePosition.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemFramePosition.h"

#include <iomanip>
#include <cstdlib>
Expand Down
Expand Up @@ -6,7 +6,7 @@
*
****************************************************************************/

#include "CondFormats/TotemReadoutObjects/interface/TotemSymbId.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemSymbId.h"

std::ostream& operator << (std::ostream& s, const TotemSymbID &sid)
{
Expand Down
2 changes: 1 addition & 1 deletion Configuration/StandardSequences/python/RawToDigi_cff.py
Expand Up @@ -40,7 +40,7 @@
tcdsDigis = EventFilter.Utilities.tcdsRawToDigi_cfi.tcdsRawToDigi.clone()

from L1Trigger.Configuration.L1TRawToDigi_cff import *
from EventFilter.TotemRawToDigi.totemRawToDigi_cff import *
from EventFilter.CTPPSRawToDigi.totemRawToDigi_cff import *

RawToDigi = cms.Sequence(L1TRawToDigi
+siPixelDigis
Expand Down
4 changes: 2 additions & 2 deletions DQM/CTPPS/plugins/BuildFile.xml
Expand Up @@ -8,8 +8,8 @@
<use name="DQMServices/Core"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/TotemRPDetId"/>
<use name="DataFormats/TotemDigi"/>
<use name="DataFormats/CTPPSDetId"/>
<use name="DataFormats/CTPPSDigi"/>
<use name="DataFormats/CTPPSReco"/>

<use name="Geometry/Records"/>
Expand Down
4 changes: 2 additions & 2 deletions DQM/CTPPS/plugins/TotemDAQTriggerDQMSource.cc
Expand Up @@ -18,8 +18,8 @@
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"

#include "DataFormats/TotemDigi/interface/TotemFEDInfo.h"
#include "DataFormats/TotemDigi/interface/TotemTriggerCounters.h"
#include "DataFormats/CTPPSDigi/interface/TotemFEDInfo.h"
#include "DataFormats/CTPPSDigi/interface/TotemTriggerCounters.h"

#include <string>

Expand Down
2 changes: 1 addition & 1 deletion DQM/CTPPS/plugins/TotemRPDQMHarvester.cc
Expand Up @@ -14,7 +14,7 @@
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"

#include "DataFormats/TotemRPDetId/interface/TotemRPDetId.h"
#include "DataFormats/CTPPSDetId/interface/TotemRPDetId.h"

//----------------------------------------------------------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions DQM/CTPPS/plugins/TotemRPDQMSource.cc
Expand Up @@ -19,9 +19,9 @@
#include "DQMServices/Core/interface/MonitorElement.h"

#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/TotemRPDetId/interface/TotemRPDetId.h"
#include "DataFormats/TotemDigi/interface/TotemRPDigi.h"
#include "DataFormats/TotemDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSDetId/interface/TotemRPDetId.h"
#include "DataFormats/CTPPSDigi/interface/TotemRPDigi.h"
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSReco/interface/TotemRPCluster.h"
#include "DataFormats/CTPPSReco/interface/TotemRPRecHit.h"
#include "DataFormats/CTPPSReco/interface/TotemRPUVPattern.h"
Expand Down
2 changes: 1 addition & 1 deletion DQM/CTPPS/test/dqm_test_cfg.py
Expand Up @@ -28,7 +28,7 @@
)

# raw-to-digi conversion
process.load("EventFilter.TotemRawToDigi.totemRawToDigi_cff")
process.load("EventFilter.CTPPSRawToDigi.totemRawToDigi_cff")

# local RP reconstruction chain with standard settings
process.load("RecoCTPPS.Configuration.recoCTPPS_cff")
Expand Down
Expand Up @@ -36,7 +36,7 @@
process.load("DQM.Integration.config.FrontierCondition_GT_cfi")

# raw-to-digi conversion
process.load("EventFilter.TotemRawToDigi.totemRawToDigi_cff")
process.load("EventFilter.CTPPSRawToDigi.totemRawToDigi_cff")

# local RP reconstruction chain with standard settings
process.load("RecoCTPPS.Configuration.recoCTPPS_cff")
Expand Down
Expand Up @@ -7,8 +7,8 @@
*
****************************************************************************/

#ifndef DataFormats_TotemRPDetId_TotemRPDetId
#define DataFormats_TotemRPDetId_TotemRPDetId
#ifndef DataFormats_CTPPSDetId_CTPPSDetId
#define DataFormats_CTPPSDetId_CTPPSDetId

#include "DataFormats/DetId/interface/DetId.h"

Expand Down
Expand Up @@ -8,7 +8,7 @@
****************************************************************************/


#include "DataFormats/TotemRPDetId/interface/TotemRPDetId.h"
#include "DataFormats/CTPPSDetId/interface/TotemRPDetId.h"
#include "FWCore/Utilities/interface/Exception.h"

using namespace std;
Expand Down
@@ -1,4 +1,4 @@
#include "DataFormats/TotemRPDetId/interface/TotemRPDetId.h"
#include "DataFormats/CTPPSDetId/interface/TotemRPDetId.h"

namespace DataFormats_TotemRPDetId {
struct dictionary {
Expand Down
Expand Up @@ -6,8 +6,8 @@
*
****************************************************************************/

#ifndef DataFormats_TotemDigi_TotemFEDInfo
#define DataFormats_TotemDigi_TotemFEDInfo
#ifndef DataFormats_CTPPSDigi_TotemFEDInfo
#define DataFormats_CTPPSDigi_TotemFEDInfo

/**
* \brief OptoRx headers and footers.
Expand Down
Expand Up @@ -7,8 +7,8 @@
*
****************************************************************************/

#ifndef DataFormats_TotemDigi_TotemRPDigi
#define DataFormats_TotemDigi_TotemRPDigi
#ifndef DataFormats_CTPPSDigi_TotemRPDigi
#define DataFormats_CTPPSDigi_TotemRPDigi

/**
* Digi structure for TOTEM RP silicon strip sensors.
Expand Down
Expand Up @@ -6,8 +6,8 @@
*
****************************************************************************/

#ifndef DataFormats_TotemDigi_TotemTriggerCounters
#define DataFormats_TotemDigi_TotemTriggerCounters
#ifndef DataFormats_CTPPSDigi_TotemTriggerCounters
#define DataFormats_CTPPSDigi_TotemTriggerCounters

/**
* Trigger counters from LoneG.
Expand Down
Expand Up @@ -7,8 +7,8 @@
*
****************************************************************************/

#ifndef DataFormats_TotemDigi_TotemVFATStatus
#define DataFormats_TotemDigi_TotemVFATStatus
#ifndef DataFormats_CTPPSDigi_TotemVFATStatus
#define DataFormats_CTPPSDigi_TotemVFATStatus

#include <bitset>
#include <map>
Expand Down
Expand Up @@ -7,7 +7,7 @@
*
****************************************************************************/

#include "DataFormats/TotemDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"

#include <ostream>

Expand Down
Expand Up @@ -10,10 +10,10 @@
#include "DataFormats/Common/interface/DetSet.h"
#include "DataFormats/Common/interface/DetSetVector.h"

#include "DataFormats/TotemDigi/interface/TotemRPDigi.h"
#include "DataFormats/TotemDigi/interface/TotemTriggerCounters.h"
#include "DataFormats/TotemDigi/interface/TotemVFATStatus.h"
#include "DataFormats/TotemDigi/interface/TotemFEDInfo.h"
#include "DataFormats/CTPPSDigi/interface/TotemRPDigi.h"
#include "DataFormats/CTPPSDigi/interface/TotemTriggerCounters.h"
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSDigi/interface/TotemFEDInfo.h"

#include <vector>

Expand Down
Expand Up @@ -5,10 +5,10 @@
<use name="DataFormats/FEDRawData"/>
<use name="DataFormats/Common"/>

<use name="DataFormats/TotemDigi"/>
<use name="DataFormats/TotemRPDetId"/>
<use name="DataFormats/CTPPSDigi"/>
<use name="DataFormats/CTPPSDetId"/>

<use name="CondFormats/TotemReadoutObjects"/>
<use name="CondFormats/CTPPSReadoutObjects"/>

<export>
<lib name="1"/>
Expand Down
Expand Up @@ -7,17 +7,17 @@
*
****************************************************************************/

#ifndef EventFilter_TotemRawToDigi_CounterChecker
#define EventFilter_TotemRawToDigi_CounterChecker
#ifndef EventFilter_CTPPSRawToDigi_CounterChecker
#define EventFilter_CTPPSRawToDigi_CounterChecker

#include <map>
#include <string>
#include <vector>
#include <iostream>

#include "CondFormats/TotemReadoutObjects/interface/TotemFramePosition.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemFramePosition.h"

#include "DataFormats/TotemDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"

//----------------------------------------------------------------------------------------------------

Expand Down
Expand Up @@ -6,16 +6,16 @@
*
****************************************************************************/

#ifndef EventFilter_TotemRawToDigi_RawDataUnpacker
#define EventFilter_TotemRawToDigi_RawDataUnpacker
#ifndef EventFilter_CTPPSRawToDigi_RawDataUnpacker
#define EventFilter_CTPPSRawToDigi_RawDataUnpacker

#include "FWCore/ParameterSet/interface/ParameterSet.h"

#include "DataFormats/FEDRawData/interface/FEDRawData.h"
#include "DataFormats/TotemDigi/interface/TotemFEDInfo.h"
#include "DataFormats/CTPPSDigi/interface/TotemFEDInfo.h"

#include "EventFilter/TotemRawToDigi/interface/VFATFrameCollection.h"
#include "EventFilter/TotemRawToDigi/interface/SimpleVFATFrameCollection.h"
#include "EventFilter/CTPPSRawToDigi/interface/VFATFrameCollection.h"
#include "EventFilter/CTPPSRawToDigi/interface/SimpleVFATFrameCollection.h"

//----------------------------------------------------------------------------------------------------

Expand Down
Expand Up @@ -6,19 +6,19 @@
*
****************************************************************************/

#ifndef EventFilter_TotemRawToDigi_RawToDigiConverter
#define EventFilter_TotemRawToDigi_RawToDigiConverter
#ifndef EventFilter_CTPPSRawToDigi_RawToDigiConverter
#define EventFilter_CTPPSRawToDigi_RawToDigiConverter

#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/Common/interface/DetSetVector.h"

#include "EventFilter/TotemRawToDigi/interface/VFATFrameCollection.h"
#include "EventFilter/CTPPSRawToDigi/interface/VFATFrameCollection.h"

#include "CondFormats/TotemReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/TotemReadoutObjects/interface/TotemAnalysisMask.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemDAQMapping.h"
#include "CondFormats/CTPPSReadoutObjects/interface/TotemAnalysisMask.h"

#include "DataFormats/TotemDigi/interface/TotemRPDigi.h"
#include "DataFormats/TotemDigi/interface/TotemVFATStatus.h"
#include "DataFormats/CTPPSDigi/interface/TotemRPDigi.h"
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"

//----------------------------------------------------------------------------------------------------

Expand Down
Expand Up @@ -8,10 +8,10 @@
****************************************************************************/


#ifndef EventFilter_TotemRawToDigi_SimpleVFATFrameCollection
#define EventFilter_TotemRawToDigi_SimpleVFATFrameCollection
#ifndef EventFilter_CTPPSRawToDigi_SimpleVFATFrameCollection
#define EventFilter_CTPPSRawToDigi_SimpleVFATFrameCollection

#include "EventFilter/TotemRawToDigi/interface/VFATFrameCollection.h"
#include "EventFilter/CTPPSRawToDigi/interface/VFATFrameCollection.h"

#include <map>

Expand Down
Expand Up @@ -6,8 +6,8 @@
*
**********************************************************/

#ifndef EventFilter_TotemRawToDigi_VFATFrame
#define EventFilter_TotemRawToDigi_VFATFrame
#ifndef EventFilter_CTPPSRawToDigi_VFATFrame
#define EventFilter_CTPPSRawToDigi_VFATFrame

#include <vector>
#include <cstddef>
Expand Down