1 #ifndef Validation_EcalClusters_ContainmentCorrectionAnalyzer_h 2 #define Validation_EcalClusters_ContainmentCorrectionAnalyzer_h 35 #include "CLHEP/Units/GlobalPhysicalConstants.h" 58 float ecalEta(
float EtaParticle,
float Zvertex,
float plane_Radius);
59 std::vector<EcalSimPhotonMCTruth>
findMcTruth(std::vector<SimTrack> &theSimTracks,
60 std::vector<SimVertex> &theSimVertices);
61 void fillMcTruth(std::vector<SimTrack> &theSimTracks, std::vector<SimVertex> &theSimVertices);
std::vector< float > mcEnergy
std::vector< EcalSimPhotonMCTruth > findMcTruth(std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices)
std::vector< float > x_vtx
edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollection_
std::vector< float > y_vtx
std::map< unsigned, unsigned > geantToIndex_
std::vector< int > isConverted
std::vector< float > z_vtx
edm::EDGetTokenT< edm::SimTrackContainer > SimTrackCollection_
std::vector< float > mcPt
TH1F * h_EE_e9EtrueReference
std::vector< float > superClusterPhi
TH1F * h_EB_eRecoEtrueReference
std::vector< float > superClusterEnergy
std::vector< float > superClusterEta
edm::EDGetTokenT< reco::SuperClusterCollection > BarrelSuperClusterCollection_
float ecalEta(float EtaParticle, float Zvertex, float plane_Radius)
~ContainmentCorrectionAnalyzer() override
edm::EDGetTokenT< edm::SimVertexContainer > SimVertexCollection_
TH1F * h_EE_e25EtrueReference
std::vector< float > mcEta
edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollection_
std::vector< float > superClusterEt
TH1F * h_EE_eRecoEtrueReference
TH1F * h_EB_e25EtrueReference
std::vector< float > mcPhi
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< int > seedXtal
edm::EDGetTokenT< reco::SuperClusterCollection > EndcapSuperClusterCollection_
TH1F * h_EB_e9EtrueReference
ContainmentCorrectionAnalyzer(const edm::ParameterSet &)
void fillMcTruth(std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices)