Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

type

name

description

default

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3994d1d2-0c0e-422a-912e-497ee3826eab"><ac:plain-text-body><![CDATA[

String[]

Clusterlist

names in event

none]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fc8dbf50-0c41-4498-bf9f-90c3863fd4e8"><ac:plain-text-body><![CDATA[

String[]

Hit

collection names in event

EcalBarrHits,EcalEndcapHits,HcalBarrHits,HcalEndcapHits

]]></ac:plain-text-body></ac:structured-macro>

String

fsList

Final state particle list in event

SimFinalStateParticles

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e594600b-0159-4a2c-8846-10c8e952990a"><ac:plain-text-body><![CDATA[

String

folder

Folder name for plots

Clusterlist[0]

]]></ac:plain-text-body></ac:structured-macro>

processEvent

  1. On first event, look for final state particle list. If it is in event, assume it will be in every event. If not, make the list and assume it needs to be created for each event.
  2. Create the ClusterAnalysis lists.
  3. Analyse the event.
    • setAnalyzer(ClusterAnalysis class): replace the default analysis package

CreateClusterAnalysisLists

Wiki Markup
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String\[\] Clusterlist names in event

      String[] Clusterlist names in event

      String[] Hit collection names in Wiki Markup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String\[\] Hit collection names in event

      String Final state particle list in event

...

void AddCluster(Cluster c)
   Add a cluster this particle contributes to
void AddUnclusteredHit(SimCalorimeterHit h)
   Add an unclustered hit this particle contributes to

Wiki MarkupList<Cluster> getClusters() &nbsp;&nbsp; Return a list of clusters to which this particle contributes double\[\] getEcorrectedContribution() &nbsp;&nbsp; Return an array of corrected energy contributions of this particle to the list of clusters double\[\] getErawContribution() &nbsp;&nbsp; Return an array of raw energy contributions of this particle to the list of
   Return a list of clusters to which this particle contributes
double[] getEcorrectedContribution()
   Return an array of corrected energy contributions of this particle to the list of clusters
double[] getErawContribution()
   Return an array of raw energy contributions of this particle to the list of clusters

Cluster getMaxCluster()
   Return the cluster with the maximum energy contributed by this particle

...

double getMaxEcorrected()
   Return the corrected energy contributed by this particle to the cluster with the maximum energy contributed by this particle
double getMaxEraw()
   Return the raw energy contributed by this particle to the cluster with the maximum energy contributed by this particle
int getMaxNHits()
   Return the number of hits contributed by this particle to the cluster with the maximum energy contributed by this particleunmigrated-wiki-markup

MCParticle getMCParticle() &nbsp;&nbsp; Return the MCParticle for which the cluster information is stored int getNClusters() &nbsp;&nbsp; Return the number of clusters to which this MCParticle contributes int\[\] getNhitContribution() &nbsp;&nbsp; Return an array of number of hits contributed by this particle to the list of clusters double getTotalEcorrected() &nbsp;&nbsp; Return the total corrected energy in the CalorimeterHit collections contributed by this particle double getTotalEraw() &nbsp;&nbsp; Return the total raw energy in the CalorimeterHit collections contributed by this particle int getTotalHits() &nbsp;&nbsp; Return the total number of hits in the CalorimeterHit collections contributed by this
   Return the MCParticle for which the cluster information is stored
int getNClusters()
   Return the number of clusters to which this MCParticle contributes
int[] getNhitContribution()
   Return an array of number of hits contributed by this particle to the list of clusters
double getTotalEcorrected()
   Return the total corrected energy in the CalorimeterHit collections contributed by this particle
double getTotalEraw()
   Return the total raw energy in the CalorimeterHit collections contributed by this particle
int getTotalHits()
   Return the total number of hits in the CalorimeterHit collections contributed by this particle

List<SimCalorimeterHit> getUnclusteredHits()
   Return a list of unclustered hits contributed to by this particle
boolean isFinalState()
   Return true if the MCParticle for which the cluster information is stored is a final state particle
void setMaxCMCP(ClusterMCPInfo ci)

ClusterMCPInfo::
void FillInfo(Map<MCParticle,MCPClusterInfo> m)
   Fill in the necessary information after the MCPClusterInfo objects are filled.

Cluster getCluster()unmigrated-wiki-markup

MCParticle\[\] getContributers() &nbsp;&nbsp; Return an array of MCParticles contributing to this cluster Wiki MarkupMCParticle\[\] getFragments() &nbsp
   Return an array of MCParticles contributing to this cluster

MCParticle[] getFragments()
   Return an array of MCParticles contributing to this cluster having a different maximum ;&nbsp; Return an array of MCParticles contributing to this cluster having a different maximum cluster

MCParticle getMaxContributer()
   Return the MCParticle with the maximum contribution to this cluster
double getMaxCorrectedEnergy()
   Return the corrected energy from the MCParticle with the maximum contribution to this cluster

MCPClusterInfo getMaxMCPC()
   Return the MCPClusterInfo block for the maximum contributer
int getMaxNHits()
   Return the number of hits from the MCParticle with the maximum contribution to this cluster
double getMaxRawEnergy()
   Return the raw energy from the MCParticle with the maximum contribution to this cluster
int getNContributers()
   Return the number of MCParticles contributing to this cluster
int getNFragment()
   Return the number of MCParticles contributing to this cluster having a different maximum cluster
int getNPrimary()
   Return the number of MCParticles having this cluster as their maximum cluster

Wiki MarkupMCParticle\[\] getPrimaries() &nbsp;&nbsp; Return an array of MCParticles having this cluster as their maximum
   Return an array of MCParticles having this cluster as their maximum cluster