...
type | name | description | default | ||
---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f24b564a-a15c-44ac-a54f-c99d0d9be5d5"><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="3f8a81db-eca9-4110-b956-4a50475eff71"><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="eca70b84-d85a-45e7-909f-2e4ad8117234"><ac:plain-text-body><![CDATA[ | String | folder | Folder name for plots | Clusterlist[0] | ]]></ac:plain-text-body></ac:structured-macro> |
processEvent
- 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.
- Create the ClusterAnalysis lists.
- Analyse the event.
- setAnalyzer(ClusterAnalysis class): replace the default analysis package
CreateClusterAnalysisLists
Wiki Markup |
---|
String\[\] Clusterlist names in event |
String[] Clusterlist names in event
String[] Hit collection names in String\[\] Hit collection names in event Wiki Markup
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
List<Cluster> getClusters()
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 Wiki Markup
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()
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
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()
Return an array of MCParticles contributing to this cluster MCParticle\[\] getFragments()
  Wiki Markup
Return an array of MCParticles contributing to this cluster
MCParticle[] getFragments()
Return an array of MCParticles contributing to this cluster having a different maximum ; 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
MCParticle\[\] getPrimaries()
Return an array of MCParticles having this cluster as their maximum Wiki Markup
Return an array of MCParticles having this cluster as their maximum cluster